.elementor-1127 .elementor-element.elementor-element-123cf22{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:10px;--padding-right:10px;}.elementor-1127 .elementor-element.elementor-element-58291f8{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:flex-start;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-1127 .elementor-element.elementor-element-816f714{--display:flex;--min-height:609px;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-1127 .elementor-element.elementor-element-816f714.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-1127 .elementor-element.elementor-element-df979e5{--display:flex;}.elementor-1127 .elementor-element.elementor-element-549f8b9{--display:flex;--align-items:flex-start;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );}.elementor-1127 .elementor-element.elementor-element-09a5dc6 > .elementor-widget-container{padding:8px 8px 8px 8px;border-style:solid;border-width:2px 2px 2px 2px;border-color:#29252575;}.elementor-1127 .elementor-element.elementor-element-ce9e278{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}.elementor-1127 .elementor-element.elementor-element-af51be1{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) -20px;padding:0px 0px 0px 0px;}.elementor-1127 .elementor-element.elementor-element-af51be1 .cart button, .elementor-1127 .elementor-element.elementor-element-af51be1 .cart .button{border-radius:10px 10px 10px 10px;padding:10px 20px 10px 020px;transition:all 0s;}.elementor-1127 .elementor-element.elementor-element-af51be1 .quantity .qty{border-radius:0px 0px 0px 0px;padding:0px 0px 0px 0px;transition:all 0s;}.woocommerce .elementor-1127 .elementor-element.elementor-element-af51be1 form.cart .variations{width:100%;margin-bottom:25px;}.woocommerce .elementor-1127 .elementor-element.elementor-element-af51be1 form.cart table.variations tr th, .woocommerce .elementor-1127 .elementor-element.elementor-element-af51be1 form.cart table.variations tr td{padding-top:calc( 2px/2 );padding-bottom:calc( 2px/2 );}.elementor-1127 .elementor-element.elementor-element-bc6baad{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}.elementor-1127 .elementor-element.elementor-element-3d86c20{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}.elementor-1127 .elementor-element.elementor-element-3d86c20.elementor-element{--flex-grow:1;--flex-shrink:0;}.elementor-1127 .elementor-element.elementor-element-33a436c{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}.elementor-1127 .elementor-element.elementor-element-2f8fda6{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;text-align:left;}.elementor-1127 .elementor-element.elementor-element-57581be{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:90px;--margin-right:0px;}.elementor-1127 .elementor-element.elementor-element-776a5e3{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}.elementor-1127 .elementor-element.elementor-element-8dc2265{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}.elementor-1127 .elementor-element.elementor-element-0dcca9a.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}.elementor-1127 .elementor-element.elementor-element-0dcca9a.elementor-wc-products ul.products li.product span.onsale{display:block;}@media(max-width:1024px){.elementor-1127 .elementor-element.elementor-element-0dcca9a.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}@media(min-width:768px){.elementor-1127 .elementor-element.elementor-element-123cf22{--content-width:86%;}.elementor-1127 .elementor-element.elementor-element-816f714{--width:600px;}.elementor-1127 .elementor-element.elementor-element-bc6baad{--width:85%;}.elementor-1127 .elementor-element.elementor-element-33a436c{--width:85%;}.elementor-1127 .elementor-element.elementor-element-57581be{--width:86%;}}@media(max-width:767px){.elementor-1127 .elementor-element.elementor-element-5f11eef{width:100%;max-width:100%;}.elementor-1127 .elementor-element.elementor-element-3d86c20{width:100%;max-width:100%;margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}.elementor-1127 .elementor-element.elementor-element-2f8fda6{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 10px;}.elementor-1127 .elementor-element.elementor-element-57581be{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-1127 .elementor-element.elementor-element-0dcca9a.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}/* Start custom CSS for woocommerce-product-add-to-cart, class: .elementor-element-af51be1 */.wa-order-button.single_add_to_cart_button {
    margin-left: 20px !important;
}


/*.wa-order-button:hover {*/
/*    background: none !important;*/
/*    background-color: transparent !important;*/
/*    box-shadow: none !important;*/
/*    color: inherit !important;*/
/*    border-color: inherit !important;*/
/*    transform: none !important;*/
/*    filter: none !important;*/
/*}*/



.wa-order-button,
.wa-order-button:hover {
    background-color: #000 !important;  solid black 
    color: #fff !important;  white text 
    box-shadow: none !important;
    border-color: #000 !important;
    transform: none !important;
    filter: none !important;
}





.wa-order-button {
    background-color: #25d366 !important; /* your original green */
    border: none !important;
    box-shadow: none !important;
    overflow: hidden !important;
}


.wa-order-class:hover {
    background-color: transparent !important;
}

.wa-order-class {
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-block;
}

.wa-order-class:hover {
    background-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}








input.input-text.qty {
    display: none !important;
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-549f8b9 */<script>
document.addEventListener('DOMContentLoaded', function () {
  const bookNowBtn = document.querySelector('.wa-order-class');
  const qtyInput = document.querySelector('input.qty');
  
  if (bookNowBtn && qtyInput) {
    bookNowBtn.addEventListener('click', function (e) {
      e.preventDefault(); // prevent default click

      const qty = qtyInput.value || 1; // default to 1 if empty

      // Update WhatsApp message
      const productName = "Dubai Mall Aquarium + Underwater Zoo + Penguin Cove";
      const priceStr = "*Price:* ~د.إ160.00~ د.إ145.00";
      const productURL = "https://bestdeals.ae/product/dubai-mall-aquarium-underwater-zoo/";

      const message = `*${productName}*\n*Tickets:* ${qty}\n${priceStr}\n*URL:* ${productURL}\n\nThank you!`;

      // WhatsApp phone number
      const phone = "971501252712";
      const encodedMessage = encodeURIComponent(message);
      const whatsappURL = `https://web.whatsapp.com/send?phone=${phone}&text=${encodedMessage}&app_absent=0`;

      window.open(whatsappURL, '_blank'); // open WhatsApp with dynamic message
    });
  }
});
</script>








<script>
document.addEventListener('DOMContentLoaded', function () {
    const variationForm = document.querySelector('.variations_form');
    const bookNowLink = document.querySelector('.wa-order-class');
    const bookNowButton = document.querySelector('.wa-order-button');
    const priceContainer = document.querySelector('.woocommerce-variation-price');
    const productTitle = "Yas Island (Main)";
    const pageUrl = window.location.href;

    if (!variationForm || !bookNowLink || !bookNowButton) return;

    variationForm.addEventListener('change', function () {
        setTimeout(() => {
            const selectedOption = variationForm.querySelector('select[name="attribute_packages"]').value;
            const currentPriceEl = priceContainer.querySelector('ins .woocommerce-Price-amount bdi');
            const regularPriceEl = priceContainer.querySelector('del .woocommerce-Price-amount bdi');

            const currentPrice = currentPriceEl ? currentPriceEl.textContent.trim() : '';
            const regularPrice = regularPriceEl ? regularPriceEl.textContent.trim() : '';

            const message = `*${productTitle} - ${selectedOption}*\n*Price:* ~${regularPrice}~ ${currentPrice}\n*URL:* ${pageUrl}\n\nThank you!`;
            const encodedMessage = encodeURIComponent(message);
            const whatsappNumber = "971501252712"; // Change if needed

            bookNowLink.setAttribute("href", `https://web.whatsapp.com/send?phone=${whatsappNumber}&text=${encodedMessage}&app_absent=0`);
        }, 300); // slight delay to ensure variation updates
    });
});
</script>/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-3d86c20 */<td><input type="date" id="tour-date" /></td>

<script>
  // Auto-set today's date as default for the date input
  const dateInput = document.getElementById('tour-date');
  const today = new Date();
  const yyyy = today.getFullYear();
  const mm = String(today.getMonth() + 1).padStart(2, '0'); // months are 0-based
  const dd = String(today.getDate()).padStart(2, '0');
  const formattedToday = `${yyyy}-${mm}-${dd}`;
  dateInput.value = formattedToday;
</script>/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-776a5e3 *//* Grid Layout - 4 cards per row */
.custom-product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 20px 0;
}

.custom-product-grid > div {
  flex: 1 1 calc(25% - 12px); /* 4 items per row */
  box-sizing: border-box;
}

/* Individual Card */
.custom-product-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
  position: relative;
}

