/* Ewing's homepage extras (ew_home.py): size picker in the booking form, size/price cards, text-it button. */
.brand img { height: 52px; width: auto; }
.hdr.is-stuck .brand img { height: 46px; }
.hero .lede b { color: #A6DB3F; }
.ew-book h2 { font-size: 1.5rem; }
.ew-sizes { border: 0; padding: 0; margin: 0; min-width: 0; }
.ew-sizes legend { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-soft); margin-bottom: 0.35rem; padding: 0; }
.ew-sizepick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.4rem; }
.ew-sizepick label { position: relative; cursor: pointer; margin: 0; }
.ew-sizepick input { position: absolute; opacity: 0; pointer-events: none; }
.ew-sizepick span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.1rem; min-height: 62px; padding: 0.45rem 0.2rem;
  border: 1.5px solid rgba(11, 13, 12, 0.2); border-radius: 6px; background: #fff; transition: border-color .15s, background .15s; text-align: center; }
.ew-sizepick b { font: 800 1.45rem/1 "Barlow Condensed", sans-serif; color: var(--ink); }
.ew-sizepick b small { font-size: 0.7rem; margin-left: 1px; font-weight: 700; }
.ew-sizepick i { font-style: normal; font-size: 0.78rem; font-weight: 600; color: var(--ink-soft); }
.ew-sizepick input:checked + span { border-color: #6E9F1E; background: rgba(143, 197, 45, 0.2); box-shadow: inset 0 0 0 1px #6E9F1E; }
.ew-sizepick input:focus-visible + span { outline: 2px solid #4A7510; outline-offset: 2px; }
.ew-unsure b { color: #4A7510; }
.ew-textbtn { grid-column: 1 / -1; width: 100%; background: transparent; color: var(--ink); border: 1.5px solid rgba(11, 13, 12, 0.22); gap: 0.5rem; }
.ew-textbtn:hover { border-color: #4A7510; color: #4A7510; }
.ew-size-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 0.4rem; }
.ew-size { display: flex; flex-direction: column; gap: 0.55rem; padding: 1.35rem 1.25rem 1.25rem; border-radius: 8px; background: var(--card, #fff);
  border: 1px solid rgba(11, 13, 12, 0.12); box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 0.45); }
.ew-size--big { background: #141716; color: #F2F4EF; border-color: #141716; }
.ew-size__top { display: flex; align-items: baseline; justify-content: space-between; gap: 0.6rem; border-bottom: 1px solid rgba(11, 13, 12, 0.12); padding-bottom: 0.6rem; }
.ew-size--big .ew-size__top { border-color: rgba(242, 244, 239, 0.16); }
.ew-size__top b { font: 800 3rem/0.9 "Barlow Condensed", sans-serif; letter-spacing: -0.01em; }
.ew-size__top b small { font-size: 1rem; font-weight: 700; margin-left: 0.2rem; text-transform: uppercase; letter-spacing: 0.06em; }
.ew-size__price { font: 800 2rem/1 "Barlow Condensed", sans-serif; color: #4A7510; }
.ew-size--big .ew-size__price { color: #A6DB3F; }
.ew-size__loads { font-weight: 700; }
.ew-size p { margin: 0; font-size: 0.95rem; line-height: 1.45; }
.ew-size__inc { display: flex; gap: 0.4rem; align-items: flex-start; color: var(--ink-soft); font-size: 0.88rem !important; }
.ew-size--big .ew-size__inc { color: #B7BDB6; }
.ew-size__inc svg { flex: none; color: #4A7510; margin-top: 2px; }
.ew-size--big .ew-size__inc svg { color: #A6DB3F; }
.ew-size__go { margin-top: auto; display: flex; flex-direction: column; gap: 0.5rem; padding-top: 0.4rem; }
.ew-size__go .btn { width: 100%; }
.ew-size__more { font-size: 0.88rem; font-weight: 600; color: inherit; text-align: center; text-decoration: none; border-bottom: 1px solid transparent; align-self: center; }
.ew-size__more:hover { border-color: currentColor; }
.ew-size-note { margin-top: 1.2rem; font-size: 0.98rem; color: var(--ink-soft); }
.ew-size-note a { color: #4A7510; font-weight: 600; }
/* iPhone (owner 11/4 screenshot, "fix the boxes"): Safari's date input has an intrinsic min-width, so it pushed its
   grid column past the form edge and rendered taller with centred text. Let grid cells shrink, pin the date box to
   the column, left-align it and match the other boxes' height. */
.form > div, .form > fieldset { min-width: 0; }
.form input[type="date"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; min-width: 0; max-width: 100%;
  box-sizing: border-box; height: 2.95rem; line-height: 1.2; text-align: left; background-color: #fff; }
.form input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.form input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0.6; }
/* phone hero (owner 11/4 "a little too zoomed in on mobile"): show his whole 9:16 clip, no side crop */
@media (max-width: 860px) {
  .hero__video { height: calc(100vw * 16 / 9); max-height: 860px; object-position: 50% 50%; }
  .hero::before { height: calc(100vw * 16 / 9); max-height: 860px; }
}
@media (max-width: 1040px) { .ew-size-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .ew-size-grid { grid-template-columns: 1fr; }
  .ew-sizepick { grid-template-columns: repeat(5, 1fr); gap: 0.3rem; }
  .ew-sizepick span { min-height: 56px; }
  .ew-sizepick b { font-size: 1.25rem; }
  .ew-sizepick i { font-size: 0.7rem; }
  .brand img { height: 44px; }
}
