/**
 * PearleVision Microsites — Self-contained stylesheet
 * Extracted from legacy style-v40.css (only rules actually used by our components)
 * Bootstrap 5 is loaded separately via CDN
 */

/* ========================================
   1. Typography & Base
   ======================================== */
body {
  font-family: "MuseoSans", sans-serif, Arial;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
}

a img, img {
  outline: 0;
}

.sub-heading {
  font-size: 0.9375rem;
  line-height: 1.2;
  font-weight: 700;
}

/* ========================================
   2. Button Theme (PearleVision green)
   ======================================== */
.btn-primary {
  color: #fff;
  background-color: #5e9633;
  border-color: #5e9633;
}
.btn-primary:hover {
  color: #fff;
  background-color: #4c7929;
  border-color: #467026;
}
.btn-primary:focus, .btn-primary.focus {
  color: #fff;
  background-color: #4c7929;
  border-color: #467026;
  box-shadow: 0 0 0 0 rgba(118, 166, 82, 0.5);
}
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active {
  color: #fff;
  background-color: #467026;
  border-color: #406623;
}
.btn-primary, .btn-outline-primary:hover {
  color: #fff !important;
}

/* ========================================
   2b. Container Width (match legacy Bootstrap 4)
   ======================================== */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

.store-address-block {
  width: 425px;
  max-width: 100%;
}

.customer-section-info .core-block {
  width: 425px;
  max-width: 100%;
}

/* ========================================
   3. Layout — Main Content & Header
   ======================================== */
.main-content {
  margin-top: 0;
}

.mobile-header-logo {
  width: 100%;
  text-align: center;
}
.mobile-header .mobilelogo {
  max-height: 27px;
}

.iframe-header {
  position: absolute;
  width: 100%;
  margin: 0 auto 0;
  z-index: 999999;
}

.custom-container {
  padding-top: 3.125rem;
}
@media (min-width: 576px) {
  .custom-container {
    padding-top: 4.25rem;
    padding-bottom: 3.125rem;
  }
}

/* ========================================
   4. Footer
   ======================================== */
.footer {
  text-align: center;
  border-top: 1px solid #aaa;
  padding: 2.5rem 0;
}
@media (max-width: 767.98px) {
  .footer {
    padding: 2rem 0;
  }
}
.footer .footer-body {
  max-width: 36.25rem;
  margin: auto;
  margin-bottom: 1.5rem;
}
.footer .footer-heading {
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  line-height: 1.2;
}
.footer .footer-button-wrapper {
  margin-bottom: 1rem;
}
.footer .footer-copyright {
  font-size: 0.625rem;
  line-height: 2;
}

/* ========================================
   5. Banner / Text Add Banner
   ======================================== */