.custom-product-card:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Product Image */
.custom-product-card a ,
.custom-product-card img {
  width: 100%;
  height: 100p%;
  display: flex;
  flex-shrink: no-shrink;
  object-fit: fill !important;
  display: block;
  border: none;
}





/* Card Content Area */
.card-content {
  padding: 12px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Location */
.product-location {
  font-size: 12px;
  color: #666;
  margin: 0 0 6px 0;
  line-height: 1.2;
}

/* Product Title */
.product-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}

/* Discount Badge */
.discount-badge {
  display: inline-block;
  background: #ff6600;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 3px 6px;
  border-radius: 3px;
  margin: 0 0 8px 0;
  width: fit-content;
}

/* Bought Count */
.bought-count {
  font-size: 12px;
  color: #777;
  margin: 0;
  margin-top: auto;
}


.card-bottom {
  background: #2c5aa0;
  padding: 10px 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

/* Price Section */
.product-price {
  display: flex;
  flex-direction: row;
  gap: 2px;
}

.product-price del {
  color: #b8c5d6;
  font-size: 16px;
  text-decoration: line-through;
  line-height: 1;
  margin: 0;
}

.product-price .sale-price,
.product-price span:not(del) {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  margin: 0;
}

.product-price:not(:has(del)) {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
}

/* View Button */
.view-btn {
    width: 80px !important;
  background: #fff !important;
  color: #2c5aa0 !important;
  padding: 6px 4px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.view-btn:hover {
  background: #f0f4f8;
  text-decoration: none;
  color: #2c5aa0;
}

/* Remove default link styling */
.custom-product-card a {
  text-decoration: none;
  color: inherit;
}

.custom-product-card a:hover {
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .custom-product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (max-width: 768px) {
 .custom-product-grid {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto;
}

.custom-product-grid > div {
  flex: 1 1 calc(50% - 10px); /* 2 columns */
  box-sizing: border-box;
}

  
  .custom-product-card img {
    height: 160px;
  }
  
  .card-content {
    padding: 10px;
  }
  
  .product-title {
    font-size: 13px;
    min-height: 32px;
  }
}

@media (max-width: 480px) {
 .custom-product-grid {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto;
}

.custom-product-grid > div {
  flex: 1 1 calc(100% - 10px); /* 2 columns */
  box-sizing: border-box;
}

  
  .custom-product-card img {
    height: 200px;
  }
  
  .card-bottom {
    padding: 8px 10px;
  }
  
  .view-btn {
    padding: 5px 12px;
    font-size: 11px;
  }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-57581be *//* Custom Product Grid CSS - Exact Competitor Match */
.custom-product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 20px 0;
}

.custom-product-grid > div {
  flex: 1 1 calc(25% - 12px); /* 4 items per row */
  box-sizing: border-box;
}

/* Individual Product Card */
.custom-product-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
  position: relative;
}

.custom-product-card:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Product Image */
.custom-product-card a,
.custom-product-card img {
  width: 100%;
  height: 250px;
  display: block !important;
  object-fit: fill !important;
  border: none;
  text-decoration: none;
}

.custom-product-card a {
  position: relative;
}



/* Card Content Area */
.card-content {
  padding: 12px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Location - Small Icon */
.product-location {
  font-size: 12px;
  color: #666;
  margin: 0 0 6px 0;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-location::before {
  content: "📍";
  font-size: 12px;
  display: inline-block;
}

/* Product Title */
.product-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}

/* Bought Count */
.bought-count {
  font-size: 12px;
  color: #777;
  margin: 0;
  margin-top: auto;
}

/* Card Bottom - Blue Section */
.card-bottom {
    height: 55px !important;
  background: #3d8ea8;
  padding: 10px 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

/* Price Section */
.product-price {
  display: flex;
  flex-direction: row;
  gap: 6px;
  align-items: center;
}

.product-price del {
  color: #b8c5d6;
  font-size: 14px;
  text-decoration: line-through;
  line-height: 1;
  margin: 0;
}

.product-price .sale-price,
.product-price span:not(del) {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  margin: 0;
}

.product-price:not(:has(del)) {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
}

.view-btn {
    width: 80px !important;
    height: 40px !important;
  background: #edba22 !important;
  color: #ffffff!important;
  font-weight: bold;
  padding: 6px 4px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.view-btn:hover {
  background: #ffffff !important;
  text-decoration: none;
  color: #F57B17 !important;
}

/* Remove default link styling */
.custom-product-card a {
  text-decoration: none;
  color: inherit;
}

.custom-product-card a:hover {
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .custom-product-grid > div {
    flex: 1 1 calc(33.333% - 12px);
  }
}

@media (max-width: 768px) {
  .custom-product-grid {
    gap: 12px;
  }

  .custom-product-grid > div {
    flex: 1 1 calc(50% - 8px);
  }
  
  .custom-product-card a,
  .custom-product-card img {
    height: 250px;
  }
  
  .card-content {
    padding: 10px;
  }
  
  .product-title {
    font-size: 13px;
    min-height: 32px;
  }
  
  .card-bottom {
    padding: 8px 10px;
  }
  
  .view-btn {
    padding: 5px 12px;
    font-size: 11px;
    min-width: 50px;
  }
}

@media (max-width: 480px) {
  .custom-product-grid > div {
    flex: 1 1 100%;
  }
  
  .custom-product-card a,
  .custom-product-card img {
    height: 300px;
  }
  
  .card-content {
    padding: 12px;
  }
  
  .product-title {
    font-size: 14px;
    min-height: 34px;
  }
  
  .card-bottom {
    padding: 10px 12px;
  }
  
  .view-btn {
    padding: 6px 14px;
    font-size: 12px;
    
  }
}/* End custom CSS */