/* The Offers page (offers.htm): bargain events and the short form to book and pay for one. Its own small stylesheet, as the site's
   Tailwind file only holds the classes other pages already use. */
.of-card, .of-box { background: #fff; border: 1px solid #e5e7eb; border-radius: .75rem; padding: 1.25rem 1.5rem; box-shadow: 0 2px 8px rgba(0, 0, 0, .05); }
.of-card { border-left: 5px solid #ef4444; margin-bottom: 1.25rem; scroll-margin-top: 1rem; }
/* the one they clicked Book now on (offers.htm#<id>) */
/* an offer on several dates: its dates, each with its own Book button */
.of-dates { list-style: none; padding: 0; margin: .75rem 0 0; border-top: 1px solid #e5e7eb; }
.of-date { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .6rem 0; border-bottom: 1px solid #e5e7eb; }
.of-date-when { flex: 1 1 16rem; }
.of-btn-small { padding: .4rem .9rem; font-size: .95rem; }
.of-date.of-picked-date { background: #fef2f2; outline: 2px solid #b91c1c; outline-offset: 2px; border-radius: .25rem; padding-left: .5rem; padding-right: .5rem; }
/* the booking form's date choice (an offer on several dates) */
.of-date-row { display: block; font-weight: 600; margin: .25rem 0 .75rem; }
.of-date-row[hidden] { display: none; }
.of-date-row select { display: block; margin-top: .25rem; max-width: 100%; padding: .4rem .5rem; border: 1px solid #d1d5db; border-radius: .375rem; font-weight: 400; }
/* a link to one that has since been booked or ended */
.of-gone { background: #fffbeb; border: 1px solid #fcd34d; border-radius: .5rem; padding: .75rem 1rem; margin-bottom: 1rem; color: #78350f; font-weight: 600; }
.of-gone[hidden] { display: none; }
/* "If you would prefer to book by email or phone..." under the offers and at the foot of the form */
.of-prefer { color: #374151; font-size: .95rem; margin-top: .75rem; }
.of-card.of-picked { outline: 3px solid #b91c1c; outline-offset: 2px; background: #fffafa; box-shadow: 0 8px 24px rgba(185, 28, 28, .18); }
.of-picked-tag { display: inline-block; margin: 0 0 .5rem; background: #b91c1c; color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: .15rem .5rem; border-radius: .25rem; }
.of-title { font-size: 1.5rem; font-weight: 700; margin: 0 0 .25rem; }
.of-when { font-size: 1.1rem; font-weight: 600; margin: 0 0 .5rem; }
.of-included { font-weight: 600; margin: 0 0 .5rem; color: #111827; }
.of-desc { white-space: pre-wrap; margin: 0 0 .75rem; color: #374151; }
.of-price { margin: 0 0 .75rem; }
.of-note { font-size: .9rem; color: #6b7280; margin: .25rem 0; }
.of-btn { font: inherit; font-weight: 600; font-size: 1.1rem; padding: .7rem 1.5rem; border: 0; border-radius: .375rem; background: #ef4444; color: #fff; cursor: pointer; }
.of-btn:hover { background: #dc2626; }
.of-btn[disabled] { opacity: .55; cursor: not-allowed; }
.of-btn-link { display: inline-block; text-decoration: none; }
/* nothing on offer: what a bargain event is, "be the first to hear", and the other ways in */
.of-empty { display: grid; gap: 1.5rem; min-height: 28rem; align-content: start; }
.of-empty-lead { border-left: 5px solid #ef4444; }
.of-empty-lead p { margin: .6rem 0 0; color: #374151; }
.of-empty-cta { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; margin-top: 1rem !important; }
.of-ways { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .of-ways { grid-template-columns: 1fr; } }
.of-way { display: grid; gap: .25rem; background: #fff; border: 1px solid #e5e7eb; border-radius: .75rem; padding: 1rem 1.25rem; color: #111827; text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05); }
.of-way:hover, .of-way:focus { border-color: #ef4444; }
.of-way strong { font-size: 1.15rem; color: #b91c1c; }
.of-way span { color: #4b5563; }
/* Pay and the way back: side by side with a gap, and on a phone one above the other at full width (never touching) */
.of-actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
@media (max-width: 520px) { .of-actions { flex-direction: column; align-items: stretch; } .of-actions button { width: 100%; } }
.of-btn2 { font: inherit; padding: .55rem 1.1rem; border: 1px solid #d1d5db; border-radius: .375rem; background: #fff; cursor: pointer; }
.of-form { display: grid; gap: .9rem; margin-top: 1rem; }
.of-form label { display: grid; gap: .3rem; font-weight: 600; }
.of-form input[type="text"], .of-form input[type="email"], .of-form input[type="tel"], .of-form input[type="number"], .of-form textarea {
  width: 100%; padding: .55rem .75rem; border: 1px solid #d1d5db; border-radius: .375rem; font: inherit; font-weight: 400; }
.of-form input[type="number"] { max-width: 8rem; }
.of-two { display: grid; gap: .9rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .of-two { grid-template-columns: 1fr; } }
.of-ask { border: 1px solid #e5e7eb; border-radius: .5rem; padding: .6rem .9rem; }
.of-ask legend { font-weight: 600; padding: 0 .35rem; }
.of-age { max-width: 8rem; }
.of-stop a { color: #991b1b; text-decoration: underline; }
.of-stop { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: .5rem; padding: .6rem .9rem; margin: 0; font-weight: 600; }
.of-saving { color: #166534; font-weight: 600; margin: .25rem 0; }
.of-diet { border: 1px solid #e5e7eb; border-radius: .5rem; padding: .6rem .9rem; display: grid; gap: .5rem; }
.of-diet legend { font-weight: 600; padding: 0 .35rem; }
.of-three { display: grid; gap: .9rem; grid-template-columns: repeat(3, 1fr); }
.of-three label { min-width: 0; }  /* (three small number boxes fit side by side even on a phone) */
.of-ask label { display: inline-flex; gap: .4rem; align-items: center; font-weight: 400; margin-right: 1.25rem; }
.of-form label.of-tick { display: flex; align-items: flex-start; gap: .5rem; font-weight: 400; font-size: .875rem; }   /* as the main enquiry form's tick */
.of-tick input, .of-ask input { width: auto; margin-top: .2rem; }
.of-terms { color: #374151; }
.of-total { font-size: 1.15rem; font-weight: 700; }
.of-error { color: #b91c1c; font-weight: 600; min-height: 1.2em; }
.of-test { background: #fef3c7; border: 1px solid #f59e0b; border-radius: .5rem; padding: .5rem .9rem; font-weight: 600; margin-bottom: 1rem; }