.banner-wrapper-inner {
  height: 100%;
  padding-top: 3.125rem;
  padding-bottom: 3.125rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.banner-wrapper-inner .schedulenow-block {
  max-width: 350px;
  margin-left: auto;
}
.banner-wrapper-inner .address-block-text {
  font-weight: normal;
  line-height: 1.6;
  font-size: 20px;
}
.banner-wrapper-inner .address-block-text a {
  color: inherit;
  text-decoration: none !important;
}

/* ========================================
   5b. Custom List Icon
   ======================================== */
.custom-list-item::before {
  background-image: url(/assets/images/lense-icon.svg);
}

/* ========================================
   6. Learn More / Read More Links
   ======================================== */
.readmore-link {
  color: #51534a;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 700;
  position: relative;
  padding-left: 18px;
}
.readmore-link:hover {
  text-decoration: underline;
  outline: 0;
}
.readmore-link::before {
  content: url(/assets/images/caret-right.svg);
  display: inline-block;
  margin-right: 0.375rem;
  width: 0.46875rem;
  height: 0.75rem;
  top: -2px;
  position: absolute;
  left: 0;
}

.learn-more-link {
  color: #51534a;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 700;
  position: relative;
}
.learn-more-link:hover {
  text-decoration: underline;
  outline: 0;
}
.learn-more-link::before {
  content: url(/assets/images/caret-right.svg);
  display: inline-block;
  margin-right: 0.375rem;
  width: 0.46875rem;
  height: 0.75rem;
}

/* ========================================
   7. Block Cards (Learn More section)
   ======================================== */
.block {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0.5rem;
}
@media (min-width: 576px) {
  .block {
    padding: 0px 0.965rem;
  }
}
.block__image {
  height: 11.375rem;
  background-size: cover;
  background-position: center;
  width: 100%;
  margin-bottom: 1.25rem;
}
.block__title {
  margin-bottom: 0.625rem;
  text-transform: uppercase;
  font-size: 1.125rem;
  font-weight: 700;
  color: #292929;
}
.block .readmore-link,
.block .learn-more-link {
  margin-top: auto;
}

/* ========================================
   8. Core Block (Store Info, Insurance)
   ======================================== */
.core-block {
  padding: 0 0.5rem;
}
@media (min-width: 576px) {
  .core-block {
    padding: 0 1.875rem;
  }
}
.core-block .core-block-heading {
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  font-size: 1.125rem;
  font-weight: 700;
  color: #292929;
}

.core-block-wrapper {
  padding-bottom: 2.125rem;
}
@media (min-width: 576px) {
  .core-block-wrapper {
    padding-bottom: 0.625rem;
    margin-bottom: 2.5rem;
    border-left: 1px solid #aaa;
  }
}
@media (min-width: 768px) {
  .core-block-wrapper {
    margin-bottom: 3rem;
  }
}
@media (min-width: 992px) {
  .core-block-wrapper {
    margin-bottom: 4rem;
  }
}

/* ========================================
   9. Store Address Block (Where to Find)
   ======================================== */
.store-address-block .address-details {
  margin: 0;
  padding: 0;
  list-style: none;
}
.store-address-block .address-details li {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 5px;
}
.store-address-block .address-details-link {
  text-decoration: none;
  color: #292929;
}
.address-details-phon a {
  color: inherit;
  text-decoration: none !important;
}

/* ========================================
   10. Our Brands Title
   ======================================== */
.our-brands-title {
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 50px;
  font-size: 1.75rem;
}
@media (max-width: 767.98px) {
  .our-brands-title {
    margin-bottom: 30px;
    font-size: 1.5rem;
  }
}

/* ========================================
   11. Rating Section (Star Ratings)
   ======================================== */
.rating-section {
  display: inline-flex !important;
  background-color: #fff;
  height: 3.125rem;
  padding: 0.75rem 1rem;
  align-items: center;
  border-radius: 0.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}
.rating-section .rating {
  align-items: center;
  display: flex;
  position: relative;
  color: #5e5e4b;
  font-size: 1.125rem;
  justify-content: center;
  font-weight: 700;
}
.rating-section .rating .rating-value {
  padding-top: 0.125rem;
}
.rating-section .rating .count .value::before {
  content: "(";
}
.rating-section .rating .count .value::after {
  content: ")";
}
.rating-section .rating .stars-container {
  padding: 5px 0;
  order: -1;
  margin-right: 0.5rem;
}
.rating-section .rating .stars-container .back-stars {
  letter-spacing: 5px;
  display: flex;
  position: relative;
  color: #5e5e4b;
  text-shadow: 2px 2px 6px #5e5e4b;
}
.rating-section .rating .stars-container .back-stars .fa-star {
  margin: 0 0.25rem;
  font-size: 24px;
}
.rating-section .rating .stars-container .back-stars .front-stars {
  letter-spacing: 5px;
  display: flex;
  overflow: hidden;
  color: #5e5e4b;
  text-shadow: 2px 2px 5px #5e5e4b;
  position: absolute;
  top: 0;
}

/* ========================================
   12. Store Hours Table
   ======================================== */
.storeHoursTable tr:first-child td {
  font-weight: bold;
}

/* ========================================
   13. Coupon Modal
   ======================================== */
.double-border {
  border: 3px solid #51534a;
  padding: 1em;
  color: #51534a;
  position: relative;
  margin: 20px 0;
}
.double-border:before {
  background: none;
  border: 2px solid #5e9633;
  content: "";
  display: block;
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  pointer-events: none;
}

.brand-coupons-modal .modal-body {
  padding: 15px 30px;
}

/* ========================================
   14. Responsive Overrides
   ======================================== */
@media (max-width: 991.98px) {
  .rating-section {
    padding: 0.5rem;
  }
  .rating-section .rating {
    font-size: 15px;
  }
  .rating-section .rating .stars-container .back-stars .fa-star {
    font-size: 12px;
  }
}

@media (max-width: 575.98px) {
  .rating-section .rating {
    font-size: 11px;
  }
  .rating-section .rating .stars-container .back-stars .fa-star {
    font-size: 11px;
  }
  .block_title_margin, .commEyeCon {
    margin-bottom: 0.6rem !important;
  }
}

@media (max-width: 767.98px) {
  .commEyeCon {
    margin-bottom: 30px !important;
  }
}
