/* ===== PATCH / Improvements (add at the end) ===== */



html, body {
  background: #1e1c1e !important;
  min-height: 100%;
}
body { min-height: 100dvh; }

/* Če imaš wrapperje z lastnim ozadjem */
.invite-wrap,
.menu-wrap,
.main-wrapper {
  background: transparent !important;
}


/* Better base readability */
body {
  line-height: 1.5;
}

/* Link defaults + keep your transitions */
a {
  text-decoration: none;
  color: inherit;
}
a:hover,
a:focus-visible {
  text-decoration: none;
  outline: none;
}

/* Visible focus for keyboard users */
:focus-visible {
  outline: 2px solid rgba(244, 121, 32, 0.7);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Selection: keep only the standard selector */
::selection {
  color: #fff;
  background: #ff7675;
}

/* Prevent text shift in right menu when arrow appears */
.right-cnt p {
  position: relative;
  padding-left: 30px; /* reserve space for arrow */
}
.right-cnt p.selected:before,
.right-cnt p:hover::before {
  position: absolute;
  left: 0;
  top: 0;
  margin-right: 0; /* no negative margins */
}

/* Make footer fields responsive */
.footer-area .selectize-input,
.footer-area .order-options select,
.footer-area .order-delivery-date input {
  min-width: 0;          /* override 400px */
  width: 100%;
  max-width: 400px;      /* keep nice width on large screens */
}

/* Stack footer customer/location on smaller screens */
@media (max-width: 768px) {
  .footer-area .order-options .order-customer,
  .footer-area .order-options .order-customer-location {
    float: none;
    width: 100%;
    margin-left: 0;
  }

  .wrapper-cntpart {
    padding-right: 0;
  }

  .wrapper-right {
    padding: 30px 0;
  }
}
/* 1) Base + variables */
:root{
  --bg: #0f1220;          /* deep night */
  --bg2:#141a2e;          /* slightly lighter */
  --card:#171d33cc;       /* glassy card */
  --text:#f3f4f7;
  --muted:#b8bfd6;
  --line:rgba(255,255,255,.10);

  --accent:#f7c948;       /* gold */
  --accent2:#ff5fa2;      /* pink highlight */
  --ok:#5eead4;           /* mint */

  --radius: 18px;
  --shadow: 0 12px 40px rgba(0,0,0,.35);
  --max: 980px;

  --h1: clamp(2.0rem, 3.8vw, 3.25rem);
  --h2: clamp(1.35rem, 2.4vw, 2.0rem);
  --p:  clamp(1.0rem, 1.3vw, 1.08rem);
}

*{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{
  margin:0;
  color:var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  line-height:1.55;
  font-size:var(--p);
 
}

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
p{ margin:0 0 1rem; }
h1,h2,h3{ margin:0 0 .75rem; letter-spacing:-0.02em; color:var(--text); }
h1{ font-size:var(--h1); }
h2{ font-size:var(--h2); }
small{ color:var(--muted); }

/* 2) Layout helpers */
.container, main, .wrap, .content{
  width:min(100%, var(--max));
  margin-inline:auto;
  padding: 22px 16px 44px;
}

section{
  margin-top: 18px;
  padding: 18px;
  border:1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

/* 3) Hero (top invitation) */
header, .hero{
  width:min(100%, var(--max));
  margin: 22px auto 0;
  padding: 26px 16px 18px;
}

.hero-card, header > .card, header{
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  padding: 26px 18px;
  position:relative;
  overflow:hidden;
}

.hero-card:before, header:before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(400px 180px at 18% 25%, rgba(247,201,72,.22), transparent 60%),
    radial-gradient(420px 220px at 78% 18%, rgba(255,95,162,.20), transparent 60%);
  pointer-events:none;
}

.kicker, .subtitle{
  display:inline-flex;
  gap:.45rem;
  align-items:center;
  padding: 6px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  background: rgba(0,0,0,.18);
  color: var(--muted);
  font-size: .95rem;
}

.badge{
  color:#0b0f1f;
  background: linear-gradient(90deg, var(--accent), #ffd87a);
  border-radius:999px;
  padding: 4px 10px;
  font-weight:700;
}

.hero-title strong{ color: var(--accent); }
.hero-meta{
  margin-top: 14px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.pill{
  border:1px solid var(--line);
  background: rgba(0,0,0,.18);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--text);
  display:inline-flex;
  align-items:center;
  gap:.5rem;
}

.pill span{ color: var(--muted); }

/* 4) Two-column on desktop */
.grid{
  display:grid;
  gap:16px;
}
@media (min-width: 840px){
  .grid.two{
    grid-template-columns: 1.15fr .85fr;
    align-items:start;
  }
}

/* 5) Buttons */
button, .btn, input[type="submit"]{
  appearance:none;
  border:0;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight:700;
  cursor:pointer;
  transition: transform .08s ease, filter .2s ease, box-shadow .2s ease;
}

.btn-primary, input[type="submit"], button[type="submit"]{
  color:#121523;
  background: linear-gradient(90deg, var(--accent), #ffd87a);
  box-shadow: 0 12px 24px rgba(247,201,72,.18);
}
.btn-primary:hover, input[type="submit"]:hover, button[type="submit"]:hover{
  filter: brightness(1.03);
}
.btn-primary:active, input[type="submit"]:active, button[type="submit"]:active{
  transform: translateY(1px);
}

.btn-ghost{
  color: var(--text);
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
}
.btn-ghost:hover{ background: rgba(255,255,255,.09); }

/* 6) Lists (details, schedule, etc.) */
ul, ol{ padding-left: 1.1rem; color: var(--muted); }
li{ margin: .35rem 0; }

.hr{
  height:1px;
  background: var(--line);
  margin: 14px 0;
  border:0;
}

/* 7) Info cards inside sections */
.card{
  border:1px solid var(--line);
  background: rgba(0,0,0,.16);
  border-radius: 14px;
  padding: 14px;
}

/* 8) RSVP form styling (works for most embedded forms) */
form{
  display:flex;
  flex-direction:column;
  gap: 12px;
}

label{
  color: var(--text);
  font-weight:600;
  margin-bottom: 4px;
}

input, select, textarea{
  width:100%;
  max-width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.22);
  color: var(--text);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

input::placeholder, textarea::placeholder{ color: rgba(184,191,214,.70); }
textarea{ min-height: 110px; resize: vertical; }

input:focus, select:focus, textarea:focus{
  border-color: rgba(247,201,72,.55);
  box-shadow: 0 0 0 4px rgba(247,201,72,.12);
}

.form-row{
  display:grid;
  gap:12px;
}
@media (min-width: 640px){
  .form-row.two{ grid-template-columns: 1fr 1fr; }
}

.help{
  font-size:.95rem;
  color: var(--muted);
}

/* 9) Footer */
footer{
  width:min(100%, var(--max));
  margin: 12px auto 0;
  padding: 12px 16px 32px;
  color: var(--muted);
  text-align:center;
}

/* 10) Make long words/URLs not break layout */
*{ overflow-wrap:anywhere; word-break: normal; }/* 1) Nikoli naj nič ne preseže širine ekrana */
img, iframe, table, .invite-card, .invite-wrap {
  max-width: 100%;
}

/* 2) Form elementi naj bodo responsive (pogost krivec: min-width:400px) */
.footer-area .selectize-input,
.footer-area .order-options select,
.footer-area .order-delivery-date input {
  min-width: 0 !important;
  width: 100%;
  max-width: 100%;
}

/* 3) Na manjših zaslonih odstrani floate/širine, ki potiskajo layout */
@media (max-width: 768px) {
  .footer-area .order-options .order-customer,
  .footer-area .order-options .order-customer-location,
  .order-footer {
    float: none !important;
    width: 100% !important;
    margin-left: 0 !important;
  }

  /* če imaš kje padding-right:70px ipd. */
  .wrapper-cntpart {
    padding-right: 0 !important;
  }
}
.validationMessages {
    color: #ff7675;
}

.map-box {
  border-radius: 16px;   /* poljubno */
  overflow: hidden;      /* NUJNO, da se iframe odreže */
  border: 1px solid #ededed; /* če želiš tudi okvir */
}

.map-box iframe {
  display: block;
  width: 100%;
  height: 340px;         /* prilagodi */
  border: 0;             /* odstrani privzeti border */
}

/* MENU (GrapesJS-ready) */
.menu-wrap{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  padding: 22px;
  background: #fafafa;
  color: #191919;
}

.menu-card{
  max-width: 860px;
  margin: 0 auto;

  
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.menu-header{
  padding: 22px;
 
}

.menu-badge{
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;

  color: #360e0e;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.menu-title{
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}

.menu-subtitle{
  margin: 0;
  font-size: 14px;
  color: #4f4f4f;
  font-weight: 500;
}

.menu-grid{
  padding: 18px 22px 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.menu-block{
  border: 1px solid #f0f0f0;
  border-radius: 14px;
  padding: 14px 14px 12px;
  background: #fff;
}

.menu-block--full{
  grid-column: 1 / -1;
}

.menu-h3{
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 900;
  color: #191919;
}

.menu-list{
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-list li{
  position: relative;
  padding-left: 18px;
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.45;
  color: #333;
}

.menu-list li:before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(227,6,19,0.85);
}

/* inline list for drinks */
.menu-list--inline{
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.menu-list--inline li{
  padding-left: 16px;
  margin: 6px 0;
}

/* responsive */
@media (max-width: 680px){
  .menu-wrap{ padding: 14px; }
  .menu-grid{ grid-template-columns: 1fr; }
}
/* Toggle checkbox skrijemo */
.menu-toggle{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Header kot klikabilen "gumb" */
.menu-header--toggle{
  position: relative;
}

.menu-toggle-title{
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.menu-toggle-title .menu-title{
  margin: 0;
}

/* Ikona puščice (CSS only) */
.menu-toggle-icon{
  margin-left: auto;
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(25,25,25,0.65);
  border-bottom: 2px solid rgba(25,25,25,0.65);
  transform: rotate(45deg);
  transition: transform .2s ease;
}

/* Content wrapper za animacijo */
.menu-content{
  overflow: hidden;
  max-height: 2000px;     /* dovolj veliko, da pokrije vsebino */
  transition: max-height .25s ease;
}

/* Ko je toggle OFF -> skrij */
.menu-toggle:not(:checked) ~ .menu-content{
  max-height: 0;
}

/* Ko je toggle OFF -> obrni puščico */
.menu-toggle:not(:checked) ~ .menu-header .menu-toggle-icon{
  transform: rotate(-135deg);
}

/* (Optional) malo “hover” feedback */
.menu-toggle-title:hover .menu-title{
  opacity: 0.9;
}
input[type="radio"], input[type="checkbox"] {
    width: 28px;
}
.spinner {display: none;}
button {background-color: #d90e33;}