/* ORDER.CSS – complete updated file */

:root {
  --order-bg: #f5f1ea;
  --order-card: rgba(255, 255, 255, 0.34);
  --order-card-solid: #f8f4ee;
  --order-border: rgba(155, 115, 72, 0.18);
  --order-text: #2f231a;
  --order-text-soft: rgba(47, 35, 26, 0.72);
  --order-accent: #9b7348;
  --order-accent-soft: rgba(155, 115, 72, 0.12);
  --order-available: #5e775d;
  --order-booked: #9a7d6a;
}

.order-page {
  background: var(--order-bg);
}

.order-page .footer {
  margin-top: 0;
}

.df-order-guard {
  padding: 56px 0 110px;
}

.df-order-guard__outer {
  max-width: 1180px;
}

.df-order-guard__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 42px 34px;
  border: 1px solid var(--order-border);
  border-radius: 24px;
  background: var(--order-card);
  backdrop-filter: blur(6px);
  text-align: center;
}

.df-order-guard__eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--order-accent);
  font-weight: 600;
}

.df-order-guard__title {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.6rem, 4.4vw, 4rem);
  line-height: 1.02;
  font-weight: 500;
  color: var(--order-text);
  text-wrap: balance;
}

.df-order-guard__text {
  max-width: 620px;
  margin: 0 auto 28px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.5;
  font-style: italic;
  color: var(--order-text-soft);
}

.df-order-guard__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  background: var(--order-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.18s ease;
}

.df-order-guard__cta:hover {
  opacity: 0.9;
}

.order-hero {
  padding: 44px 0 52px;
  max-width: 1180px;
}

.order-eyebrow {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--order-accent);
  font-weight: 600;
}

.order-hero h1 {
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 4.6vw, 4.15rem);
  line-height: 1.02;
  font-weight: 500;
  color: var(--order-text);
  max-width: 1120px;
  text-wrap: balance;
}

.order-intro {
  max-width: 980px;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.48;
  font-style: italic;
  color: var(--order-text-soft);
  text-wrap: balance;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 360px;
  gap: 44px;
  align-items: start;
  padding-bottom: 100px;
}

.order-main {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.order-section {
  padding: 0 0 6px;
}

.order-section__head {
  margin-bottom: 18px;
}

.order-section__head h2 {
  margin: 0 0 6px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 2.6vw, 2.8rem);
  line-height: 1.02;
  font-weight: 500;
  color: var(--order-text);
}

.order-section__head p {
  margin: 0;
  max-width: 720px;
  color: var(--order-text-soft);
  font-size: 1rem;
  line-height: 1.6;
}

.order-eircode-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.order-input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--order-border);
  background: transparent;
  padding: 16px 0 14px;
  font-size: 1rem;
  color: var(--order-text);
  font-family: inherit;
}

.order-input:focus {
  outline: none;
  border-bottom-color: var(--order-accent);
}

.order-input::placeholder {
  color: rgba(47, 35, 26, 0.46);
}

.order-area-result {
  margin-top: 10px;
  color: var(--order-text);
  font-weight: 500;
}

.order-day-list,
.order-slot-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-day,
.order-slot {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid var(--order-border);
  background: transparent;
  color: var(--order-text);
  text-align: left;
  cursor: pointer;
  transition: opacity 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.order-day:hover,
.order-slot:hover {
  opacity: 0.78;
}

.order-day__name-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.order-day__name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  line-height: 1.05;
  color: inherit;
}

.order-slot {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  line-height: 1.05;
}

.order-day__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.order-day__status::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.order-day__status.is-available {
  color: var(--order-available);
}

.order-day__status.is-available::before {
  background: var(--order-available);
  box-shadow: 0 0 0 4px rgba(94, 119, 93, 0.12);
}

.order-day__status.is-booked {
  color: var(--order-booked);
}

.order-day__status.is-booked::before {
  background: var(--order-booked);
  box-shadow: 0 0 0 4px rgba(154, 125, 106, 0.12);
}

