/* =========================
   FoodSync Shop
   Review / status / promo / categories / cards / product modal / sticky cart
========================= */

/* =========================
   Review bar
========================= */
.fs-review-wrap{
  width:100%;
  border-bottom:1px solid var(--fs-border);
  background:#fff;
}

.fs-review{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
}

.fs-review-left{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.fs-review-img{
  height:35px;
  width:auto;
  display:block;
}

.fs-product-card{
  will-change:transform;
}

.fs-product-card img{
  will-change:transform;
  transform-origin:center center;
}

.fs-review-stars{
  display:flex;
  align-items:center;
  gap:2px;
  color:var(--fs-star);
  font-size:18px;
  line-height:1;
  letter-spacing:.02em;
}

.fs-review-text{
  color:rgba(18,18,18,.78);
  font-weight:700;
  font-size:13px;
}

.fs-review-text strong{
  color:rgba(18,18,18,.92);
  font-weight:900;
}

/* =========================
   Status pills
========================= */
.fs-top-status{
  display:flex;
  align-items:stretch;
  gap:10px;
  flex:0 0 auto;
}

.fs-status-pill{
  border:1px solid rgba(17,24,39,.18);
  background:#fff;
  border-radius:12px;
  padding:10px 12px;
  min-width:220px;
  box-shadow:var(--fs-shadow-soft);
}

.fs-status-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-weight:900;
  font-size:13px;
  color:#121212;
  line-height:1.1;
}

.fs-status-store{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:160px;
}

.fs-status-type{
  font-weight:900;
  opacity:.9;
  white-space:nowrap;
}

.fs-status-sub{
  margin-top:6px;
  display:flex;
  align-items:center;
  gap:8px;
  color:rgba(18,18,18,.78);
  font-weight:800;
  font-size:13px;
  line-height:1.1;
}

.fs-status-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  flex:0 0 10px;
  background:#9ca3af;
}

.fs-status-dot.is-open{ background:#22c55e; }
.fs-status-dot.is-closed{ background:#ef4444; }
.fs-status-dot.is-unknown{ background:#9ca3af; }

/* =========================
   Notice / promo
========================= */
.fs-notice{
  border-radius:12px !important;
  padding:12px 14px;
  background:rgba(247,40,40,.08);
  border:1px solid rgba(247,40,40,.18);
  color:rgba(18,18,18,.86);
  font-weight:700;
  margin:8px 0 14px;
}

.fs-promo{
  border:1px solid var(--fs-border);
  border-radius:12px !important;
  background:#fff;
  box-shadow:var(--fs-shadow-soft);
  padding:14px;
  margin:0 0 18px;
}

.fs-promo-tabs{
  display:flex;
  gap:8px;
  overflow:auto;
  padding-bottom:8px;
}

.fs-promo-tab{
  border:1px solid var(--fs-border);
  background:#fff;
  border-radius:8px !important;
  padding:10px 12px;
  font-weight:800;
  font-size:13px;
  cursor:pointer;
  white-space:nowrap;
  transition:
    transform .18s var(--fs-ease),
    box-shadow .18s var(--fs-ease),
    background-color .18s var(--fs-ease),
    border-color .18s var(--fs-ease);
}

.fs-promo-tab:hover{
  transform:translateY(-1px);
  box-shadow:var(--fs-shadow-soft);
}

.fs-promo-tab.is-active{
  border-color:rgba(247,40,40,.25);
  background:rgba(247,40,40,.08);
}

.fs-promo-panels{ margin-top:10px; }
.fs-promo-panel{ display:none; }
.fs-promo-panel.is-active{ display:block; }

.fs-promo-img{
  width:100%;
  height:auto;
  border-radius:10px !important;
  display:block;
}

.fs-promo-text strong{
  display:block;
  font-size:16px;
  margin-bottom:6px;
}

/* =========================
   Tabs block spacing
========================= */
.fs-tabs-block{
  margin:14px 0 18px;
}

.fs-tabs-block .fs-tabs,
.fs-tabs-block .fs-tabs-section{
  margin:0;
}

/* =========================
   Categories
========================= */
.fs-cat-chips{
  display:flex;
  gap:10px;
  overflow:auto;
  padding:10px 2px 14px;
  margin:0 0 10px;
}

.fs-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  color:rgba(18,18,18,.82);
  font-weight:800;
  font-size:13px;
  padding:10px 12px;
  border-radius:8px !important;
  border:1px solid var(--fs-border);
  background:#fff;
  white-space:nowrap;
  transition:
    transform .18s var(--fs-ease),
    box-shadow .18s var(--fs-ease),
    background-color .18s var(--fs-ease);
}

.fs-chip:hover{
  box-shadow:var(--fs-shadow-soft);
  transform:translateY(-1px);
}

.fs-cat{
  margin:18px 0 26px;
}

.fs-cat-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  margin:0 0 12px;
}

/* =========================
   Legacy grid / card base
========================= */
.fs-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}

.fs-card{
  border:1px solid var(--fs-border);
  border-radius:12px !important;
  background:var(--fs-surface);
  box-shadow:var(--fs-shadow-soft);
  overflow:hidden;
  transition:transform .16s var(--fs-ease), box-shadow .16s var(--fs-ease);
}

.fs-card:hover{
  transform:translateY(-2px);
  box-shadow:var(--fs-shadow);
}

.fs-card-media{
  position:relative;
  aspect-ratio:16 / 9;
  background:rgba(17,24,39,.03);
}

.fs-card-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.fs-card-img--placeholder{
  width:100%;
  height:100%;
  background:linear-gradient(135deg, rgba(17,24,39,.04), rgba(17,24,39,.02));
}

.fs-card-badge{
  position:absolute;
  top:12px;
  left:12px;
  background:rgba(247,40,40,.92);
  color:#fff;
  font-weight:900;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px !important;
}

.fs-card-body{
  padding:14px 14px 16px;
}

.fs-card-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}

.fs-card-title{
  font-size:15px;
  line-height:1.25;
}

.fs-card-price{
  font-weight:900;
  font-size:14px;
  white-space:nowrap;
}

.fs-card-desc{
  margin-top:8px;
  color:var(--fs-muted);
  font-size:13px;
  line-height:1.35;
  min-height:18px;
}

.fs-card-actions{
  margin-top:12px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
}

/* =========================
   Product cards override
========================= */
.fs-grid{
  display:grid !important;
  grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
  gap:22px !important;
}

.fs-product-card{
  display:flex !important;
  flex-direction:column !important;
  gap:0 !important;
  padding:0 !important;
  background:#fff;
  border:1px solid var(--fs-border);
  box-shadow:none !important;
  overflow:hidden;
  border-radius:12px !important;
  transition:
    transform .18s var(--fs-ease),
    box-shadow .18s var(--fs-ease),
    border-color .18s var(--fs-ease);
}

.fs-product-card:hover{
  transform:translateY(-2px) !important;
  box-shadow:var(--fs-shadow-soft) !important;
  border-color:rgba(17,24,39,.14);
}

.fs-product-card-media{
  position:relative;
  width:100% !important;
  min-width:0 !important;
  aspect-ratio:1 / 1;
  background:#fff;
  overflow:hidden;
}

.fs-product-card-img,
.fs-product-card-img--placeholder{
  width:100% !important;
  height:100% !important;
  display:block;
  object-fit:cover;
  background:linear-gradient(135deg, rgba(17,24,39,.04), rgba(17,24,39,.02));
  border-radius:0 !important;
  transition:transform .28s var(--fs-ease);
}

.fs-product-card:hover .fs-product-card-img{
  transform:scale(1.02);
}

.fs-product-card-badge{
  position:absolute;
  left:12px;
  top:12px;
  background:rgba(247,40,40,.92);
  color:#fff;
  font-weight:900;
  font-size:11px;
  padding:6px 10px;
  border-radius:999px !important;
  text-transform:uppercase;
  box-shadow:0 10px 18px rgba(247,40,40,.18);
}

.fs-product-card-body{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:16px 16px 18px;
}

.fs-product-card-head{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:10px;
  align-items:start;
}

.fs-product-card-title-wrap{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}

.fs-product-card-title{
  margin:0;
  font-size:15px;
  line-height:1.25;
  color:var(--fs-text);
  font-weight:900;
}

.fs-product-info-btn{
  appearance:none;
  border:0;
  background:transparent;
  color:var(--fs-accent);
  width:30px;
  height:30px;
  min-width:30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  line-height:1;
  cursor:pointer;
  padding:0;
  border-radius:8px !important;
  box-shadow:none !important;
  transition:
    transform .18s ease,
    color .18s ease,
    opacity .18s ease,
    background-color .18s ease;
}

.fs-product-info-btn:hover{
  background:transparent;
  color:#d61f1f;
  transform:scale(1.04);
  box-shadow:none !important;
}

.fs-product-info-btn:focus,
.fs-product-info-btn:focus-visible{
  outline:none;
  box-shadow:none !important;
}

.fs-product-card-price-wrap{
  display:flex;
  flex-direction:row;
  align-items:baseline;
  justify-content:flex-end;
  gap:8px;
  white-space:nowrap;
}

.fs-product-card-price{
  font-size:14px;
  line-height:1;
  font-weight:900;
  color:var(--fs-text);
  white-space:nowrap;
}

.fs-price-old{
  color:var(--fs-muted);
  font-size:12px;
  text-decoration:line-through;
  font-weight:700;
  white-space:nowrap;
}

.fs-product-card-desc{
  color:rgba(18,18,18,.84);
  font-size:13px;
  line-height:1.45;
  margin:0;
}

.fs-product-card-actions{
  display:flex;
  justify-content:flex-end;
  margin-top:auto;
  padding-top:4px;
}

.fs-btn-add{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:46px;
  padding:0 18px;
  font-size:15px;
  font-weight:900;
  border:0 !important;
  background:#afc12a;
  color:#121212;
  box-shadow:none !important;
  border-radius:10px !important;
  transition:
    transform .18s var(--fs-ease),
    filter .18s var(--fs-ease),
    box-shadow .18s var(--fs-ease);
}

.fs-btn-add:hover{
  filter:brightness(.98);
  box-shadow:none !important;
  transform:translateY(-1px);
}

.fs-btn-add:disabled{
  opacity:.45;
  cursor:not-allowed;
}

.fs-soldout{
  font-size:13px;
  font-weight:800;
  color:#b42318;
}

/* =========================
   Product modal
========================= */
.fs-product-modal{
  position:fixed;
  inset:0;
  z-index:11020;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .22s var(--fs-ease), visibility .22s var(--fs-ease);
}

.fs-product-modal.is-open,
.fs-product-modal[aria-hidden="false"]{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.fs-product-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.42);
  opacity:0;
  transition:opacity .22s var(--fs-ease);
}

.fs-product-modal.is-open .fs-product-modal-backdrop,
.fs-product-modal[aria-hidden="false"] .fs-product-modal-backdrop{
  opacity:1;
}

.fs-product-modal-panel{
  position:relative;
  width:min(760px, calc(100vw - 32px));
  max-height:calc(100vh - 48px);
  overflow:auto;
  margin:24px auto;
  background:#fff;
  border:1px solid var(--fs-border);
  box-shadow:var(--fs-shadow);
  border-radius:16px !important;
  transform:translateY(16px) scale(.985);
  opacity:0;
  transition:
    transform .24s var(--fs-ease),
    opacity .24s var(--fs-ease);
}

.fs-product-modal.is-open .fs-product-modal-panel,
.fs-product-modal[aria-hidden="false"] .fs-product-modal-panel{
  transform:translateY(0) scale(1);
  opacity:1;
}

