@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Lao:wght@400;600;700&display=swap');

.parent {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
}
.btn-booking{
  border-radius: 30px !important;
  background-color: #F74B02;
  color: rgb(255, 255, 255);
}
.btn-booking-cancel{
  border-radius: 30px !important;
  background-color: #afafaf;
  color: rgb(255, 255, 255);
}
.btn-booking:hover{background-color: #d24001; color: rgb(255, 255, 255);}
.booking-detail strong{color: rgb(163, 11, 11) !important;}
.booking-detail span{color: rgb(0, 0, 0) !important;}
@media (max-width: 767px) {
  .btn-booking,.btn-booking-cancel{font-size: 11px;}
  .booking-title{font-size: 17px;}
  .booking-detail strong,.booking-detail span{font-size: 14px;}
}

.jumbotron{ padding: 10px 2px;}
.container-booking{background-color: #ffffff; border-radius: 0px;}
.booking-item .material-icons{
  color: rgb(154, 2, 103);
  margin-top: 1.5rem !important;
  width: 40px;
  height: 40px;
  background-color: #e6e5e5;
  border-radius: 50%;
  padding-top: 8px;
}
.carousel-indicators [data-bs-target] {
  width: 5px;
  height: 5px;
  border-radius: 30px !important;
  background-color: #585858;
  border-top:none !important;
  border-bottom:none !important;
}
.booking-item{margin-bottom: 7px;}
/* bottom bar with the call / home / WhatsApp buttons */
.fixed-bottom {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 700px;
  min-width: 300px;
  padding: 4px 10px 4px 10px;
  text-align: center;
  border-radius: 30px;
  background: transparent;
  /* the bar is a full-width transparent strip: let taps pass through it
     (e.g. to the Facebook page box) except on the buttons themselves */
  pointer-events: none;
}
.fixed-bottom a{pointer-events: auto;}
/* leave room under the footer so its last item (Facebook page) can scroll above the bottom buttons */
footer.container{margin-bottom: calc(110px + env(safe-area-inset-bottom)) !important;}

/* colour / text utilities (also offered in the admin text editor) */
.text-b-danger{color: #FE2132;}
.text-b-warning{color: #FDCF00;}
.text-b-primary{color: #00ABF5;}
.text-b-info{color: #015182;}
.text-b-pink{color: #BD084B;}
.text-b-orange{color: #F74B02;}
.text-b-blue{color: #0F0CC6;}
.text-blue{
  color: #00ABF5;
  font-size: 17px;
}
.text-black{color: #000000 !important;}
.font-bold{font-weight: bold;}
.bg-blue{background-color: #100BED;}

.row a{text-decoration: none;}
#booking-form .form-control{border-radius: 17px;}
/* jquery.validate error messages */
.error{
  font-style: italic;
  font-size: 13px;
  color: red;
}
.bg-booking-title1{background-color: #0D4688;}

/* ---- Listing carousel on the home page ---- */
@media (max-width: 767px) {
  .recipeCarousel .carousel-inner .carousel-item > div {
    display: none;
  }
  .recipeCarousel .carousel-inner .carousel-item > div:first-child {
    display: block;
  }
}
.recipeCarousel .carousel-inner .carousel-item.active,
.recipeCarousel .carousel-inner .carousel-item-next,
.recipeCarousel .carousel-inner .carousel-item-prev {
  display: flex;
}
@media (min-width: 768px) {
  .carousel-control-next, .carousel-control-prev {
    top: -18% !important;
  }
}
.recipeCarousel .carousel-inner .carousel-item-end,
.recipeCarousel .carousel-inner .carousel-item-start {
  transform: translateX(0);
}
.recipeCarousel .carousel{padding-left: 0px; padding-right: 0px;}
.loop-item{margin: 1px;}
.numberCircle-desktop {
  border-radius: 50%;
  width: 36px;
  height: 36px;
  padding: 8px;
  background: #ca0000;
  border: 2px solid #ffffff;
  color: #ffffff;
  text-align: center;
  font: 17px Arial, sans-serif;
}
/* hide scrollbars */
::-webkit-scrollbar {
  width: 0px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #888;
}
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* =====================================================================
   REAL ESTATE (ອະສັງຫາລິມະຊັບ) additions
   ===================================================================== */
body{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Lao", "Phetsarath OT", sans-serif;
}

/* ---- Language switcher (over the header image) ---- */
.site-header{position: relative;}
.lang-switch{
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 20;
  display: flex;
  gap: 4px;
  padding: 4px 6px;
  background: rgba(0,0,0,.35);
  border-radius: 30px;
}
.lang-btn{
  border: 2px solid transparent;
  background: transparent;
  padding: 0;
  border-radius: 50%;
  line-height: 0;
  cursor: pointer;
  transition: transform .15s;
}
.lang-btn img{width: 30px; height: 30px; border-radius: 50%; object-fit: cover;}
.lang-btn:hover{transform: scale(1.1);}
.lang-btn.active{border-color: #FFF85B;}
@media (max-width: 576px){
  .lang-btn img{width: 24px; height: 24px;}
  .lang-switch{top: 4px; right: 4px;}
}
/* hide Google Translate top bar / tooltip */
body > .skiptranslate, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame{display: none !important;}
body{top: 0 !important;}
.goog-text-highlight{background: none !important; box-shadow: none !important;}

/* ---- Land area badge: bottom-right of the image ---- */
.img-wrap{position: relative; display: block; overflow: hidden;}
.img-wrap img{display: block; width: 100%;}
.land-area-badge{
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 10px;
  border-radius: 8px;
  background: rgba(0,0,0,.40);
  color: #fff;
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.4;
  text-shadow: 0 2px 6px rgba(0,0,0,.75);
  pointer-events: none;
  white-space: nowrap;
}
.land-area-badge.lg{font-size: 2rem; right: 12px; bottom: 12px;}
@media (max-width: 576px){
  .land-area-badge{font-size: 1.05rem;}
  .land-area-badge.lg{font-size: 1.5rem;}
}

/* ---- Listing card text ---- */
.land-price{font-weight: 700; color: #000;}

/* ---- 3 columns on home page ---- */
@media (min-width: 768px) {
  .recipeCarousel .carousel-inner .carousel-item-end.active,
  .recipeCarousel .carousel-inner .carousel-item-next {
    transform: translateX(33.3333%);
  }
  .recipeCarousel .carousel-inner .carousel-item-start.active,
  .recipeCarousel .carousel-inner .carousel-item-prev {
    transform: translateX(-33.3333%);
  }
}

/* ---- Appointment buttons (replace "Booking Now") ---- */
.appointment-box{
  border: 2px dashed #F74B02;
  border-radius: 14px;
  padding: 14px 10px;
  background: #fff8f4;
}
.appointment-box h4{font-weight: 700; color: #0D4688;}
.btn-appoint{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 56px;
  padding: 10px 14px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  white-space: normal;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
  transition: transform .15s, filter .15s;
}
.btn-appoint:hover{color: #fff; transform: translateY(-2px); filter: brightness(1.05);}
.btn-appoint .fa{font-size: 22px;}
.btn-appoint-visit{background: #F74B02;}
.btn-appoint-talk{background: #0D4688;}
@media (max-width: 576px){ .btn-appoint{font-size: 16px; min-height: 50px;} }

/* ---- Google map on detail page ---- */
.map-box{border-radius: 10px; overflow: hidden; border: 1px solid #ddd;}
.map-box iframe{display: block; width: 100%; height: 380px; border: 0;}
@media (max-width: 576px){ .map-box iframe{height: 280px;} }
.section-title{font-weight: 700; color: #0D4688; border-left: 5px solid #FDCF00; padding-left: 10px;}

/* ---- Appointment form ---- */
.appointment-type-switch{display: flex; gap: 8px; flex-wrap: wrap;}
.appointment-type-switch .btn-check + label{
  flex: 1 1 200px;
  border-radius: 30px;
  border: 2px solid #F74B02;
  color: #F74B02;
  font-weight: 600;
  padding: 10px;
  text-align: center;
  cursor: pointer;
}
.appointment-type-switch .btn-check:checked + label{background: #F74B02; color: #fff;}
#booking-form .form-label{font-weight: 600;}
#booking-form .form-label .req{color: #FE2132;}
.footer-title{font-weight: 700;}

/* ---- Footer: one font/size for every column ----
   About/Contact content comes from the editor with inline Word styles
   ('Phetsarath OT', Calibri, 10.5pt...) -> override so it matches the category list */
footer .copyright,
footer .copyright p,
footer .copyright span,
footer .copyright a,
footer .copyright li{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Lao", sans-serif !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
}
footer .copyright p{margin: 0 !important;}
footer .copyright .footer-title,
footer .copyright .footer-title u{
  font-size: 1.4rem !important;
  line-height: 1.3 !important;
}
footer .copyright a img{vertical-align: -3px;}

/* Facebook page box: never wider than its footer column */
footer .fb-page,
footer .fb-page > span,
footer .fb-page iframe{
  max-width: 100% !important;
}
footer .copyright .col-lg-3{overflow: hidden;}

/* ---- Spacing for listing grids (category / detail "related") ---- */
.list-col{padding-left: 8px; padding-right: 8px;}
.list-text{padding: 0 4px;}
.booking-detail td{padding-bottom: 3px;}
@media (max-width: 576px){
  .list-col{padding-left: 6px; padding-right: 6px;}
}
