/*
 * Delivery / Pick-up choice page (order_type.php, <body class="ot-easy">).
 * Same purple Kin Pla theme as the main site; big, clear cards for older customers.
 */

.ot-easy {
  --ot-purple: #585777;
  --ot-purple-600: #706F95;
  --ot-purple-dark: #343449;
  --ot-tint: #EEEDF7;
  --ot-yellow: #F4C928;
  --ot-gold: #C0A062;
  --ot-bg: #FAF7F0;
  --ot-text: #1F2D25;
  --ot-muted: #4F5752;
  --ot-line: #E4DDCD;
  --ot-red: #B3261E;
  --ot-red-bg: #FDEEEC;
  --ot-head-font: "Poppins", system-ui, sans-serif;
  background: var(--ot-bg);
  color: var(--ot-text);
  font-size: 18px;
}

.ot-easy :focus-visible { outline: 3px solid #0B57D0; outline-offset: 3px; }

.ot-easy .ot-section { padding-top: 150px; background: var(--ot-bg); }
.ot-easy .ot-section .container { max-width: 640px; }

.ot-easy .ot-head { text-align: center; margin: 0 0 26px; }
.ot-easy .ot-head h1 {
  font-family: var(--ot-head-font);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ot-purple);
  margin: 0 0 6px;
}
.ot-easy .ot-head p { color: var(--ot-muted); margin: 0; }

/* ---------- Choice cards ---------- */
.ot-easy .ot-card {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  margin: 0 0 18px;
  padding: 22px 24px;
  background: #FFFFFF;
  border: 2px solid var(--ot-line);
  border-radius: 24px;
  color: var(--ot-text);
  letter-spacing: 0;
  text-align: left;
  box-shadow: 0 1px 2px rgba(88, 87, 119, 0.06), 0 16px 34px -20px rgba(88, 87, 119, 0.45);
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.ot-easy .ot-card:hover {
  border-color: var(--ot-purple-600);
  box-shadow: 0 2px 4px rgba(88, 87, 119, 0.08), 0 20px 40px -18px rgba(88, 87, 119, 0.55);
}

.ot-easy .ot-card:active { transform: scale(0.985); }

.ot-easy .ot-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--ot-purple);
  color: #FFFFFF;
  font-size: 34px;
}

.ot-easy .ot-text { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }

.ot-easy .ot-title {
  font-family: var(--ot-head-font);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ot-purple);
}

.ot-easy .ot-sub { font-size: 17px; color: var(--ot-muted); }

/* "Free delivery over £…" from the backend */
.ot-easy .ot-note:empty { display: none; }
.ot-easy .ot-note {
  align-self: flex-start;
  margin-top: 4px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--ot-yellow);
  color: #292638;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.ot-easy .ot-arrow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ot-tint);
  color: var(--ot-purple);
  font-size: 22px;
  -webkit-text-stroke: 1px;
}

.ot-easy .ot-card:hover .ot-arrow { background: var(--ot-purple); color: #FFFFFF; }

/* not available right now */
.ot-easy .ot-card.is-closed {
  cursor: default;
  background: #F4F2EC;
  box-shadow: none;
}
.ot-easy .ot-card.is-closed:hover { border-color: var(--ot-line); }
.ot-easy .ot-card.is-closed:active { transform: none; }
.ot-easy .ot-card.is-closed .ot-icon { background: #CFCBC0; color: #FFFFFF; }
.ot-easy .ot-card.is-closed .ot-title { color: var(--ot-muted); }

.ot-easy .ot-closed-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--ot-red-bg);
  color: var(--ot-red);
  font-size: 15px;
  font-weight: 700;
}

/* pay on collection (Cash / Card) choices */
.ot-easy .menusidebarpay {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 20px 24px;
  background: #FFFFFF;
  border: 2px solid var(--ot-line);
  border-radius: 24px;
  color: var(--ot-text);
  letter-spacing: 0;
  box-shadow: 0 16px 34px -20px rgba(88, 87, 119, 0.45);
  cursor: pointer;
}
.ot-easy .menusidebarpay:hover { border-color: var(--ot-purple-600); }
.ot-easy .menusidebarpay .ot-note { align-self: center; }

/* ---------- Restaurant closed + opening hours ---------- */
.ot-easy .ot-notice {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 14px;
  padding: 18px 20px;
  background: #FFFFFF;
  border: 2px solid #F2C9C5;
  border-radius: 20px;
  color: var(--ot-text);
  line-height: 1.5;
}
.ot-easy .ot-notice b { color: var(--ot-red); }
.ot-easy .ot-icon-muted { width: 56px; height: 56px; font-size: 26px; background: var(--ot-red-bg); color: var(--ot-red); }

.ot-easy .ot-hours-title {
  font-family: var(--ot-head-font);
  font-size: 22px;
  font-weight: 700;
  color: var(--ot-purple);
  text-align: center;
  margin: 18px 0 8px;
}

.ot-easy .ot-hours {
  margin: 0 0 22px;
  padding: 16px 18px;
  background: #FFFFFF;
  border: 1px solid var(--ot-line);
  border-radius: 18px;
  font-size: 17px;
  line-height: 1.9;
  text-align: center;
}
.ot-easy .ot-day { color: var(--ot-purple); }

/* ---------- Back to home ---------- */
.ot-easy .ot-home {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  margin: 8px 0 28px;
  border: 2px solid var(--ot-purple);
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--ot-purple);
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.ot-easy .ot-home:hover { background: var(--ot-tint); color: var(--ot-purple); }

/* ---------- Allergy information ---------- */
.ot-easy .ot-allergy {
  padding: 18px;
  background: #FFFFFF;
  border: 1px solid var(--ot-line);
  border-radius: 24px;
  box-shadow: 0 16px 34px -24px rgba(88, 87, 119, 0.45);
  text-align: center;
}
.ot-easy .ot-allergy img { width: 100%; height: auto; border-radius: 14px; }
.ot-easy .ot-allergy p { margin: 16px 4px 12px; font-size: 18px; line-height: 1.5; }
.ot-easy .ot-allergy p i { color: var(--ot-purple); }

.ot-easy .ot-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 28px;
  border-radius: 999px;
  background: var(--ot-purple);
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}
.ot-easy .ot-call:hover { background: var(--ot-purple-dark); color: #FFFFFF; }

/* ---------- Phones ---------- */
@media (max-width: 575px) {
  .ot-easy .header .topbar { display: none !important; }
  .ot-easy .ot-section { padding-top: 110px; }
  .ot-easy .ot-head h1 { font-size: 26px; }
  .ot-easy .ot-card { padding: 18px 16px; gap: 14px; border-radius: 20px; }
  .ot-easy .ot-icon { width: 60px; height: 60px; font-size: 28px; border-radius: 16px; }
  .ot-easy .ot-title { font-size: 24px; }
  .ot-easy .ot-sub { font-size: 16px; }
  .ot-easy .ot-arrow { width: 40px; height: 40px; font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .ot-easy * { transition: none !important; }
}