.fs-product-modal-head{
  position:sticky;
  top:0;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  background:#fff;
  border-bottom:1px solid var(--fs-border);
}

.fs-product-modal-close{
  appearance:none;
  border:1px solid var(--fs-border);
  background:#fff;
  width:40px;
  height:40px;
  cursor:pointer;
  font-size:22px;
  line-height:1;
  border-radius:10px !important;
  transition:
    transform .18s var(--fs-ease),
    box-shadow .18s var(--fs-ease);
}

.fs-product-modal-close:hover{
  transform:translateY(-1px);
  box-shadow:var(--fs-shadow-soft);
}

.fs-product-modal-body{
  padding:18px;
}

.fs-product-modal-content{
  display:grid;
  grid-template-columns:260px minmax(0, 1fr);
  gap:20px;
  align-items:start;
}

.fs-product-modal-media{
  width:100%;
}

.fs-product-modal-img,
.fs-product-modal-img--placeholder{
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
  display:block;
  border-radius:12px !important;
  background:linear-gradient(135deg, rgba(17,24,39,.04), rgba(17,24,39,.02));
}

.fs-product-modal-copy{
  min-width:0;
}

.fs-product-modal-name{
  margin:0 0 10px;
  font-size:28px;
  line-height:1.05;
  letter-spacing:-.02em;
}

.fs-product-modal-desc{
  color:rgba(18,18,18,.84);
  font-size:16px;
  line-height:1.5;
}

.fs-product-modal-section{
  margin-top:16px;
}

.fs-product-modal-label{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.03em;
  color:var(--fs-muted);
  font-weight:900;
  margin-bottom:8px;
}

.fs-product-modal-allergens{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.fs-product-modal-allergen{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:40px;
  padding:0 12px;
  border:1px solid var(--fs-border);
  background:#fff;
  font-size:13px;
  font-weight:800;
  border-radius:10px !important;
}

.fs-product-modal-allergen-icon{
  width:18px;
  height:18px;
  object-fit:contain;
  display:block;
  flex:0 0 18px;
}

.fs-product-modal-allergen-text{
  display:inline-block;
  line-height:1.2;
}

.fs-product-modal-footer{
  margin-top:20px;
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:16px;
}

.fs-product-modal-price{
  font-size:26px;
  line-height:1;
  font-weight:900;
}

/* =========================
   Cart rows / sticky cart
========================= */
.fs-cart-row{
  padding:12px 0;
  border-bottom:1px solid var(--fs-border);
}

.fs-cart-row:last-child{
  border-bottom:0;
}

.fs-cart-row-main{
  display:grid;
  grid-template-columns:72px minmax(0, 1fr);
  gap:12px;
  align-items:start;
}

.fs-cart-row-media{
  width:72px;
  height:72px;
  min-width:72px;
  max-width:72px;
  min-height:72px;
  max-height:72px;
  align-self:start;
  overflow:hidden;
  position:relative;
}

.fs-cart-row-img,
.fs-cart-row-img-placeholder{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  background:linear-gradient(135deg, rgba(17,24,39,.04), rgba(17,24,39,.02));
  border:1px solid var(--fs-border);
  border-radius:10px !important;
}

.fs-cart-row-media > .fs-cart-row-img,
.fs-cart-row-media > .fs-cart-row-img-placeholder{
  position:absolute;
  inset:0;
}

.fs-cart-row-img[hidden],
.fs-cart-row-img-placeholder[hidden]{
  display:none !important;
}

.fs-cart-row-copy{
  min-width:0;
}

.fs-cart-row-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
}

.fs-cart-row-name-wrap{
  min-width:0;
}

.fs-cart-row-name{
  display:block;
  font-size:14px;
  line-height:1.35;
  color:var(--fs-text);
}

.fs-cart-row-line-price{
  flex:0 0 auto;
  font-size:14px;
  line-height:1.2;
  font-weight:900;
  white-space:nowrap;
}

.fs-cart-row-meta{
  margin-bottom:10px;
  color:var(--fs-muted);
  font-size:12px;
  line-height:1.35;
}

.fs-cart-row-meta br{
  content:"";
}

.fs-cart-row-meta{
  white-space:normal;
}

.fs-cart-row-controls{
  display:flex;
  align-items:center;
  gap:8px;
}

.fs-cart-row-controls .fs-btn{
  min-width:38px;
  height:38px;
  padding:0 10px;
}

.fs-cart-qty{
  min-width:24px;
  text-align:center;
  font-weight:900;
}

.fs-cart-sticky{
  display:none !important;
}

/* =========================
   Checkout
========================= */
.fs-checkout-page{
  padding:8px 0 28px;
}

.fs-checkout-page-head{
  margin-bottom:18px;
}

.fs-checkout-shell{
  display:grid;
  grid-template-columns:minmax(0, 1.35fr) minmax(320px, .85fr);
  gap:22px;
  align-items:start;
}

.fs-checkout-main,
.fs-checkout-sidebar{
  min-width:0;
}

.fs-checkout-form{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.fs-checkout-card{
  border:1px solid var(--fs-border);
  border-radius:16px !important;
  background:#fff;
  box-shadow:var(--fs-shadow-soft);
  padding:18px;
}

.fs-checkout-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:16px;
}

.fs-checkout-card-head .fs-h2{
  margin:0 0 4px;
}

.fs-btn-secondary{
  border:1px solid var(--fs-border) !important;
  background:#fff !important;
  color:var(--fs-text) !important;
  min-height:42px;
  padding:0 14px;
  border-radius:10px !important;
  font-weight:800;
  box-shadow:none !important;
}

.fs-btn-secondary:hover{
  transform:translateY(-1px);
  box-shadow:var(--fs-shadow-soft) !important;
}

.fs-checkout-fulfilment-bar{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
}

.fs-checkout-fulfilment-pill{
  border:1px solid var(--fs-border);
  border-radius:12px !important;
  background:#fff;
  padding:12px 14px;
}

.fs-checkout-fulfilment-label{
  display:block;
  margin-bottom:6px;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.03em;
  color:var(--fs-muted);
  font-weight:900;
}

.fs-checkout-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}

.fs-checkout-field{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:0;
}

.fs-checkout-field--full{
  grid-column:1 / -1;
}

.fs-checkout-field > span{
  font-size:13px;
  font-weight:800;
  color:var(--fs-text);
}

.fs-input{
  width:100%;
  min-height:48px;
  border:1px solid var(--fs-border);
  border-radius:10px !important;
  padding:0 14px;
  font-size:15px;
  color:var(--fs-text);
  background:#fff;
  transition:border-color .18s var(--fs-ease), box-shadow .18s var(--fs-ease);
}

.fs-input:focus{
  outline:none;
  border-color:rgba(17, 24, 39, .42);
  box-shadow:0 0 0 4px rgba(17, 24, 39, .07);
}

.fs-checkout-submit-wrap{
  display:flex;
  justify-content:flex-start;
}

.fs-checkout-submit{
  min-height:50px;
  padding:0 18px;
  border-radius:12px !important;
  font-size:15px;
  font-weight:900;
}

.fs-checkout-summary-card{
  position:sticky;
  top:92px;
}

.fs-checkout-summary-items{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.fs-checkout-summary-item{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:12px;
  padding:0 0 12px;
  border-bottom:1px solid var(--fs-border);
}

.fs-checkout-summary-item:last-child{
  border-bottom:0;
  padding-bottom:0;
}

.fs-checkout-summary-item-name{
  font-size:14px;
  font-weight:800;
  line-height:1.35;
}

.fs-checkout-summary-item-meta{
  margin-top:4px;
  font-size:12px;
  color:var(--fs-muted);
  line-height:1.35;
}

.fs-checkout-summary-item-price{
  white-space:nowrap;
  font-size:14px;
  font-weight:900;
}

.fs-checkout-summary-totals{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid var(--fs-border);
  display:flex;
  flex-direction:column;
  gap:12px;
}

.fs-checkout-total-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size:14px;
}

.fs-checkout-total-row strong{
  font-weight:900;
}

.fs-checkout-total-row--grand{
  padding-top:8px;
  border-top:1px dashed rgba(17,24,39,.12);
  font-size:16px;
}

.fs-checkout-threshold-message{
  margin-top:14px;
  padding:12px 14px;
  border-radius:12px !important;
  background:rgba(17,24,39,.03);
  border:1px solid rgba(17,24,39,.08);
  color:rgba(18,18,18,.82);
  font-size:13px;
  font-weight:800;
}

@media (max-width: 1080px){
  .fs-checkout-shell{
    grid-template-columns:1fr;
  }

  .fs-checkout-summary-card{
    position:static;
    top:auto;
  }
}

@media (max-width: 720px){
  .fs-checkout-fulfilment-bar,
  .fs-checkout-grid{
    grid-template-columns:1fr;
  }

  .fs-checkout-card{
    padding:16px;
  }

  .fs-checkout-card-head{
    flex-direction:column;
    align-items:flex-start;
  }

  .fs-checkout-submit{
    width:100%;
    justify-content:center;
  }
}

.fs-payment-methods{
  display:grid;
  gap:12px;
}

.fs-payment-method{
  display:block;
  border:1px solid rgba(15,23,42,.10);
  border-radius:16px;
  background:#fff;
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  cursor:pointer;
  overflow:hidden;
}

.fs-payment-method:hover{
  border-color:rgba(15,23,42,.18);
  box-shadow:0 10px 24px rgba(15,23,42,.06);
  transform:translateY(-1px);
}

.fs-payment-method.is-active{
  border-color:rgba(15,23,42,.28);
  box-shadow:0 12px 28px rgba(15,23,42,.10);
}

.fs-payment-method input[type="radio"]{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.fs-payment-method-body{
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 16px;
}

.fs-payment-method-media{
  width:42px;
  min-width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:#fff;
}

.fs-payment-method-icon{
  width:32px;
  height:32px;
  object-fit:contain;
  display:block;
}

.fs-payment-method-text{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}

.fs-payment-method-text strong{
  font-size:14px;
  line-height:1.25;
  font-weight:800;
  color:#111827;
}

#fs-payment-methods-message{
  margin-top:12px;
}

/* =========================================================
   FoodSync simple product order modal
   Doel:
   - producten zonder opties eerst popup tonen
   - hoeveelheid kiezen
   - toevoegen aan winkelmand
   ========================================================= */

.fs-product-order-footer {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 22px;
}

.fs-product-order-qty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px solid var(--fs-border, rgba(0,0,0,.12));
  background: #fff;
}