.order-day__badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(155, 115, 72, 0.12);
  color: var(--order-accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.order-day.is-next .order-day__name,
.order-day.is-selected .order-day__name,
.order-slot.is-selected {
  color: var(--order-accent);
}

.order-day.is-selected .order-day__status {
  color: var(--order-accent);
}

.order-day.is-selected .order-day__status::before {
  background: var(--order-accent);
  box-shadow: 0 0 0 4px rgba(155, 115, 72, 0.12);
}

.order-day[data-available="true"]:hover {
  background: rgba(94, 119, 93, 0.05);
}

.order-day[disabled],
.order-day[data-available="false"] {
  cursor: default;
  opacity: 0.6;
}

.order-note {
  margin: 16px 0 0;
  color: var(--order-text-soft);
  font-size: 0.95rem;
}

.order-check {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: var(--order-text);
}

.order-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--order-accent);
}

.order-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.order-option {
  padding: 11px 18px;
  border: 1px solid var(--order-border);
  border-radius: 999px;
  background: transparent;
  color: var(--order-text);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.order-option:hover {
  border-color: rgba(155, 115, 72, 0.36);
}

.order-option.is-selected {
  background: var(--order-accent-soft);
  border-color: rgba(155, 115, 72, 0.4);
  color: var(--order-accent);
}

.order-summary {
  position: sticky;
  top: 154px;
  padding: 26px;
  border: 1px solid var(--order-border);
  border-radius: 22px;
  background: var(--order-card);
  backdrop-filter: blur(6px);
}

.order-summary__eyebrow {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--order-accent);
  font-weight: 600;
}

.order-summary h2 {
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.3rem;
  line-height: 1;
  font-weight: 500;
  color: var(--order-text);
}

.order-summary__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.order-summary__row {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--order-border);
}

.order-summary__row--total div {
  font-weight: 700;
}

.order-summary__label {
  display: block;
  margin-bottom: 6px;
  color: var(--order-accent);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.order-summary__row div {
  color: var(--order-text);
  line-height: 1.6;
}

.order-summary__cart {
  margin-top: 2px;
}

.order-summary__empty {
  margin: 0;
  color: var(--order-text-soft);
  font-size: 1rem;
  line-height: 1.5;
}

.order-summary__cart-item + .order-summary__cart-item {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--order-border);
}

.order-summary__cart-main,
.order-summary__cart-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.order-summary__cart-main {
  margin-bottom: 2px;
}

.order-summary__cart-name {
  color: var(--order-text);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
}

.order-summary__cart-qty {
  color: var(--order-text);
  font-weight: 600;
  white-space: nowrap;
}

.order-summary__cart-sub {
  color: var(--order-text-soft);
  font-size: 0.92rem;
  line-height: 1.4;
}

.order-summary__cart-line-total {
  color: var(--order-text);
  font-weight: 600;
  white-space: nowrap;
}

.order-summary__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.order-link {
  color: var(--order-text-soft);
  text-decoration: none;
}

.order-button,
.order-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  background: var(--order-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.18s ease;
}

.order-button:hover,
.order-button-secondary:hover {
  opacity: 0.9;
}

.order-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.order-summary__note {
  margin-top: 10px;
  color: var(--order-text-soft);
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .order-layout {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
  }
}

@media (max-width: 768px) {
  .df-order-guard {
    padding: 34px 0 80px;
  }

  .df-order-guard__inner {
    padding: 34px 22px;
  }

  .order-hero {
    padding: 28px 0 34px;
  }

  .order-section__head h2 {
    font-size: 2.2rem;
  }

  .order-day,
  .order-slot {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-day__name,
  .order-slot {
    font-size: 1.45rem;
  }

  .order-eircode-row {
    flex-direction: column;
    align-items: stretch;
  }

  .order-day__name-wrap {
    gap: 10px;
  }
}
