/* Small additions for the static rebuild (everything else is the original theme CSS). */
/* Mobile menu: the old jquery.mobilemenu plugin injected exactly this rule */
@media (max-width: 767px) { .sf-menu { display: none; } .select-menu { display: block; } }

/* single-slide FlexSlider: keep the markup static but responsive */
.flexslider .flex-viewport { height: auto !important; }
.flexslider .flex-viewport .slides { width: 100% !important; transform: none !important; }
.flexslider .flex-viewport .slides li { width: 100% !important; }
.flexslider .flex-viewport .slides li img { max-width: 100%; height: auto; }

/* video demo player: the poster fills the box like the original (no letterboxing) */
.jp-jplayer video { object-fit: fill; }
@media (min-width: 1200px) { .flexslider .flex-viewport { height: 675px !important; } }

/* Family photos (added November 11, 2026; not on the old site): four in a row, two by two on phones */
.orly-family { margin: 10px 0 30px; }
.orly-family_grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.orly-family figure { margin: 0; }
.orly-family img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.orly-family figcaption { margin-top: 8px; font-size: 13px; line-height: 18px; text-align: center; }
.orly-family--home h3 { text-align: center; }
@media (max-width: 767px) { .orly-family_grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* Tap-to-call (added November 11, 2026; not on the old site). A phone number is a link that looks like the text around it. */
a.orly-tel, a.orly-tel:hover, a.orly-tel:focus, a.orly-tel:visited { color: inherit; text-decoration: none; font: inherit; }
/* The call bar: phones only, fixed to the bottom edge; the page gets room so the bar never covers the footer. */
.orly-callbar { display: none; }
@media (max-width: 767px) {
  .orly-callbar, .orly-callbar:hover, .orly-callbar:focus, .orly-callbar:visited { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; padding: 15px 10px; background: #EE3D32; color: #fff; font: bold 20px/24px Roboto, Arial, sans-serif; text-align: center; text-decoration: none; box-shadow: 0 -2px 8px rgba(0, 0, 0, .25); }
  body { padding-bottom: 54px; }
}
.orly-thanks { margin-bottom: 40px; }
.orly-thanks .btn { margin: 10px 10px 0 0; }

/* Contact page (November 11, 2026): the QR code that opens the site, the same one the estimate templates print */
.orly-qr { font-size: 12px; line-height: 16px; }
.orly-qr img { display: block; width: 150px; height: 150px; margin-bottom: 6px; }