.fs-product-order-qty-btn {
  width: 52px;
  height: 52px;
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.fs-product-order-qty-count {
  min-width: 48px;
  text-align: center;
  color: #111827;
  font-size: 22px;
  font-weight: 700;
}

.fs-product-order-add {
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  border: 0;
  background: #111;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
}

.fs-product-order-add:hover,
.fs-product-order-add:focus-visible {
  background: #000;
  color: #fff;
}

@media (max-width: 760px) {
  .fs-product-order-footer {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
  }

  .fs-product-order-qty {
    width: 100%;
  }

  .fs-product-order-add {
    min-height: 50px;
    font-size: 16px;
  }
}

/* =========================================================
   FoodSync simple product order modal
   Doel:
   - producten zonder opties eerst popup tonen
   - hoeveelheid kiezen
   - toevoegen aan winkelmand
   ========================================================= */

.fs-product-order-footer {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 22px;
}

.fs-product-order-qty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px solid var(--fs-border, rgba(0,0,0,.12));
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.fs-product-order-qty-btn {
  width: 52px;
  height: 52px;
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.fs-product-order-qty-count {
  min-width: 48px;
  text-align: center;
  color: #111827;
  font-size: 22px;
  font-weight: 700;
}

.fs-product-order-add {
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  border: 0;
  background: #111;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
}

.fs-product-order-add:hover,
.fs-product-order-add:focus-visible {
  background: #000;
  color: #fff;
}

@media (max-width: 760px) {
  .fs-product-order-footer {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
  }

  .fs-product-order-qty {
    width: 100%;
  }

  .fs-product-order-add {
    min-height: 50px;
    font-size: 16px;
  }
}


/* =========================================================
   FoodSync simple product popup - premium styling final
   Doel:
   - popup horizontaal en verticaal centreren
   - primaire buttonkleur gebruiken
   - header groter/bolder
   - plus/min vormgeving meer richting configurator
   - respect voor shape instellingen: soft / square
   ========================================================= */

/* Modal zelf echt centreren */
body.fs-shop #fs-product-info-modal.fs-product-modal,
body.fs-shop #fs-product-info-modal[aria-hidden="false"] {
  align-items: center !important;
  justify-content: center !important;
  padding: 28px !important;
}

/* Panel compacter en gecentreerd */
body.fs-shop #fs-product-info-modal .fs-product-modal-panel {
  width: min(940px, calc(100vw - 56px)) !important;
  max-width: 940px !important;
  max-height: calc(100vh - 56px) !important;
  margin: auto !important;
  overflow: auto !important;
  background: #ffffff !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .42) !important;
}

/* Header duidelijker maken */
body.fs-shop #fs-product-info-modal .fs-product-modal-head {
  padding: 28px 32px 16px 32px !important;
  border-bottom: 0 !important;
}

body.fs-shop #fs-product-info-modal #fs-product-info-title {
  font-size: clamp(20px, 2.2vw, 26px) !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
  color: #111827 !important;
}

/* Sluitknop netjes rechtsboven */
body.fs-shop #fs-product-info-modal .fs-product-modal-close {
  width: 38px !important;
  height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  background: transparent !important;
  color: #111827 !important;
  font-size: 32px !important;
  line-height: 1 !important;
  opacity: .75 !important;
}

body.fs-shop #fs-product-info-modal .fs-product-modal-close:hover,
body.fs-shop #fs-product-info-modal .fs-product-modal-close:focus-visible {
  opacity: 1 !important;
}

/* Body spacing */
body.fs-shop #fs-product-info-modal .fs-product-modal-body {
  padding: 10px 32px 34px 32px !important;
}

/* Layout: afbeelding links, content rechts */
body.fs-shop #fs-product-info-modal .fs-product-order-content {
  display: grid !important;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr) !important;
  gap: 34px !important;
  align-items: start !important;
}

/* Afbeelding premium en volgens shape */
body.fs-shop #fs-product-info-modal .fs-product-modal-media {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  background: #f3f4f6 !important;
}

body.fs-shop #fs-product-info-modal .fs-product-modal-img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

/* Productnaam en tekst */
body.fs-shop #fs-product-info-modal .fs-product-modal-name {
  margin: 0 0 8px 0 !important;
  font-size: clamp(24px, 2.6vw, 32px) !important;
  line-height: 1.02 !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
  color: #111827 !important;
}

body.fs-shop #fs-product-info-modal .fs-product-modal-desc {
  margin: 0 0 20px 0 !important;
  color: #667085 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

body.fs-shop #fs-product-info-modal .fs-product-modal-label {
  color: #9ca3af !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
}

body.fs-shop #fs-product-info-modal .fs-product-modal-price {
  margin-top: 8px !important;
  color: #111827 !important;
  font-size: 28px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

/* Footer met hoeveelheid en toevoegen */
body.fs-shop #fs-product-info-modal .fs-product-order-footer {
  display: grid !important;
  grid-template-columns: 180px minmax(0, 1fr) !important;
  gap: 22px !important;
  align-items: center !important;
  margin-top: 34px !important;
}

/* Quantity meer zoals configurator */
body.fs-shop #fs-product-info-modal .fs-product-order-qty {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 150px !important;
  min-height: 46px !important;
  border: 0 !important;
  background: transparent !important;
  gap: 12px !important;
}

/* Popup is altijd licht/wit: titel/tekst leesbaar houden, losgekoppeld van
   het websitethema. Titelkleur volgt de branding-instelling (donkere default). */
body.fs-shop #fs-product-info-modal {
  --fs-heading: var(--fs-popup-heading, #101828);
  --fs-heading-color: var(--fs-popup-heading, #101828);
  --fs-text: #344054;
  --fs-muted: #667085;
  --fs-muted-color: #667085;
}

body.fs-shop #fs-product-info-modal .fs-product-order-qty-btn {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border: 2px solid var(--fs-qty-btn-bg, #111827) !important;
  background: var(--fs-qty-btn-bg, #111827) !important;
  color: var(--fs-qty-btn-text, #ffffff) !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

body.fs-shop #fs-product-info-modal .fs-product-order-qty-btn[data-fs-simple-qty-plus] {
  background: var(--fs-qty-btn-bg, #111827) !important;
  color: var(--fs-qty-btn-text, #ffffff) !important;
}

body.fs-shop #fs-product-info-modal .fs-product-order-qty-btn:hover,
body.fs-shop #fs-product-info-modal .fs-product-order-qty-btn:focus-visible {
  background: var(--fs-qty-btn-hover, #000000) !important;
  border-color: var(--fs-qty-btn-hover, #000000) !important;
  color: #ffffff !important;
}

body.fs-shop #fs-product-info-modal .fs-product-order-qty-count {
  min-width: 28px !important;
  text-align: center !important;
  color: #111827 !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

/* Toevoeg button: primaire FoodSync kleur i.p.v. zwart */
body.fs-shop #fs-product-info-modal .fs-product-order-add {
  width: 100% !important;
  min-height: 52px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  padding: 0 22px !important;
  border: 0 !important;
  background: var(--fs-primary, #f73f3f) !important;
  color: var(--fs-primary-contrast, #ffffff) !important;
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .16) !important;
  cursor: pointer !important;
}

body.fs-shop #fs-product-info-modal .fs-product-order-add:hover,
body.fs-shop #fs-product-info-modal .fs-product-order-add:focus-visible {
  background: var(--fs-primary-hover, var(--fs-primary, #f73f3f)) !important;
  color: var(--fs-primary-contrast, #ffffff) !important;
}

/* Shape instellingen respecteren */
body.fs-shop.fs-shape-soft #fs-product-info-modal .fs-product-modal-panel,
body.fs-shop.fs-shape-soft #fs-product-info-modal .fs-product-modal-media,
body.fs-shop.fs-shape-soft #fs-product-info-modal .fs-product-modal-img,
body.fs-shop.fs-shape-soft #fs-product-info-modal .fs-product-order-add {
  border-radius: 18px !important;
}

body.fs-shop.fs-shape-soft #fs-product-info-modal .fs-product-order-qty-btn {
  border-radius: 10px !important;
}

body.fs-shop.fs-shape-square #fs-product-info-modal .fs-product-modal-panel,
body.fs-shop.fs-shape-square #fs-product-info-modal .fs-product-modal-media,
body.fs-shop.fs-shape-square #fs-product-info-modal .fs-product-modal-img,
body.fs-shop.fs-shape-square #fs-product-info-modal .fs-product-order-add,
body.fs-shop.fs-shape-square #fs-product-info-modal .fs-product-order-qty-btn {
  border-radius: 0 !important;
}

/* Mobiel netjes stapelen */
@media (max-width: 760px) {
  body.fs-shop #fs-product-info-modal.fs-product-modal,
  body.fs-shop #fs-product-info-modal[aria-hidden="false"] {
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-panel {
    width: min(100%, calc(100vw - 32px)) !important;
    max-height: calc(100vh - 32px) !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-head {
    padding: 22px 22px 10px 22px !important;
  }

  body.fs-shop #fs-product-info-modal #fs-product-info-title {
    font-size: 30px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-body {
    padding: 12px 22px 24px 22px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-order-content {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-media {
    max-width: 320px !important;
    margin: 0 auto !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-name {
    font-size: 34px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-desc {
    font-size: 16px !important;
    margin-bottom: 18px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-order-footer {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-top: 24px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-order-qty {
    width: 100% !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-order-add {
    min-height: 54px !important;
    font-size: 18px !important;
  }
}

/* =========================================================
   FoodSync simple product popup - compact centered override
   Doel:
   - popup kleiner maken op desktop
   - écht horizontaal en verticaal centreren
   - bestaande styling behouden
   ========================================================= */

body.fs-shop #fs-product-info-modal.fs-product-modal,
body.fs-shop #fs-product-info-modal[aria-hidden="false"] {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;

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

  padding: 24px !important;
  overflow: hidden !important;
}

/* Panel compacter */
body.fs-shop #fs-product-info-modal .fs-product-modal-panel {
  width: min(760px, calc(100vw - 48px)) !important;
  max-width: 760px !important;
  max-height: calc(100vh - 48px) !important;

  margin: 0 auto !important;
  overflow: auto !important;
}

/* Header minder hoog */
body.fs-shop #fs-product-info-modal .fs-product-modal-head {
  padding: 20px 24px 10px 24px !important;
}

/* Header titel iets rustiger */
body.fs-shop #fs-product-info-modal #fs-product-info-title {
  font-size: 30px !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
}

/* Body compacter */
body.fs-shop #fs-product-info-modal .fs-product-modal-body {
  padding: 8px 24px 24px 24px !important;
}

/* Content compacter */
body.fs-shop #fs-product-info-modal .fs-product-order-content {
  grid-template-columns: 300px minmax(0, 1fr) !important;
  gap: 24px !important;
  align-items: start !important;
}

/* Afbeelding kleiner */
body.fs-shop #fs-product-info-modal .fs-product-modal-media {
  width: 300px !important;
  max-width: 300px !important;
  aspect-ratio: 1 / 1 !important;
}

/* Producttitel compacter */
body.fs-shop #fs-product-info-modal .fs-product-modal-name {
  font-size: 38px !important;
  line-height: 1 !important;
  margin-bottom: 8px !important;
}

/* Omschrijving compacter */
body.fs-shop #fs-product-info-modal .fs-product-modal-desc {
  font-size: 16px !important;
  line-height: 1.35 !important;
  margin-bottom: 18px !important;
}

/* Prijs compacter */
body.fs-shop #fs-product-info-modal .fs-product-modal-price {
  font-size: 28px !important;
}

/* Footer dichter op content */
body.fs-shop #fs-product-info-modal .fs-product-order-footer {
  grid-template-columns: 140px minmax(0, 1fr) !important;
  gap: 18px !important;
  margin-top: 24px !important;
}

/* Quantity compacter */
body.fs-shop #fs-product-info-modal .fs-product-order-qty {
  width: 140px !important;
  gap: 12px !important;
}

body.fs-shop #fs-product-info-modal .fs-product-order-qty-btn {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  font-size: 22px !important;
}

body.fs-shop #fs-product-info-modal .fs-product-order-qty-count {
  min-width: 28px !important;
  font-size: 20px !important;
}

/* Toevoegen knop compacter */
body.fs-shop #fs-product-info-modal .fs-product-order-add {
  min-height: 44px !important;
  padding: 0 18px !important;
  font-size: 16px !important;
}

