/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Besley:wght@400;600;700;800&family=Open+Sans:wght@300;400;600;700;800&display=swap');

:root{
  --mezzo-purple:rgb(12,22,54);
  --mezzo-orange:#E46A2B;
  --mezzo_gray_bg:#f4f2ee;
  --mezzo-card-bg:#ffffff;
  --mezzo-text:#1f1f1f;
  --mezzo-muted:#6b6b6b;
  --mezzo-max:1080px;
  --radius:12px;
  --shadow:0 10px 24px rgba(0,0,0,0.08);
  --focus:0 0 0 3px rgba(12,22,54,0.35);
  --bar-bg:#ebeaef;
  --seg-off:#b8b1c6;
  --seg-on:#E46A2B;
  --sep:#d9d5e4;
  --tick:#2b183f;
  --seg-text:#ffffff;
  --seg-text-off:#2b183f;
  --disabled:#e9e7ef;
  --disabled_text:#9a96a8;
  --selected_card:rgba(12,22,54,0.06);
}

html,body{
  margin:0;
  padding:0;
  color:var(--mezzo-text);
  font-family:'Open Sans',Arial,Helvetica,sans-serif;
  background:var(--mezzo_gray_bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* Fixed header */
.hero{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  background:var(--mezzo-purple);
  color:#fff;
  padding:20px 20px 12px;
  box-shadow:0 4px 16px rgba(0,0,0,0.15);
}

.wrap{max-width:var(--mezzo-max);margin:0 auto;width:100%;}
.center{text-align:center;}
.brand{display:flex;flex-direction:column;align-items:center;gap:8px;}

/* Logo */
.logo{
  width:min(15%,180px);
  max-width:180px;
  height:auto;
  display:block;
}

h1,h2{font-family:'Besley',serif;margin:0;}
h1{
  font-weight:800;
  letter-spacing:0.3px;
  margin-top:2px;
  margin-bottom:4px;
  font-size:28px;
  line-height:1.1;
}

.sub{
  font-size:16px;
  line-height:1.5;
  color:#ffffff;
  opacity:0.95;
  margin:0 0 8px;
}

/* Summary bar */
.live-summary{
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  justify-content:center;
  background:var(--mezzo-orange);
  color:#ffffff;
  padding:8px 12px;
  margin:8px -20px 0;
}
.live-summary span{
  font-size:14px;
  flex:1 1 45%;
  min-width:130px;
}
.price-big{
  font-size:16px;
  font-weight:800;
  flex:1 1 100%;
}

/* Hide orange summary bar on final page */
body.final-mode .live-summary{
  display:none;
}

/* Main content */
.section{
  padding:32px 20px 64px;
  padding-top:340px;
}

body.final-mode .section{
  padding-top:285px;
}

/* Card */
.group{margin-top:12px;}
.group h2{font-weight:700;font-size:24px;margin:20px 0 12px;}
.card{
  background:var(--mezzo-card-bg);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:22px 26px;
  margin:16px 0;
  position:relative;
}
.card .row{display:flex;justify-content:space-between;align-items:center;gap:16px;}
.card h3{margin:0;font-size:18px;font-weight:800;}
.card p{margin:12px 0 0;font-size:16px;line-height:1.6;color:var(--mezzo-muted);}

/* Input */
.field{margin-top:14px;}
.label{display:block;font-size:14px;color:var(--mezzo-muted);margin-bottom:6px;}
.input{
  width:100%;
  max-width:320px;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid #e1e1e1;
  background:#fff;
  font:inherit;
  outline:none;
  transition:box-shadow .15s,border-color .15s;
  box-sizing:border-box;
}
.input:hover{border-color:#d2d2d2;}
.input:focus{box-shadow:var(--focus);border-color:var(--mezzo-purple);}
.h-like{font-family:'Besley',serif;font-weight:700;font-size:22px;color:var(--mezzo-text);}
.muted{color:var(--mezzo-muted);}
.small-muted{color:var(--mezzo-muted);font-size:14px;}

/* Time grid */
.time-grid{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  margin-top:10px;
}
.time-grid .field{
  flex:1;
  min-width:180px;
}

/* Timeline */
.timeline{margin-top:18px;}
.axis{
  position:relative;
  height:54px;
  border-radius:10px;
  background:var(--bar-bg);
  overflow:hidden;
  border:1px solid #e2deea;
}
.tick{position:absolute;top:-18px;font-size:12px;font-weight:800;color:var(--tick);}
.t07{left:0;transform:translateX(-8px);}
.t12{left:33.3333%;transform:translateX(-10px);}
.t13{left:38.8889%;transform:translateX(-10px);}
.t17{left:61.1111%;transform:translateX(-10px);}
.t18{left:66.6667%;transform:translateX(-10px);}
.t22{right:0;transform:translateX(10px);}
.v{position:absolute;top:0;bottom:0;width:2px;background:var(--sep);}
.v12{left:33.3333%;}
.v13{left:38.8889%;}
.v17{left:61.1111%;}
.v18{left:66.6667%;}
.gap{position:absolute;top:0;bottom:0;background:#f3f1f7;}
.g1{left:33.3333%;width:5.5556%;}
.g2{left:61.1111%;width:5.5556%;}
.seg{
  position:absolute;
  top:0;
  bottom:0;
  background:var(--seg-off);
  color:var(--seg-text-off);
  border:none;
  outline:none;
  cursor:default;
  transition:background .12s,color .12s,box-shadow .12s;
  pointer-events:none;
}
.morning{left:0;width:33.3333%;}
.afternoon{left:38.8889%;width:22.2222%;}
.evening{left:66.6667%;width:33.3333%;}
.seg.active{
  background:var(--seg-on);
  color:var(--seg-text);
}
.seg-label{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  font-weight:700;
  font-size:13px;
  user-select:none;
  pointer-events:none;
}

/* People slider */
.range{
  width:100%;
  margin-top:10px;
  appearance:none;
  background:transparent;
  display:block;
}
.range::-webkit-slider-runnable-track{
  height:8px;
  background:linear-gradient(to right,#ffd8b8,var(--mezzo-orange));
  border-radius:999px;
}
.range::-webkit-slider-thumb{
  -webkit-appearance:none;
  width:22px;
  height:22px;
  border-radius:50%;
  background:var(--mezzo-orange);
  margin-top:-7px;
  border:3px solid #fff;
  box-shadow:0 0 4px rgba(0,0,0,0.2);
  cursor:pointer;
}
.range::-moz-range-track{
  height:8px;
  background:linear-gradient(to right,#ffd8b8,var(--mezzo-orange));
  border-radius:999px;
}
.range::-moz-range-thumb{
  width:22px;
  height:22px;
  border-radius:50%;
  background:var(--mezzo-orange);
  border:3px solid #fff;
  box-shadow:0 0 4px rgba(0,0,0,0.2);
  cursor:pointer;
}

/* Rooms */
.room{transition:filter .15s,opacity .15s;}
.room.selected{
  background:var(--mezzo-card-bg);
  box-shadow:0 12px 28px rgba(0,0,0,0.12);
}
.room.disabled{filter:grayscale(0.6);opacity:0.6;}
.room-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.room-actions{display:flex;gap:8px;}
.room-note{margin-top:6px;color:var(--mezzo-muted);}

/* Select button */
.select-room{
  background:var(--mezzo-orange);
  color:#fff;
  border:none;
  border-radius:999px;
  padding:8px 18px;
  font-weight:700;
  cursor:pointer;
}
.select-room:hover:not(:disabled){
  filter:brightness(0.92);
}
.select-room:disabled{
  background:var(--disabled);
  color:var(--disabled_text);
  cursor:not-allowed;
}

/* Forums and boardrooms layout */
.room-forum{
  padding:22px 0;
}
.room-forum + .room-forum{
  border-top:1px dotted var(--mezzo-orange);
  margin-top:12px;
}
.room-grid{
  display:flex;
  gap:24px;
  padding:0 26px;
}
.room-photo{
  flex:0 0 45%;
}
.room-photo img{
  width:100%;
  height:100%;
  max-height:260px;
  object-fit:cover;
  border-radius:8px;
}
.room-content{
  flex:1;
  display:flex;
  flex-direction:column;
}
.room-title-block h3{
  margin:0;
  font-size:22px;
  font-family:'Besley',serif;
}
.room-dimensions{
  margin:4px 0 0;
  font-family:'Open Sans',Arial,Helvetica,sans-serif;
  font-size:14px;
  color:var(--mezzo-muted);
}
.room-dimensions strong{
  font-weight:700;
}

/* Pricing table */
.room-pricing-table{
  margin-top:14px;
  border-radius:6px;
  overflow:hidden;
  border:1px solid #d9d5e4;
  font-size:14px;
  width:100%;
}
.pricing-header,
.pricing-row{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  align-items:center;
}
.pricing-header{
  background:var(--mezzo-purple);
  color:#fff;
  font-weight:700;
  padding:6px 10px;
}
.pricing-header span{text-align:center;}
.pricing-header .pricing-label{text-align:left;}
.pricing-row.base{
  background:rgb(225,230,240);
  color:var(--mezzo-text);
  padding:6px 10px;
}
.pricing-row.base .price{
  text-align:center;
  font-weight:700;
  font-family:'Besley',serif;
}
.pricing-row.extra{
  background:rgb(238,242,248);
  color:var(--mezzo-text);
  border-top:1px solid #d3d8e0;
  padding:6px 10px;
}
.pricing-row.extra span:not(.pricing-label){
  font-family:'Besley',serif;
  font-weight:700;
}
.pricing-row span{text-align:center;}
.pricing-row .pricing-label{text-align:left;}
.price.active-price{
  text-decoration:none;
  background:var(--mezzo-purple);
  color:#fff;
  padding:2px 8px;
  border-radius:6px;
}

/* Composition icons */
.room-composition{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:16px 24px;
  justify-content:space-between;
}
.comp-item{
  display:flex;
  align-items:flex-start;
  gap:8px;
  flex:1;
  min-width:0;
}
.comp-item img{
  width:42px;
  height:42px;
  object-fit:contain;
}
.comp-text{
  display:flex;
  flex-direction:column;
  font-size:14px;
}
.comp-label{
  font-weight:700;
  font-family:'Besley',serif;
}
.comp-max{
  color:var(--mezzo-muted);
  font-size:13px;
}

/* Formation selector */
.formation-options{
  margin-top:18px;
  display:flex;
  flex-wrap:wrap;
  gap:16px;
}
.formation-btn{
  flex:1;
  min-width:160px;
  border-radius:14px;
  border:1px solid #d9d5e4;
  padding:10px 14px;
  background:#f6f5fa;
  cursor:pointer;
  text-align:left;
}
.formation-btn .formation-inner{
  display:flex;
  align-items:center;
  gap:12px;
}
.formation-btn img{
  width:56px;
  height:56px;
  object-fit:contain;
}
.formation-text{
  display:flex;
  flex-direction:column;
}
.formation-label{
  font-family:'Besley',serif;
  font-weight:700;
  font-size:16px;
}
.formation-btn.active{
  background:var(--mezzo-orange);
  border-color:var(--mezzo-orange);
  color:#fff;
}
.formation-btn.active .formation-label{
  color:#fff;
}

/* Food selection */
.food-options{
  margin-top:18px;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.food-section{
  border-radius:10px;
  overflow:hidden;
  border:1px solid #d9d5e4;
  background:#f8f7fb;
}
.food-heading{
  margin:0;
  padding:8px 12px;
  background:var(--mezzo-purple);
  color:#fff;
  font-family:'Besley',serif;
  font-size:16px;
}
.food-heading-orange{
  background:var(--mezzo-orange);
}
.food-list{
  padding:8px 12px 10px;
}
.food-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:8px 0;
  border-bottom:1px dotted #ddd8ea;
}
.food-row:last-child{
  border-bottom:none;
}
.food-main{
  display:flex;
  align-items:flex-start;
  gap:10px;
  flex:1;
  min-width:0;
}
.food-check{
  margin-top:4px;
  accent-color:var(--mezzo-orange);
}
.food-text{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}
.food-name{
  font-weight:700;
  font-family:'Besley',serif;
}
.food-sub{
  font-size:13px;
  color:var(--mezzo-muted);
}
.food-meta{
  display:grid;
  grid-template-columns:90px 90px 90px 140px;
  align-items:center;
  gap:12px;
  margin-left:16px;
  font-size:14px;
}
.food-price{
  font-family:'Besley',serif;
  font-weight:700;
  color:var(--mezzo-purple);
  text-align:right;
}
.food-price-free{
  text-align:right;
}
.food-min{
  font-size:12px;
  color:var(--mezzo-muted);
  white-space:nowrap;
  text-align:left;
}
.food-qty-wrap input,
.food-time-wrap select{
  width:100%;
  padding:6px 8px;
  border-radius:10px;
  border:1px solid #d9d5e4;
  font:inherit;
  box-sizing:border-box;
}
.food-qty:disabled,
.food-time:disabled{
  background:#efedf6;
  color:var(--disabled_text);
}
.food-total{
  margin-top:14px;
  font-size:14px;
}
.food-total strong{
  font-family:'Besley',serif;
}

/* Food comments */
.food-comment{
  margin-top:14px;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid rgba(228,106,43,0.35);
  background:rgba(228,106,43,0.08);
}
.food-comment-main{
  display:flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  user-select:none;
  font-weight:700;
}
.food-comment-check{
  accent-color:var(--mezzo-orange);
}
.food-comment-text{
  margin-top:10px;
  max-width:100%;
}

/* Align Free and make Free and price font lighter like "Add catering to your meeting" */
.food-price,
.food-price-free{
  font-family:'Open Sans',Arial,Helvetica,sans-serif;
  font-weight:600;
  color:var(--mezzo-purple);
}

/* Free coffee special row: no qty column, keep grid aligned */
.food-row-free .food-meta{
  grid-template-columns:90px 90px 90px 140px;
}
.food-row-free .food-min{
  visibility:hidden;
}
.food-row-free .food-qty-wrap{
  display:none;
}

/* Buttons */
.btn-main{
  margin-top:14px;
  background:var(--mezzo-orange);
  color:#fff;
  border:none;
  border-radius:999px;
  padding:10px 22px;
  font-weight:700;
  cursor:pointer;
}
.btn-main:hover{
  filter:brightness(0.92);
}

/* Modify button in summary card */
.btn-modify{
  padding:8px 18px;
  margin-top:0;
}

/* Final step layout */
.two-col{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
}
.two-col .field{
  flex:1;
  min-width:180px;
}

/* Final summary styles */
.final-summary-top{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px 18px;
  margin-top:12px;
  margin-bottom:14px;
}

/* Cluster date/from/to on the left column */
.final-summary-top-clustered{
  grid-template-columns:1fr 1fr;
}
.final-col{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.final-line{
  font-size:14px;
  color:var(--mezzo-text);
}
.final-h4{
  margin:14px 0 8px;
  font-family:'Besley',serif;
  font-size:18px;
}
.final-table{
  width:100%;
  border-collapse:collapse;
  border:1px solid #d9d5e4;
  border-radius:10px;
  overflow:hidden;
  background:#fff;
}
.final-table th,
.final-table td{
  padding:10px 12px;
  border-bottom:1px solid #eee8f4;
  font-size:14px;
}
.final-table th{
  background:#f5f3f9;
  font-weight:700;
  text-align:left;
}
.final-table td.right,
.final-table th.right{
  text-align:right;
}
.final-table tr:last-child td{
  border-bottom:none;
}
.row-subtotal td{
  background:#fbfafc;
  font-weight:700;
}
.final-grand{
  margin-top:14px;
  padding:12px 14px;
  border-radius:12px;
  background:rgba(228,106,43,0.12);
  border:1px solid rgba(228,106,43,0.35);
}
.final-grand-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}
.final-grand-label{
  font-family:'Besley',serif;
  font-weight:800;
  font-size:18px;
}
.final-grand-value{
  font-family:'Besley',serif;
  font-weight:800;
  font-size:18px;
}

/* Fix overlapping selects and inputs sitewide */
select,
input{
  max-width:100%;
  box-sizing:border-box;
}

/* Helpers */
.hidden{display:none!important;}
.hidden-room{display:none;}

/* Responsive */
@media(max-width:800px){
  .room-grid{
    flex-direction:column;
    padding:0 18px;
  }
  .room-photo{flex:0 0 auto;}
}

@media(max-width:700px){
  .food-meta{
    grid-template-columns:80px 80px 80px 120px;
  }
  .food-row-free .food-meta{
    grid-template-columns:80px 80px 80px 120px;
  }
}

@media(max-width:600px){
  h1{font-size:20px;}
  .logo{width:min(20%,160px);}

  .food-meta{
    grid-template-columns:1fr;
    grid-auto-flow:row;
    align-items:flex-start;
    justify-items:end;
  }
  .food-row-free .food-meta{
    grid-template-columns:1fr;
  }

  .final-summary-top{
    grid-template-columns:1fr;
  }

  .final-summary-top-clustered{
    grid-template-columns:1fr;
  }
}

/* -------------------------------------------------- */
/* Additions for boardroom catering and VAT labeling */
/* -------------------------------------------------- */

/* Small helper note under catering for boardrooms */
.food-note{
  margin-top:10px;
  font-size:13px;
  color:var(--mezzo-muted);
  line-height:1.55;
}

/* Rows that only allow time selection (Bistro Belge a la carte) */
.food-row.no-price .food-price,
.food-row.no-price .food-qty-wrap{
  display:none;
}
.food-row.no-price .food-min{
  visibility:hidden;
}
.food-row.no-price .food-meta{
  grid-template-columns:90px 90px 90px 140px;
}

/* Excl. VAT text helpers */
.vat-note{
  font-size:13px;
  font-weight:600;
  opacity:0.95;
}
.vat-note-dark{
  font-size:13px;
  color:var(--mezzo-muted);
  font-weight:600;
}

/* If you added a span inside the orange price area, keep it tidy */
.price-big .vat-note{
  margin-left:6px;
}

/* If you added a VAT note under the grand total, keep spacing consistent */
.final-grand .vat-note-dark{
  margin-top:6px;
}



.form-error{
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(220, 20, 60, 0.35);
  background: rgba(220, 20, 60, 0.08);
  font-size: 14px;
}

.thankyou p{
  margin: 0 0 10px 0;
}


.hero .wrap{
  position:relative;
}

.lang-switcher-wrap{
  position:absolute;
  top:0;
  right:0;
  display:flex;
  align-items:center;
  gap:8px;
  z-index:2;
}

.lang-switcher-label{
  font-size:12px;
  font-weight:700;
  color:#ffffff;
  opacity:0.9;
}

.lang-switcher{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  border:1px solid rgba(255,255,255,0.28);
  background:rgba(255,255,255,0.12);
  color:#ffffff;
  border-radius:999px;
  padding:8px 34px 8px 12px;
  font:inherit;
  font-size:13px;
  font-weight:700;
  line-height:1.2;
  cursor:pointer;
  outline:none;
  box-shadow:none;
}

.lang-switcher:hover{
  background:rgba(255,255,255,0.18);
}

.lang-switcher:focus{
  box-shadow:0 0 0 3px rgba(255,255,255,0.18);
}

.lang-switcher option{
  color:#1f1f1f;
}

@media (max-width: 820px){
  .lang-switcher-wrap{
    position:static;
    justify-content:center;
    margin-top:8px;
  }
}

@media (max-width: 820px){
  .section{
    padding-top:370px;
  }
  body.final-mode .section{
    padding-top:310px;
  }
}

@media (max-width: 600px){
  .section{
    padding-top:400px;
  }
  body.final-mode .section{
    padding-top:330px;
  }
}
