/*
 Theme Name:   Rivora Child
 Theme URI:    https://reactheme.com/products/wordpress/rivora
 Description:  Rivora Child
 Author:       ReacThemes
 Author URI:   http://reactheme.com
 Template:     rivora
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
 */
 
 @font-face {
    font-family: 'Bodoni';
    font-display: swap;
    src: url(./fonts/BodoniXT.ttf);
}
.e-con .eshb-booking .eshb-booking-form .eshb-form-groups{
  display: block;
}

.e-con .eshb-booking .eshb-booking-form .field-label{
  text-align: left;
}

.e-con .eshb-booking .eshb-booking-form .de-number .d-minus,
.e-con .eshb-booking .eshb-booking-form .de-number .d-plus{
 display: none;
}

.e-con .eshb-booking .eshb-booking-form .de-number input[type="text"]{
  width: 100% !important;
  border: 1px solid var(--eshb-primary-color);
  border-radius: 5px;
  height: 40px;
      text-align: left;
  padding-left: 10px !important;
  font-size: 16px;
}

.e-con .eshb-booking .eshb-booking-form .eshb-form-group {
  margin-bottom: 0px;
}

.e-con .eshb-booking .eshb-booking-form .booking-date-picker{
  border-radius: 5px;
  height: 40px;
  text-align: left;
  padding-left: 10px !important;
  font-size: 16px;
}

.e-con .eshb-booking .eshb-booking-form .eshb-form-group p.capacity-status{
  text-align: left;
}

.e-con .eshb-booking .eshb-booking-form .date-err-msg{
  margin: 0;
  padding: 0;
}

.e-con .eshb-form-submit-btn{
  font-weight: bold;
}

.wc-block-checkout .wc-block-checkout__payment-method,
.wc-block-checkout .wc-block-components-address-form__postcode,
.wc-block-checkout .wp-block-woocommerce-checkout-terms-block,
.wc-block-checkout .wc-block-components-country-input,
.wc-block-checkout .wc-block-components-address-form__address_2-toggle,
.wc-block-checkout .wc-block-components-checkout-return-to-cart-button{
display: none;
}

/* Social Media Widget */
.social-media-widget {
  position: fixed;
  bottom: 20%;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.social-media-widget .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
}

.social-media-widget .social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Custom Tooltip */
.social-media-widget .social-icon::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 10000;
}

.social-media-widget .social-icon::after {
  content: '';
  position: absolute;
  right: 52px;
  border: 6px solid transparent;
  border-left-color: #764ba2;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 10000;
}

.social-media-widget .social-icon:hover::before,
.social-media-widget .social-icon:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.social-media-widget .social-icon svg {
  width: 28px;
  height: 28px;
}

.social-media-widget .facebook-icon {
  background-color: #1877f2;
  color: #ffffff;
}

.social-media-widget .facebook-icon:hover {
  background-color: #0d65d9;
}

.social-media-widget .messenger-icon {
  background-color: #1877f2;
  color: #ffffff;
}

.social-media-widget .messenger-icon:hover {
  background-color: #0d65d9;
}

.social-media-widget .zalo-icon {
  background-color: #1877f2;
  color: #ffffff;
}

.social-media-widget .zalo-icon:hover {
  background-color: #0d65d9;
}

#cal-hotline{
  position: fixed;
  margin: 0;
  padding: 0;
  left: 0;
  bottom: 50px;
  background: #fff;
  background-color: transparent;
  cursor: pointer;
  font-size: 0;
  width: 110px;
  height: 110px;
  z-index: 1000;
}
#cal-hotline .tada{
  background: #ffcd02;
  border-radius: 100px;
  width: 40px;
  height:40px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-top: -20px;
  margin-left: -20px;
  animation-name: tada;
  animation-duration: 0.9s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}
#cal-hotline .tada a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  position: relative;
}

#cal-hotline .tada a .phone-icon {
  width: 24px;
  height: 24px;
  fill: #fff;
  color: #fff;
}

/* Hotline Tooltip */
#cal-hotline .hotline-tooltip {
  position: fixed;
  left: 100px;
  bottom: 83px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 10001;
}

#cal-hotline .hotline-tooltip::after {
  content: '';
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: #667eea;
}

#cal-hotline:hover .hotline-tooltip {
  opacity: 1;
  visibility: visible;
}

@keyframes tada {
  from {transform:rotate(-20deg);}
  to {transform:rotate(20deg);}
}

#cal-hotline .pulse{
  width: 60px;
  height: 60px;
  background: rgba(255, 205, 2, 0.4);
  border-radius: 100px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -30px;
  margin-left: -30px;
  animation-name: pulse;
  animation-duration: 0.5s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: ease-in-out;
}
@keyframes pulse {
  from {
      width: 55px;
      height: 55px;
      margin-top: -27.5px;
      margin-left: -27.5px;
  }
  to {
      width: 60px;
      height: 60px;
      margin-top: -30px;
      margin-left: -30px;
  }
}
#cal-hotline .zoomIn{
  width: 80px;
  height: 80px;
  border: 2px solid rgb(255, 205, 2);
  border-radius: 100px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -40px;
  margin-left: -40px;
  animation-name: zoomIn;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-out;
}
@keyframes zoomIn {
  from {   
      width: 40px;
      height: 40px;
      margin-top: -20px;
      margin-left: -20px;

  }
  to {
      width: 80px;
      height: 80px;
      margin-top: -40px;
      margin-left: -40px;
  }
}

/* Responsive cho điện thoại */
@media screen and (max-width: 768px) {
  .social-media-widget {
    bottom: 15%;
    right: 15px;
    gap: 10px;
  }
  
  .social-media-widget .social-icon {
    width: 45px;
    height: 45px;
  }
  
  .social-media-widget .social-icon svg {
    width: 24px;
    height: 24px;
  }
}

@media screen and (max-width: 480px) {
  .social-media-widget {
    bottom: 15%;
    right: 10px;
    gap: 8px;
  }
	
  
  .social-media-widget .social-icon {
    width: 40px;
    height: 40px;
  }
  
  .social-media-widget .social-icon svg {
    width: 22px;
    height: 22px;
  }
}

#cal-hotline {
	left: auto;
	right: -6px;
	bottom: 65px;
}
.fts-logo h4,
.fts-logo h5 {
    /*font-family: 'Bodoni' !important;*/
}