/* Mobiel blijft netjes stapelen */
@media (max-width: 760px) {
  body.fs-shop #fs-product-info-modal.fs-product-modal,
  body.fs-shop #fs-product-info-modal[aria-hidden="false"] {
    padding: 14px !important;
    overflow: auto !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-panel {
    width: min(100%, calc(100vw - 28px)) !important;
    max-height: calc(100vh - 28px) !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-order-content {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-media {
    width: 100% !important;
    max-width: 280px !important;
    margin: 0 auto !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-name {
    font-size: 32px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-order-footer {
    grid-template-columns: 1fr !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-order-qty {
    width: 100% !important;
  }
}

/* =========================================================
   FoodSync simple product popup - mobile compact final
   Doel:
   - mobiele popup compacter maken
   - minder fullscreen gevoel
   - afbeelding, titel, prijs, allergenen en knoppen iets kleiner
   - desktop ongemoeid laten
   ========================================================= */

@media (max-width: 760px) {
  body.fs-shop #fs-product-info-modal.fs-product-modal,
  body.fs-shop #fs-product-info-modal[aria-hidden="false"] {
    padding: 12px !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: auto !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-panel {
    width: min(100%, calc(100vw - 24px)) !important;
    max-height: calc(100vh - 24px) !important;
    margin: auto !important;
    overflow: auto !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-head {
    padding: 18px 20px 8px 20px !important;
  }

  body.fs-shop #fs-product-info-modal #fs-product-info-title {
    font-size: 30px !important;
    line-height: 1.05 !important;
    letter-spacing: -0.045em !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-close {
    width: 32px !important;
    height: 32px !important;
    font-size: 30px !important;
    top: 14px !important;
    right: 16px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-body {
    padding: 8px 20px 20px 20px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-order-content {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-media {
    width: 100% !important;
    max-width: 250px !important;
    margin: 0 auto !important;
    aspect-ratio: 1 / 1 !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-name {
    font-size: 30px !important;
    line-height: 1.02 !important;
    margin: 0 0 7px 0 !important;
    letter-spacing: -0.05em !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-desc {
    font-size: 15px !important;
    line-height: 1.35 !important;
    margin: 0 0 14px 0 !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-section {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-label {
    font-size: 12px !important;
    line-height: 1.1 !important;
    letter-spacing: .08em !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-price {
    font-size: 28px !important;
    margin-top: 6px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-allergens {
    gap: 8px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-allergen {
    min-height: 34px !important;
    padding: 6px 10px !important;
    gap: 8px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-allergen-icon {
    width: 24px !important;
    height: 24px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-allergen-text {
    font-size: 14px !important;
    line-height: 1.1 !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-order-footer {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 18px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-order-qty {
    width: 100% !important;
    min-height: 40px !important;
    gap: 16px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-order-qty-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    font-size: 24px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-order-qty-count {
    min-width: 30px !important;
    font-size: 20px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-order-add {
    min-height: 48px !important;
    padding: 0 18px !important;
    font-size: 16px !important;
  }
}

/* Extra compact voor kleine telefoons */
@media (max-width: 420px) {
  body.fs-shop #fs-product-info-modal .fs-product-modal-head {
    padding: 16px 18px 6px 18px !important;
  }

  body.fs-shop #fs-product-info-modal #fs-product-info-title {
    font-size: 28px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-body {
    padding: 8px 18px 18px 18px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-media {
    max-width: 230px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-name {
    font-size: 28px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-price {
    font-size: 26px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-order-footer {
    margin-top: 16px !important;
  }
}

/* =========================================================
   FoodSync simple product popup - mobile non-fullscreen fix
   Doel:
   - popup op mobiel minder fullscreen maken
   - boven/onder backdrop zichtbaar houden
   - wit leeg vlak onderin voorkomen
   - alleen voor #fs-product-info-modal
   ========================================================= */

@media (max-width: 760px) {
  body.fs-shop #fs-product-info-modal.fs-product-modal,
  body.fs-shop #fs-product-info-modal[aria-hidden="false"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 18px 12px !important;
    overflow: hidden !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-panel {
    width: min(100%, 680px) !important;
    max-width: calc(100vw - 24px) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 36px) !important;
    margin: 0 auto !important;
    overflow-y: auto !important;
    display: block !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-head {
    padding: 14px 16px 8px 16px !important;
  }

  body.fs-shop #fs-product-info-modal #fs-product-info-title {
    font-size: 24px !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-close {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    font-size: 28px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-body {
    padding: 8px 16px 16px 16px !important;
    height: auto !important;
    min-height: 0 !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-order-content {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    align-items: start !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-media {
    width: min(220px, 58vw) !important;
    max-width: min(220px, 58vw) !important;
    margin: 0 auto !important;
    aspect-ratio: 1 / 1 !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-img,
  body.fs-shop #fs-product-info-modal .fs-product-modal-img--placeholder {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-name {
    margin: 0 0 6px 0 !important;
    font-size: 25px !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-desc {
    margin: 0 0 10px 0 !important;
    font-size: 14px !important;
    line-height: 1.38 !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-section {
    margin-top: 10px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-label {
    font-size: 11px !important;
    margin-bottom: 5px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-price {
    font-size: 22px !important;
    line-height: 1 !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-allergens {
    gap: 8px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-allergen {
    min-height: 30px !important;
    padding: 0 8px !important;
    gap: 6px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-allergen-icon {
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-allergen-text {
    font-size: 12px !important;
    line-height: 1.15 !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-order-footer {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 14px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-order-qty {
    width: 100% !important;
    min-height: 42px !important;
    gap: 12px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-order-qty-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    font-size: 22px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-order-qty-count {
    min-width: 28px !important;
    font-size: 19px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-order-add {
    min-height: 46px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    gap: 10px !important;
  }
}

@media (max-width: 380px) {
  body.fs-shop #fs-product-info-modal.fs-product-modal,
  body.fs-shop #fs-product-info-modal[aria-hidden="false"] {
    padding: 14px 10px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-panel {
    max-width: calc(100vw - 20px) !important;
    max-height: calc(100dvh - 28px) !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-media {
    width: min(200px, 56vw) !important;
    max-width: min(200px, 56vw) !important;
  }

  body.fs-shop #fs-product-info-modal #fs-product-info-title {
    font-size: 22px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-name {
    font-size: 23px !important;
  }
}

/* =========================================================
   FoodSync simple product popup - mobile true vertical center
   Doel:
   - popup op mobiel echt verticaal centreren
   - bestaande compacte popup behouden
   ========================================================= */

@media (max-width: 760px) {
  body.fs-shop #fs-product-info-modal.fs-product-modal,
  body.fs-shop #fs-product-info-modal[aria-hidden="false"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100dvh !important;
    height: 100dvh !important;
    padding: 18px 12px !important;
    box-sizing: border-box !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-panel {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 auto !important;
    flex: 0 1 auto !important;
    align-self: center !important;
  }

  body.fs-shop #fs-product-info-modal.is-open .fs-product-modal-panel,
  body.fs-shop #fs-product-info-modal[aria-hidden="false"] .fs-product-modal-panel {
    transform: none !important;
  }
}

/* =========================================================
   FoodSync simple product popup - allergenen compact naast elkaar
   Doel:
   - allergenen NIET onder elkaar
   - kleinere horizontale ruimte
   - mobiel en popup-specifiek
   ========================================================= */

@media (max-width: 760px) {
  body.fs-shop #fs-product-info-modal .fs-product-order-content .fs-product-modal-allergens {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px 18px !important;
    width: 100% !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-order-content .fs-product-modal-allergen {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-order-content .fs-product-modal-allergen-icon {
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-order-content .fs-product-modal-allergen-text {
    font-size: 13px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 380px) {
  body.fs-shop #fs-product-info-modal .fs-product-order-content .fs-product-modal-allergens {
    gap: 7px 14px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-order-content .fs-product-modal-allergen-text {
    font-size: 12px !important;
  }
}

/* =========================================================
   FoodSync allergenen - compactere ruimte tussen icoon en tekst
   Doel:
   - desktop en mobiel
   - minder horizontale ruimte tussen allergie-icoon en label
   - alleen product/info popup
   ========================================================= */

body.fs-shop #fs-product-info-modal .fs-product-modal-allergen {
  gap: 5px !important;
}

body.fs-shop #fs-product-info-modal .fs-product-modal-allergen-icon {
  margin-right: 0 !important;
}

body.fs-shop #fs-product-info-modal .fs-product-modal-allergen-text {
  margin-left: 0 !important;
}

@media (max-width: 760px) {
  body.fs-shop #fs-product-info-modal .fs-product-modal-allergen {
    gap: 4px !important;
  }
}

/* Checkout customer type: particulier / bedrijf */
.fs-checkout-customer-type {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.fs-checkout-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  cursor: pointer;
}

.fs-checkout-choice input {
  width: 18px;
  height: 18px;
  accent-color: var(--fs-primary, #111827);
}

.fs-checkout-choice span {
  font-weight: 800;
  color: var(--fs-text, #111827);
}

@media (max-width: 720px) {
  .fs-checkout-customer-type {
    grid-template-columns: 1fr;
  }
}

/* Checkout compact form refinement */
.fs-checkout-page .fs-checkout-field {
  min-height: auto;
}

.fs-checkout-page .fs-checkout-field > span {
  font-size: 13px;
  line-height: 1.25;
  margin-bottom: 6px;
}

.fs-checkout-page .fs-input {
  min-height: 52px;
  padding: 12px 14px;
  font-size: 16px;
  line-height: 1.35;
}

/* Iets compactere textarea, maar wel genoeg ruimte voor opmerkingen */
.fs-checkout-page textarea.fs-input,
.fs-checkout-page textarea[name="fs_customer_note"] {
  min-height: 150px;
  resize: vertical;
  padding-top: 14px;
}

/* Particulier / Bedrijf subtieler */
.fs-checkout-customer-type {
  gap: 14px;
  margin-bottom: 18px;
}

.fs-checkout-choice {
  min-height: 56px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.fs-checkout-choice input[type="radio"] {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0;
  accent-color: var(--fs-primary, #111827);
}

.fs-checkout-choice span {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

/* Voorkom gigantische custom radio styling vanuit browser/andere CSS */
.fs-checkout-choice input[type="radio"]::before,
.fs-checkout-choice input[type="radio"]::after {
  display: none !important;
}

/* Bedrijfsnaam niet te hoog */
#fs-company-name-wrap .fs-input {
  min-height: 52px;
}

/* Postcode rij compacter */
.fs-checkout-postcode-row .fs-input {
  min-height: 52px;
}

/* Desktop: iets strakkere verticale ruimte tussen checkoutvelden */
.fs-checkout-page .fs-checkout-grid {
  gap: 16px;
}

/* Mobiel: voldoende tikruimte houden */
@media (max-width: 720px) {
  .fs-checkout-page .fs-input {
    min-height: 50px;
    font-size: 16px;
  }

  .fs-checkout-page textarea.fs-input,
  .fs-checkout-page textarea[name="fs_customer_note"] {
    min-height: 140px;
  }

  .fs-checkout-choice {
    min-height: 52px;
  }
}

/* Checkout: opmerking veld extra hoog */
#fs-checkout-form textarea[name="fs_customer_note"].fs-input {
  display: block !important;
  width: 100% !important;
  min-height: 130px !important;
  height: 130px !important;
  max-height: none !important;
  padding-top: 18px !important;
  padding-bottom: 18px !important;
  line-height: 1.45 !important;
  resize: vertical !important;
  box-sizing: border-box !important;
}

#fs-checkout-form label:has(textarea[name="fs_customer_note"]) {
  min-height: auto !important;
}

/* Checkout: bedrijfsnaam altijd verbergen zolang particulier actief is */
#fs-company-name-wrap.fs-hidden,
#fs-company-name-wrap[hidden] {
  display: none !important;
}

/* Checkout tijdkeuze */
.fs-checkout-time-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

#fs-delivery-slot-wrap.fs-hidden,
#fs-delivery-slot-wrap[hidden] {
  display: none !important;
}

@media (max-width: 720px) {
  .fs-checkout-time-choice {
    grid-template-columns: 1fr;
  }
}

/* Checkout planning modal */
.fs-delivery-slot-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 16px;
  background: rgba(17, 24, 39, 0.035);
}

.fs-delivery-slot-summary[hidden] {
  display: none !important;
}

.fs-delivery-slot-summary div {
  display: grid;
  gap: 2px;
}

.fs-delivery-slot-summary span {
  color: var(--fs-muted, #6b7280);
  font-size: 14px;
}

.fs-delivery-slot-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.fs-delivery-slot-modal.is-open {
  display: block;
}

.fs-delivery-slot-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(3px);
}

.fs-delivery-slot-modal-box {
  position: relative;
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  margin: 24px auto;
  padding: 22px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.25);
}

.fs-delivery-slot-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.fs-delivery-slot-modal-head h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.fs-delivery-slot-modal-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.06);
  color: #111827;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.fs-delivery-slot-days {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.fs-delivery-slot-day {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 16px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.fs-delivery-slot-day span {
  font-size: 12px;
  color: var(--fs-muted, #6b7280);
}

.fs-delivery-slot-day.is-active {
  border-color: var(--fs-primary, #ef4444);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.fs-delivery-slot-day.is-disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.fs-delivery-slot-time-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.fs-delivery-slot-times {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.fs-delivery-slot-time {
  padding: 11px 10px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 14px;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.fs-delivery-slot-time:hover,
.fs-delivery-slot-time.is-active {
  border-color: var(--fs-primary, #ef4444);
  background: rgba(239, 68, 68, 0.08);
}

@media (max-width: 720px) {
  .fs-delivery-slot-modal-box {
    width: calc(100vw - 20px);
    margin: 10px auto;
    padding: 18px;
    border-radius: 20px;
  }

  .fs-delivery-slot-days {
    grid-template-columns: 1fr;
  }

  .fs-delivery-slot-times {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fs-delivery-slot-summary {
    align-items: stretch;
    flex-direction: column;
  }
}

/* FoodSync location popup - gesloten / vooruitbestellen melding */
.fs-location-closed-notice {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.10);
  color: #111827;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.fs-location-closed-notice--error {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.10);
  color: #111827;
}

/* FoodSync checkout planning choice cards */
.fs-delivery-slot-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 18px;
}

.fs-delivery-slot-choice[hidden] {
  display: none !important;
}

.fs-delivery-slot-choice-card {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 20px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 18px;
  background: #fff;
  color: #111827;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background-color .18s ease;
}

.fs-delivery-slot-choice-card:hover,
.fs-delivery-slot-choice-card:focus-visible {
  border-color: var(--fs-primary, #ef4444);
  background: rgba(239, 68, 68, 0.04);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.fs-delivery-slot-choice-card strong {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
  color: #111827;
}

.fs-delivery-slot-choice-card span {
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
  color: #6b7280;
}

@media (max-width: 720px) {
  .fs-delivery-slot-choice {
    grid-template-columns: 1fr;
  }

  .fs-delivery-slot-choice-card {
    min-height: 96px;
    padding: 16px;
  }
}

/* =========================================================
   FoodSync checkout planning popup - premium branded v1
   Gebruikt brand dashboard kleuren via CSS variables
   ========================================================= */

.fs-delivery-slot-modal-box {
  width: min(760px, calc(100vw - 32px)) !important;
  max-height: calc(100vh - 40px) !important;
  margin: 20px auto !important;
  padding: 26px !important;
  border-radius: 28px !important;
  background: #fff !important;
  overflow: auto !important;
}

.fs-delivery-slot-modal-head {
  margin-bottom: 22px !important;
}

.fs-delivery-slot-modal-head h3 {
  color: var(--fs-text, #111827) !important;
  font-size: 26px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
}

.fs-delivery-slot-modal-head .fs-muted {
  margin-top: 8px !important;
  color: var(--fs-muted, #6b7280) !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}

.fs-delivery-slot-modal-close {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  border-radius: 999px !important;
  background: rgba(17, 24, 39, 0.06) !important;
  color: var(--fs-text, #111827) !important;
  font-size: 30px !important;
  font-weight: 400 !important;
}

.fs-delivery-slot-choice {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin: 10px 0 20px !important;
}

.fs-delivery-slot-choice[hidden] {
  display: none !important;
}

.fs-delivery-slot-choice-card {
  min-height: 118px !important;
  padding: 20px !important;
  border: 1px solid var(--fs-border, rgba(17, 24, 39, 0.12)) !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04) !important;
  color: var(--fs-text, #111827) !important;
}

.fs-delivery-slot-choice-card:hover,
.fs-delivery-slot-choice-card:focus-visible {
  border-color: var(--fs-primary, #ef4444) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--fs-primary, #ef4444) 18%, transparent), 0 14px 34px rgba(15, 23, 42, 0.08) !important;
  transform: translateY(-1px);
  outline: none;
}

.fs-delivery-slot-choice-card strong {
  color: var(--fs-text, #111827) !important;
  font-size: 21px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
}

.fs-delivery-slot-choice-card span {
  color: var(--fs-muted, #6b7280) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}

.fs-delivery-slot-days {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 0 0 22px !important;
}

.fs-delivery-slot-day {
  min-height: 74px !important;
  padding: 13px 14px !important;
  border: 1px solid var(--fs-border, rgba(17, 24, 39, 0.10)) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.035) !important;
}

.fs-delivery-slot-day strong {
  color: var(--fs-text, #111827) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

.fs-delivery-slot-day span {
  margin-top: 5px !important;
  color: var(--fs-muted, #64748b) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.fs-delivery-slot-day:hover:not(:disabled),
.fs-delivery-slot-day.is-active {
  border-color: var(--fs-primary, #ef4444) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--fs-primary, #ef4444) 18%, transparent) !important;
}

.fs-delivery-slot-day.is-disabled {
  opacity: 0.42 !important;
}

.fs-delivery-slot-time-head {
  display: block !important;
  margin: 2px 0 14px !important;
}

.fs-delivery-slot-time-head strong {
  color: var(--fs-text, #111827) !important;
  font-size: 18px !important;
  font-weight: 900 !important;
}

.fs-delivery-slot-time-head .fs-muted,
#fs-delivery-slot-day-label {
  display: inline-block !important;
  margin-left: 6px !important;
  color: var(--fs-muted, #64748b) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

.fs-delivery-slot-times {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
  max-height: 360px !important;
  overflow: auto !important;
  padding-right: 4px !important;
}

.fs-delivery-slot-time {
  min-height: 46px !important;
  padding: 10px 12px !important;
  border: 1px solid var(--fs-border, rgba(17, 24, 39, 0.10)) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--fs-text, #111827) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.03) !important;
}

.fs-delivery-slot-time:hover,
.fs-delivery-slot-time.is-active {
  border-color: var(--fs-primary, #ef4444) !important;
  background: var(--fs-primary, #ef4444) !important;
  color: var(--fs-primary-contrast, #ffffff) !important;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--fs-primary, #ef4444) 28%, transparent) !important;
}

.fs-delivery-slot-modal-actions {
  position: sticky !important;
  bottom: -26px !important;
  display: flex !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  margin: 22px -26px -26px !important;
  padding: 18px 26px !important;
  border-top: 1px solid rgba(17, 24, 39, 0.08) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(8px) !important;
}

.fs-delivery-slot-modal-actions .fs-btn-secondary,
.fs-delivery-slot-modal-actions .fs-btn-primary {
  min-height: 48px !important;
  padding: 0 22px !important;
  border-radius: 14px !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

.fs-delivery-slot-modal-actions .fs-btn-primary {
  background: var(--fs-primary, #ef4444) !important;
  color: var(--fs-primary-contrast, #ffffff) !important;
}

.fs-delivery-slot-modal-actions .fs-btn-primary:hover {
  background: var(--fs-primary-hover, var(--fs-primary, #ef4444)) !important;
  color: var(--fs-primary-contrast, #ffffff) !important;
}

.fs-delivery-slot-modal-actions .fs-btn-primary:disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
}

@media (max-width: 720px) {
  .fs-delivery-slot-modal-box {
    width: calc(100vw - 18px) !important;
    max-height: calc(100vh - 18px) !important;
    margin: 9px auto !important;
    padding: 18px !important;
    border-radius: 22px !important;
  }

  .fs-delivery-slot-modal-head h3 {
    font-size: 22px !important;
  }

  .fs-delivery-slot-choice,
  .fs-delivery-slot-days {
    grid-template-columns: 1fr !important;
  }

  .fs-delivery-slot-times {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    max-height: 340px !important;
  }

  .fs-delivery-slot-time {
    min-height: 44px !important;
    font-size: 14px !important;
  }

  .fs-delivery-slot-modal-actions {
    bottom: -18px !important;
    margin: 20px -18px -18px !important;
    padding: 14px 18px !important;
  }

  .fs-delivery-slot-modal-actions .fs-btn-secondary,
  .fs-delivery-slot-modal-actions .fs-btn-primary {
    flex: 1 1 0 !important;
    justify-content: center !important;
  }
}

/* =========================================================
   FoodSync checkout planning popup - visual correction v2
   Tekst vast zwart, alleen acties volgen brandkleur
   Radius volgt card/button branding met fallback
   ========================================================= */

.fs-delivery-slot-modal {
  --fs-planning-card-radius: var(--fs-card-radius, var(--fs-radius-card, var(--fs-radius, 22px)));
  --fs-planning-button-radius: var(--fs-button-radius, var(--fs-radius-button, var(--fs-planning-card-radius)));
}

/* Modal zelf volgt card-radius */
.fs-delivery-slot-modal-box {
  border-radius: var(--fs-planning-card-radius) !important;
  background: #ffffff !important;
}

/* Alle vaste tekst in de popup NIET door branding laten verkleuren */
.fs-delivery-slot-modal-box,
.fs-delivery-slot-modal-box h1,
.fs-delivery-slot-modal-box h2,
.fs-delivery-slot-modal-box h3,
.fs-delivery-slot-modal-box h4,
.fs-delivery-slot-modal-box strong,
.fs-delivery-slot-modal-box button,
.fs-delivery-slot-modal-head h3,
.fs-delivery-slot-time-head strong,
#fs-delivery-slot-day-label {
  color: #000000 !important;
}

.fs-delivery-slot-modal-box .fs-muted,
.fs-delivery-slot-choice-card span,
.fs-delivery-slot-day span {
  color: #6b7280 !important;
}

/* Sluitknop rustig en duidelijk */
.fs-delivery-slot-modal-close {
  border-radius: var(--fs-planning-button-radius) !important;
  background: #f3f4f6 !important;
  color: #000000 !important;
}

.fs-delivery-slot-modal-close:hover {
  background: #e5e7eb !important;
  color: #000000 !important;
}

/* Keuze-kaarten: card radius, geen rare kleur */
.fs-delivery-slot-choice-card {
  border-radius: var(--fs-planning-card-radius) !important;
  background: #ffffff !important;
  color: #000000 !important;
  border-color: rgba(17, 24, 39, 0.14) !important;
}

.fs-delivery-slot-choice-card strong {
  color: #000000 !important;
}

.fs-delivery-slot-choice-card:hover,
.fs-delivery-slot-choice-card:focus-visible {
  border-color: var(--fs-primary, #ef4444) !important;
  background: #ffffff !important;
  color: #000000 !important;
}

/* Dagknoppen: card radius */
.fs-delivery-slot-day {
  border-radius: var(--fs-planning-card-radius) !important;
  background: #ffffff !important;
  color: #000000 !important;
  border-color: rgba(17, 24, 39, 0.12) !important;
}

.fs-delivery-slot-day strong {
  color: #000000 !important;
}

.fs-delivery-slot-day:hover:not(:disabled),
.fs-delivery-slot-day.is-active {
  border-color: var(--fs-primary, #ef4444) !important;
  background: #ffffff !important;
  color: #000000 !important;
}

/* Tijdknoppen: button radius, geen pill tenzij button-style dat zelf wil */
.fs-delivery-slot-time {
  border-radius: var(--fs-planning-button-radius) !important;
  background: #ffffff !important;
  color: #000000 !important;
  border-color: rgba(17, 24, 39, 0.12) !important;
}

.fs-delivery-slot-time:hover,
.fs-delivery-slot-time.is-active {
  border-color: var(--fs-primary, #ef4444) !important;
  background: var(--fs-primary, #ef4444) !important;
  color: var(--fs-primary-contrast, #ffffff) !important;
}

/* Footer knoppen consistent */
.fs-delivery-slot-modal-actions .fs-btn-secondary,
.fs-delivery-slot-modal-actions .fs-btn-primary {
  border-radius: var(--fs-planning-button-radius) !important;
}

.fs-delivery-slot-modal-actions .fs-btn-secondary {
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid rgba(17, 24, 39, 0.14) !important;
}

.fs-delivery-slot-modal-actions .fs-btn-secondary:hover {
  background: #f3f4f6 !important;
  color: #000000 !important;
}

.fs-delivery-slot-modal-actions .fs-btn-primary {
  background: var(--fs-primary, #ef4444) !important;
  color: var(--fs-primary-contrast, #ffffff) !important;
  border-color: var(--fs-primary, #ef4444) !important;
}

.fs-delivery-slot-modal-actions .fs-btn-primary:hover {
  background: var(--fs-primary-hover, var(--fs-primary, #ef4444)) !important;
  color: var(--fs-primary-contrast, #ffffff) !important;
}

/* Disabled mag flets, maar niet bijna onzichtbaar */
.fs-delivery-slot-modal-actions .fs-btn-primary:disabled {
  opacity: 0.55 !important;
}

.fs-delivery-slot-day.is-disabled,
.fs-delivery-slot-time:disabled {
  opacity: 0.55 !important;
}

/* Planning popup subtitle hard overrulen */
body.fs-shop #fs-delivery-slot-modal .fs-delivery-slot-modal-head p.fs-muted,
body.fs-shop #fs-delivery-slot-modal p.fs-muted,
#fs-delivery-slot-modal .fs-delivery-slot-modal-head p,
#fs-delivery-slot-modal .fs-delivery-slot-modal-head .fs-muted {
  color: #000000 !important;
  opacity: 1 !important;
}

/* =========================================================
   FoodSync planning popup - mobile center + compacte dagenrij
   ========================================================= */

/* Modal netjes verticaal centreren */
#fs-delivery-slot-modal.is-open {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 18px !important;
}

#fs-delivery-slot-modal .fs-delivery-slot-modal-box {
  margin: 0 auto !important;
  max-height: calc(100dvh - 36px) !important;
}

/* Mobiel: dagen niet als lange lijst, maar als horizontale swipe rij */
@media (max-width: 720px) {
  #fs-delivery-slot-modal.is-open {
    align-items: center !important;
    padding: 12px !important;
  }

  #fs-delivery-slot-modal .fs-delivery-slot-modal-box {
    width: calc(100vw - 24px) !important;
    max-height: calc(100dvh - 24px) !important;
    margin: 0 auto !important;
  }

  #fs-delivery-slot-modal .fs-delivery-slot-days {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(210px, 76vw) !important;
    grid-template-columns: none !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 2px 2px 12px !important;
    margin-bottom: 20px !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
  }

  #fs-delivery-slot-modal .fs-delivery-slot-day {
    scroll-snap-align: start !important;
    min-height: 96px !important;
  }

  /* Tijden zo laten: 3 kolommen op mobiel */
  #fs-delivery-slot-modal .fs-delivery-slot-times {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    max-height: 340px !important;
  }

  /* Footer blijft netjes onderin de popup */
  #fs-delivery-slot-modal .fs-delivery-slot-modal-actions {
    position: sticky !important;
    bottom: -18px !important;
  }
}

/* FoodSync planning popup - desktop ook verticaal centreren */
@media (min-width: 721px) {
  #fs-delivery-slot-modal.is-open {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
  }

  #fs-delivery-slot-modal .fs-delivery-slot-modal-box {
    margin: 0 auto !important;
    max-height: calc(100vh - 48px) !important;
  }
}

/* =========================================================
   FoodSync planning popup - voorkom scrollen van pagina erachter
   ========================================================= */

/* Als de planning popup open is, vangt de modal alle scroll op */
#fs-delivery-slot-modal.is-open {
  overscroll-behavior: contain !important;
}

/* De popup zelf mag scrollen, maar mag scroll niet doorgeven aan de pagina */
#fs-delivery-slot-modal .fs-delivery-slot-modal-box {
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
}

/* De tijdlijst mag intern scrollen zonder de achtergrondpagina mee te trekken */
#fs-delivery-slot-modal .fs-delivery-slot-times {
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
}

/* Ook de dagenrij op mobiel niet laten doorrollen naar de pagina */
#fs-delivery-slot-modal .fs-delivery-slot-days {
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
}

/* FoodSync planning popup - body scroll lock */
html.fs-planning-modal-lock,
body.fs-planning-modal-lock {
  overflow: hidden !important;
  height: 100% !important;
  overscroll-behavior: none !important;
}

body.fs-planning-modal-lock {
  touch-action: none;
}

body.fs-planning-modal-lock #fs-delivery-slot-modal,
body.fs-planning-modal-lock #fs-delivery-slot-modal .fs-delivery-slot-modal-box,
body.fs-planning-modal-lock #fs-delivery-slot-modal .fs-delivery-slot-times {
  touch-action: auto;
}

/* =========================================================
   FoodSync checkout tip module - premium v1
   ========================================================= */

.fs-tip-card {
  --fs-tip-card-radius: var(--fs-card-radius, var(--fs-radius-card, var(--fs-radius, 22px)));
  --fs-tip-button-radius: var(--fs-button-radius, var(--fs-radius-button, var(--fs-tip-card-radius)));
}

.fs-tip-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.fs-tip-option {
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: var(--fs-tip-button-radius);
  background: #ffffff;
  color: #000000;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.03);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background-color .18s ease, color .18s ease;
}

.fs-tip-option strong {
  color: inherit;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.15;
}

.fs-tip-option:hover,
.fs-tip-option.is-active {
  border-color: var(--fs-primary, #ef4444);
  background: var(--fs-primary, #ef4444);
  color: var(--fs-primary-contrast, #ffffff);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--fs-primary, #ef4444) 26%, transparent);
  transform: translateY(-1px);
}

.fs-tip-custom-wrap {
  margin-top: 16px;
}

.fs-tip-custom-wrap[hidden] {
  display: none !important;
}

@media (max-width: 720px) {
  .fs-tip-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fs-tip-option {
    min-height: 50px;
    padding: 10px 12px;
  }
}

/* =========================================================
   FoodSync checkout tip modal - premium popup v2
   ========================================================= */

.fs-tip-card--compact {
  position: relative;
}

.fs-tip-compact-head {
  align-items: center;
}

.fs-tip-compact-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  background: rgba(17, 24, 39, 0.025);
  color: #000;
}

.fs-tip-compact-summary span {
  color: #000;
  font-weight: 800;
}

.fs-tip-compact-summary strong {
  color: #000;
  font-weight: 950;
}

.fs-tip-modal {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: none;
}

.fs-tip-modal.is-open {
  display: block;
}

.fs-tip-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(3px);
}

.fs-tip-modal-box {
  position: relative;
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  margin: 24px auto;
  padding: 28px;
  background: #fff;
  color: #000;
  border: 1px solid rgba(17, 24, 39, 0.10);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
}

.fs-tip-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.fs-tip-modal-head h3 {
  margin: 0;
  color: #000;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 950;
}

.fs-tip-modal-head .fs-muted {
  margin: 10px 0 0;
  color: #000 !important;
  font-size: 17px;
  line-height: 1.45;
}

.fs-tip-modal-close {
  width: 54px;
  height: 54px;
  border: 0;
  background: rgba(17, 24, 39, 0.06);
  color: #000;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.fs-tip-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.fs-tip-option {
  min-height: 64px;
  padding: 14px 16px;
  border: 1px solid rgba(17, 24, 39, 0.13);
  background: #fff;
  color: #000;
  cursor: pointer;
  font-weight: 950;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.03);
  transition:
    border-color .18s ease,
    background-color .18s ease,
    color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.fs-tip-option strong {
  color: inherit;
  font-size: 16px;
  font-weight: 950;
}

.fs-tip-option:hover,
.fs-tip-option.is-active {
  border-color: var(--fs-primary, #ef4444);
  background: var(--fs-primary, #ef4444);
  color: var(--fs-primary-contrast, #fff);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--fs-primary, #ef4444) 26%, transparent);
  transform: translateY(-1px);
}

.fs-tip-custom-wrap {
  margin-top: 18px;
}

.fs-tip-custom-wrap[hidden] {
  display: none !important;
}

.fs-tip-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.fs-tip-modal-actions .fs-btn,
.fs-tip-modal-actions .fs-btn-primary {
  min-width: 170px;
  min-height: 58px;
  justify-content: center;
}

/* Volg globale radius-instellingen, net als planning popup */
.fs-tip-modal-box,
.fs-tip-option,
.fs-tip-compact-summary {
  border-radius: var(--fs-card-radius, var(--fs-radius-card, var(--fs-radius, 0px)));
}

.fs-tip-modal-close,
.fs-tip-modal-actions .fs-btn,
.fs-tip-modal-actions .fs-btn-primary {
  border-radius: var(--fs-button-radius, var(--fs-radius-button, var(--fs-radius, 0px)));
}

/* Body lock voor fooi popup */
html.fs-tip-modal-lock,
body.fs-tip-modal-lock {
  overflow: hidden !important;
  height: 100% !important;
  overscroll-behavior: none !important;
}

@media (max-width: 720px) {
  .fs-tip-modal-box {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    margin: 10px auto;
    padding: 22px;
  }

  .fs-tip-modal-head h3 {
    font-size: 25px;
  }

  .fs-tip-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fs-tip-option {
    min-height: 58px;
  }

  .fs-tip-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .fs-tip-modal-actions .fs-btn,
  .fs-tip-modal-actions .fs-btn-primary {
    min-width: 0;
    width: 100%;
  }

  .fs-tip-compact-head {
    display: grid;
    gap: 16px;
  }

  .fs-tip-compact-head .fs-btn {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   FoodSync fooi compact card - vaste positieve knopkleur
   ========================================================= */

.fs-tip-card--compact .fs-tip-compact-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

#fs-open-tip-modal {
  background: #43bf71 !important;
  border-color: #43bf71 !important;
  color: #ffffff !important;
  font-weight: 950 !important;
  min-height: 52px;
  padding: 0 22px;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.24);
}

#fs-open-tip-modal:hover,
#fs-open-tip-modal:focus-visible {
  background: #28ad59 !important;
  border-color: #28ad59 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(22, 163, 74, 0.30);
}

.fs-tip-compact-summary {
  margin-top: 22px;
  padding: 18px 22px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: rgba(17, 24, 39, 0.025);
}

@media (max-width: 720px) {
  .fs-tip-card--compact .fs-tip-compact-head {
    display: grid;
    gap: 16px;
  }

  #fs-open-tip-modal {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   FoodSync tip modal - fix: echte gecentreerde popup
   ========================================================= */

.fs-tip-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10020 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
}

.fs-tip-modal.is-open {
  display: flex !important;
}

.fs-tip-modal-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.58) !important;
  backdrop-filter: blur(3px) !important;
}

.fs-tip-modal-box {
  position: relative !important;
  z-index: 1 !important;
  width: min(720px, calc(100vw - 48px)) !important;
  max-height: calc(100vh - 48px) !important;
  overflow: auto !important;
  margin: 0 !important;
  padding: 28px !important;
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid rgba(17, 24, 39, 0.10) !important;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28) !important;
}

.fs-tip-modal-head h3,
.fs-tip-modal-head .fs-muted {
  color: #000000 !important;
}

.fs-tip-modal-actions {
  position: sticky;
  bottom: 0;
  background: #ffffff;
  margin-left: -28px;
  margin-right: -28px;
  margin-bottom: -28px;
  padding: 22px 28px;
}

@media (max-width: 720px) {
  .fs-tip-modal {
    padding: 12px !important;
    align-items: center !important;
  }

  .fs-tip-modal-box {
    width: calc(100vw - 24px) !important;
    max-height: calc(100vh - 24px) !important;
    padding: 22px !important;
  }

  .fs-tip-modal-actions {
    margin-left: -22px;
    margin-right: -22px;
    margin-bottom: -22px;
    padding: 18px 22px;
  }
}

/* =========================================================
   FoodSync tip modal - zelfde gedrag als planning popup
   ========================================================= */

html.fs-tip-modal-lock,
body.fs-tip-modal-lock {
  overflow: hidden !important;
  height: auto !important;
  overscroll-behavior: none !important;
}

.fs-tip-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10020 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  background: transparent !important;
}

.fs-tip-modal.is-open {
  display: flex !important;
  background: transparent !important;
}

.fs-tip-modal-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.34) !important;
  backdrop-filter: blur(3px) !important;
  -webkit-backdrop-filter: blur(3px) !important;
}

.fs-tip-modal-box {
  position: relative !important;
  z-index: 2 !important;
  width: min(720px, calc(100vw - 48px)) !important;
  max-height: calc(100vh - 48px) !important;
  overflow: auto !important;
  margin: 0 !important;
  padding: 28px !important;
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid rgba(17, 24, 39, 0.10) !important;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28) !important;
}

.fs-tip-modal-head h3,
.fs-tip-modal-head .fs-muted {
  color: #000000 !important;
}

@media (max-width: 720px) {
  .fs-tip-modal {
    padding: 12px !important;
  }

  .fs-tip-modal-box {
    width: calc(100vw - 24px) !important;
    max-height: calc(100vh - 24px) !important;
    padding: 22px !important;
  }
}

/* =========================================================
   FoodSync checkout summary choice cards/buttons - sharper v1
   ========================================================= */

/* Gewenste tijd gekozen-vlak */
.fs-delivery-slot-summary {
  border-radius: 0 !important;
  background: rgba(22, 163, 74, 0.055) !important;
  border: 1px solid rgba(22, 163, 74, 0.16) !important;
  box-shadow: none !important;
}

/* Tekst in gewenste tijd vlak */
.fs-delivery-slot-summary strong,
.fs-delivery-slot-summary span {
  color: #000000 !important;
}

/* Button Tijd kiezen in gewenste tijd summary */
#fs-open-delivery-slot-modal {
  border-radius: 0 !important;
  background: #000000 !important;
  border-color: #000000 !important;
  color: #ffffff !important;
  font-weight: 950 !important;
  box-shadow: none !important;
}

#fs-open-delivery-slot-modal:hover,
#fs-open-delivery-slot-modal:focus-visible {
  background: #161616 !important;
  border-color: #161616 !important;
  color: #ffffff !important;
  transform: none !important;
}

/* Fooi kiezen knop: groen, maar strak zonder radius */
#fs-open-tip-modal {
  border-radius: 0 !important;
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #ffffff !important;
  font-weight: 950 !important;
  box-shadow: none !important;
}

#fs-open-tip-modal:hover,
#fs-open-tip-modal:focus-visible {
  border-radius: 0 !important;
  background: #15803d !important;
  border-color: #15803d !important;
  color: #ffffff !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Fooi gekozen-vlak ook strak houden */
.fs-tip-compact-summary {
  border-radius: 0 !important;
  background: rgba(22, 163, 74, 0.055) !important;
  border: 1px solid rgba(22, 163, 74, 0.16) !important;
  box-shadow: none !important;
}

.fs-tip-compact-summary span,
.fs-tip-compact-summary strong {
  color: #000000 !important;
}

/* Mobiel: knoppen strak houden */
@media (max-width: 720px) {
  #fs-open-delivery-slot-modal,
  #fs-open-tip-modal {
    border-radius: 0 !important;
  }

  .fs-delivery-slot-summary,
  .fs-tip-compact-summary {
    border-radius: 0 !important;
  }
}

/* =========================================================
   FoodSync payment methods - harde override alle childs v3
   ========================================================= */

#fs-payment-methods .fs-payment-method,
#fs-payment-methods .fs-payment-method *,
#fs-payment-methods .fs-payment-method::before,
#fs-payment-methods .fs-payment-method::after {
  box-shadow: none !important;
  outline: none !important;
}

#fs-payment-methods .fs-payment-method {
  border: 1px solid rgba(17, 24, 39, 0.10) !important;
  background: #ffffff !important;
}

#fs-payment-methods .fs-payment-method:hover {
  border: 1px solid rgba(17, 24, 39, 0.18) !important;
  background: rgba(17, 24, 39, 0.025) !important;
}

#fs-payment-methods .fs-payment-method.is-active,
#fs-payment-methods .fs-payment-method:has(input:checked) {
  border: 1px solid rgba(17, 24, 39, 0.10) !important;
  background: rgba(22, 163, 74, 0.055) !important;
}

#fs-payment-methods .fs-payment-method.is-active:hover,
#fs-payment-methods .fs-payment-method:has(input:checked):hover {
  border: 1px solid rgba(17, 24, 39, 0.14) !important;
  background: rgba(22, 163, 74, 0.07) !important;
}

#fs-payment-methods .fs-payment-method input[type="radio"] {
  outline: none !important;
  box-shadow: none !important;
  accent-color: #16a34a !important;
}

#fs-payment-methods .fs-payment-method-body,
#fs-payment-methods .fs-payment-method-media,
#fs-payment-methods .fs-payment-method-text {
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent !important;
}

/* =========================================================
   FoodSync — FORCE location closed preorder notice styling
   Tijdelijke harde override zodat de popupmelding zichtbaar premium wordt
========================================================= */

body.fs-shop .fs-location-modal .fs-location-closed-notice,
body .fs-location-modal .fs-location-closed-notice,
.fs-location-modal .fs-location-closed-notice {
    display: none;
    margin: 22px 0 22px !important;
    padding: 20px 24px !important;
    border: 1px solid #fdba74 !important;
    background: #fff7ed !important;
    color: #9a3412 !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    letter-spacing: -0.01em !important;
}

body.fs-shop .fs-location-modal .fs-location-closed-notice::before,
body .fs-location-modal .fs-location-closed-notice::before,
.fs-location-modal .fs-location-closed-notice::before {
    content: "⏱" !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    margin-right: 12px !important;
    border-radius: 999px !important;
    background: #ffe08a !important;
    color: #92400e !important;
    font-size: 15px !important;
    vertical-align: middle !important;
}

body.fs-shop .fs-location-modal .fs-location-closed-notice.error,
body .fs-location-modal .fs-location-closed-notice.error,
.fs-location-modal .fs-location-closed-notice.error {
    border-color: #ef4444 !important;
    background: #fee2e2 !important;
    color: #7f1d1d !important;
}

body.fs-shop .fs-location-modal .fs-location-closed-notice.error::before,
body .fs-location-modal .fs-location-closed-notice.error::before,
.fs-location-modal .fs-location-closed-notice.error::before {
    content: "!" !important;
    background: #fecaca !important;
    color: #b91c1c !important;
}



/* =========================================================
   FoodSync — mobiele afhalen/bezorgen popup compacter
   Doel:
   - Knoppen beter in beeld op mobiel
   - Minder verticale ruimte
   - Desktop ongemoeid laten
========================================================= */

@media (max-width: 640px) {
    body.fs-shop .fs-location-modal .fs-product-modal-panel,
    body .fs-location-modal .fs-product-modal-panel,
    .fs-location-modal .fs-product-modal-panel {
        width: calc(100vw - 28px) !important;
        max-height: calc(100vh - 34px) !important;
        overflow-y: auto !important;
    }

    body.fs-shop .fs-location-modal .fs-location-modal-head,
    body .fs-location-modal .fs-location-modal-head,
    .fs-location-modal .fs-location-modal-head {
        padding: 26px 28px 20px !important;
    }

    body.fs-shop .fs-location-modal .fs-location-modal-title,
    body .fs-location-modal .fs-location-modal-title,
    .fs-location-modal .fs-location-modal-title {
        font-size: 34px !important;
        line-height: 1.06 !important;
        letter-spacing: -0.045em !important;
    }

    body.fs-shop .fs-location-modal .fs-location-modal-intro,
    body .fs-location-modal .fs-location-modal-intro,
    .fs-location-modal .fs-location-modal-intro {
        margin-top: 12px !important;
        font-size: 17px !important;
        line-height: 1.35 !important;
    }

    body.fs-shop .fs-location-modal .fs-location-modal-body,
    body .fs-location-modal .fs-location-modal-body,
    .fs-location-modal .fs-location-modal-body {
        padding: 22px 28px 24px !important;
    }

    body.fs-shop .fs-location-modal .fs-location-choice-grid,
    body .fs-location-modal .fs-location-choice-grid,
    .fs-location-modal .fs-location-choice-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    body.fs-shop .fs-location-modal .fs-location-choice-btn,
    body .fs-location-modal .fs-location-choice-btn,
    .fs-location-modal .fs-location-choice-btn {
        min-height: 116px !important;
        padding: 22px 26px !important;
    }

    body.fs-shop .fs-location-modal .fs-location-choice-title,
    body .fs-location-modal .fs-location-choice-title,
    .fs-location-modal .fs-location-choice-title {
        font-size: 28px !important;
        line-height: 1.1 !important;
    }

    body.fs-shop .fs-location-modal .fs-location-choice-desc,
    body .fs-location-modal .fs-location-choice-desc,
    .fs-location-modal .fs-location-choice-desc {
        margin-top: 10px !important;
        font-size: 17px !important;
        line-height: 1.35 !important;
    }

    body.fs-shop .fs-location-modal .fs-location-closed-notice,
    body .fs-location-modal .fs-location-closed-notice,
    .fs-location-modal .fs-location-closed-notice {
        margin: 16px 0 18px !important;
        padding: 16px 18px !important;
        font-size: 15px !important;
        line-height: 1.45 !important;
    }

    body.fs-shop .fs-location-modal .fs-location-closed-notice::before,
    body .fs-location-modal .fs-location-closed-notice::before,
    .fs-location-modal .fs-location-closed-notice::before {
        width: 24px !important;
        height: 24px !important;
        margin-right: 10px !important;
        font-size: 13px !important;
    }

    body.fs-shop .fs-location-modal .fs-location-section,
    body .fs-location-modal .fs-location-section,
    .fs-location-modal .fs-location-section {
        margin-top: 16px !important;
        padding: 18px 20px !important;
    }

    body.fs-shop .fs-location-modal .fs-location-input-label,
    body .fs-location-modal .fs-location-input-label,
    .fs-location-modal .fs-location-input-label {
        font-size: 14px !important;
        line-height: 1.25 !important;
    }

    body.fs-shop .fs-location-modal .fs-location-postcode-input,
    body.fs-shop .fs-location-modal .fs-location-pickup-city-input,
    body .fs-location-modal .fs-location-postcode-input,
    body .fs-location-modal .fs-location-pickup-city-input,
    .fs-location-modal .fs-location-postcode-input,
    .fs-location-modal .fs-location-pickup-city-input {
        height: 58px !important;
        padding: 0 20px !important;
        font-size: 24px !important;
    }

    body.fs-shop .fs-location-modal .fs-location-help,
    body .fs-location-modal .fs-location-help,
    .fs-location-modal .fs-location-help {
        margin-top: 12px !important;
        font-size: 15px !important;
        line-height: 1.35 !important;
    }

    body.fs-shop .fs-location-modal .fs-location-modal-footer,
    body .fs-location-modal .fs-location-modal-footer,
    .fs-location-modal .fs-location-modal-footer {
        margin-top: 18px !important;
        padding-top: 18px !important;
        display: flex !important;
        flex-direction: column-reverse !important;
        gap: 12px !important;
    }

    body.fs-shop .fs-location-modal .fs-location-primary-btn,
    body.fs-shop .fs-location-modal .fs-location-secondary-btn,
    body .fs-location-modal .fs-location-primary-btn,
    body .fs-location-modal .fs-location-secondary-btn,
    .fs-location-modal .fs-location-primary-btn,
    .fs-location-modal .fs-location-secondary-btn {
        width: 100% !important;
        min-height: 58px !important;
        padding: 0 20px !important;
        font-size: 18px !important;
    }
}

/* =========================================================
   FoodSync — mobiele afhalen/bezorgen keuze naast elkaar
   Doel:
   - Bezorgen en Afhalen op mobiel naast elkaar tonen
   - Popup wordt korter
   - Alleen voor location modal
========================================================= */

@media (max-width: 640px) {
    body.fs-shop .fs-location-modal .fs-location-choice-grid,
    body .fs-location-modal .fs-location-choice-grid,
    .fs-location-modal .fs-location-choice-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }

    body.fs-shop .fs-location-modal .fs-location-choice-btn,
    body .fs-location-modal .fs-location-choice-btn,
    .fs-location-modal .fs-location-choice-btn {
        min-height: 104px !important;
        padding: 18px 16px !important;
    }

    body.fs-shop .fs-location-modal .fs-location-choice-title,
    body .fs-location-modal .fs-location-choice-title,
    .fs-location-modal .fs-location-choice-title {
        font-size: 24px !important;
        line-height: 1.08 !important;
        letter-spacing: -0.035em !important;
    }

    body.fs-shop .fs-location-modal .fs-location-choice-desc,
    body .fs-location-modal .fs-location-choice-desc,
    .fs-location-modal .fs-location-choice-desc {
        margin-top: 9px !important;
        font-size: 14px !important;
        line-height: 1.28 !important;
    }

    body.fs-shop .fs-location-modal .fs-location-choice-btn::after,
    body .fs-location-modal .fs-location-choice-btn::after,
    .fs-location-modal .fs-location-choice-btn::after {
        width: 22px !important;
        height: 22px !important;
        top: 12px !important;
        right: 12px !important;
    }
}

/* =========================================================
   FoodSync — mobiele locatiekeuze tegels simpeler
   Doel:
   - Op mobiel alleen Bezorgen / Afhalen tonen
   - Omschrijving verbergen voor compactere popup
========================================================= */

@media (max-width: 640px) {
    body.fs-shop .fs-location-modal .fs-location-choice-desc,
    body .fs-location-modal .fs-location-choice-desc,
    .fs-location-modal .fs-location-choice-desc {
        display: none !important;
    }

    body.fs-shop .fs-location-modal .fs-location-choice-btn,
    body .fs-location-modal .fs-location-choice-btn,
    .fs-location-modal .fs-location-choice-btn {
        min-height: 86px !important;
        padding: 22px 18px !important;
        display: flex !important;
        align-items: center !important;
    }

    body.fs-shop .fs-location-modal .fs-location-choice-title,
    body .fs-location-modal .fs-location-choice-title,
    .fs-location-modal .fs-location-choice-title {
        font-size: 24px !important;
        line-height: 1.1 !important;
    }
}

/* =========================================================
   FoodSync — mobiele locatiekeuze laatste verfijning
   Doel:
   - Bezorgen/Afhalen tekst paar px kleiner
   - Groene selectiecirkel circa 25% kleiner op mobiel
========================================================= */

@media (max-width: 640px) {
    body.fs-shop .fs-location-modal .fs-location-choice-title,
    body .fs-location-modal .fs-location-choice-title,
    .fs-location-modal .fs-location-choice-title {
        font-size: 21px !important;
        line-height: 1.08 !important;
    }

    body.fs-shop .fs-location-modal .fs-location-choice-btn::after,
    body .fs-location-modal .fs-location-choice-btn::after,
    .fs-location-modal .fs-location-choice-btn::after {
        width: 11px !important;
        height: 11px !important;
        top: 9px !important;
        right: 9px !important;
    }

    body.fs-shop .fs-location-modal .fs-location-choice-btn.is-active::after,
    body .fs-location-modal .fs-location-choice-btn.is-active::after,
    .fs-location-modal .fs-location-choice-btn.is-active::after {
        box-shadow: 0 0 0 9px rgba(34, 197, 94, 0.18) !important;
    }
}

/* =========================================================
   FoodSync — mobiele locatiepopup compact polish
   Doel:
   - Bezorgen/Afhalen tegels lager en beter gecentreerd
   - Plaats/postcode input compacter
   - Rode focus-border vervangen door lichte grijs/blauwgrijs
========================================================= */

@media (max-width: 640px) {
    body.fs-shop .fs-location-modal .fs-location-choice-grid,
    body .fs-location-modal .fs-location-choice-grid,
    .fs-location-modal .fs-location-choice-grid {
        gap: 10px !important;
        margin-bottom: 14px !important;
    }

    body.fs-shop .fs-location-modal .fs-location-choice-btn,
    body .fs-location-modal .fs-location-choice-btn,
    .fs-location-modal .fs-location-choice-btn {
        min-height: 74px !important;
        height: 74px !important;
        padding: 0 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    body.fs-shop .fs-location-modal .fs-location-choice-title,
    body .fs-location-modal .fs-location-choice-title,
    .fs-location-modal .fs-location-choice-title {
        font-size: 20px !important;
        line-height: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.fs-shop .fs-location-modal .fs-location-choice-desc,
    body .fs-location-modal .fs-location-choice-desc,
    .fs-location-modal .fs-location-choice-desc {
        display: none !important;
    }

    body.fs-shop .fs-location-modal .fs-location-choice-btn::after,
    body .fs-location-modal .fs-location-choice-btn::after,
    .fs-location-modal .fs-location-choice-btn::after {
        width: 15px !important;
        height: 15px !important;
        top: 11px !important;
        right: 11px !important;
    }

    body.fs-shop .fs-location-modal .fs-location-choice-btn.is-active::after,
    body .fs-location-modal .fs-location-choice-btn.is-active::after,
    .fs-location-modal .fs-location-choice-btn.is-active::after {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.17) !important;
    }

    body.fs-shop .fs-location-modal .fs-location-section,
    body .fs-location-modal .fs-location-section,
    .fs-location-modal .fs-location-section {
        margin-top: 14px !important;
        padding: 17px 18px !important;
    }

    body.fs-shop .fs-location-modal .fs-location-input-label,
    body .fs-location-modal .fs-location-input-label,
    .fs-location-modal .fs-location-input-label {
        font-size: 13px !important;
        line-height: 1.2 !important;
        letter-spacing: 0.06em !important;
        margin-bottom: 12px !important;
    }

    body.fs-shop .fs-location-modal .fs-location-postcode-input,
    body.fs-shop .fs-location-modal .fs-location-pickup-city-input,
    body .fs-location-modal .fs-location-postcode-input,
    body .fs-location-modal .fs-location-pickup-city-input,
    .fs-location-modal .fs-location-postcode-input,
    .fs-location-modal .fs-location-pickup-city-input {
        height: 54px !important;
        min-height: 54px !important;
        padding: 0 18px !important;
        font-size: 22px !important;
        line-height: 54px !important;
        border: 1px solid #d1d5db !important;
        outline: none !important;
        box-shadow: none !important;
    }

    body.fs-shop .fs-location-modal .fs-location-postcode-input::placeholder,
    body.fs-shop .fs-location-modal .fs-location-pickup-city-input::placeholder,
    body .fs-location-modal .fs-location-postcode-input::placeholder,
    body .fs-location-modal .fs-location-pickup-city-input::placeholder,
    .fs-location-modal .fs-location-postcode-input::placeholder,
    .fs-location-modal .fs-location-pickup-city-input::placeholder {
        font-size: 22px !important;
        color: #9ca3af !important;
        opacity: 1 !important;
    }

    body.fs-shop .fs-location-modal .fs-location-postcode-input:focus,
    body.fs-shop .fs-location-modal .fs-location-pickup-city-input:focus,
    body .fs-location-modal .fs-location-postcode-input:focus,
    body .fs-location-modal .fs-location-pickup-city-input:focus,
    .fs-location-modal .fs-location-postcode-input:focus,
    .fs-location-modal .fs-location-pickup-city-input:focus {
        border-color: #cbd5e1 !important;
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.16) !important;
    }

    body.fs-shop .fs-location-modal .fs-location-help,
    body .fs-location-modal .fs-location-help,
    .fs-location-modal .fs-location-help {
        font-size: 14px !important;
        line-height: 1.35 !important;
        margin-top: 10px !important;
    }
}
/* Geen beoordelingen (nog te weinig): het scoreblok links valt weg, de
   openingsstatus schuift dan naar rechts in plaats van naar links. */
.fs-review.is-without-score{
  justify-content:flex-end;
}

/* ==========================================================================
   Eenvoudig product toevoegen — allergenen en bestelknop
   --------------------------------------------------------------------------
   De allergenen stonden in de tekstkolom en duwden de bestelknop naar
   beneden, terwijl er onder de afbeelding ruimte over was. Ze staan nu daar.

   De knop brak zijn tekst over twee regels terwijl hij de volle breedte had:
   "Voeg toe" en het bedrag stonden allebei afgebroken. Beide delen mogen niet
   meer breken, en op smalle schermen mag de knop wat minder zijvulling en een
   kleinere letter hebben zodat het past.
   ========================================================================== */

body.fs-shop #fs-product-info-modal .fs-product-modal-media .fs-product-modal-section {
  margin-top: 14px;
}

body.fs-shop #fs-product-info-modal .fs-product-modal-media .fs-product-modal-allergens {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

body.fs-shop #fs-product-info-modal .fs-product-modal-media .fs-product-modal-allergen {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.fs-shop #fs-product-info-modal .fs-product-order-add > span {
  white-space: nowrap;
}

@media (max-width: 560px) {
  body.fs-shop #fs-product-info-modal .fs-product-order-add {
    gap: 10px !important;
    padding: 0 16px !important;
    font-size: 16px !important;
  }
}


/* Voedingskenmerken (vegetarisch, vegan, halal) naast de productnaam. */
.fs-product-card-diets{
  display:inline-flex;
  gap:4px;
  margin-left:8px;
  vertical-align:middle;
}

.fs-product-card-diets img{
  width:18px;
  height:18px;
  display:block;
}
