=== GoFeels Motor de reservas ===
Contributors: gofeels
Tags: hotel, booking, datepicker, reservation, booking engine
Requires at least: 5.9
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 4.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A premium and lightweight datepicker widget that seamlessly connects your website to the GoFeels booking engine.

== Description ==

The official GoFeels Booking Engine plugin allows hotels and accommodations to easily integrate a high-converting, modern datepicker widget anywhere on their WordPress site.

Using a universal shortcode, it works flawlessly with all major page builders including Elementor, Divi, WPBakery, and the Gutenberg block editor.

== Installation ==

1. Upload the `gofeels-datepicker` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Navigate to Settings -> GoFeels Booking Engine and enter your Property Token from your GoFeels PMS.
4. Insert the shortcode `[gofeels_motor_reservas]` into any page or post.

== Changelog ==

= 4.0.0 =
* NEW: Multi-product tabs support (Rooms, Packages, Extras).
* NEW: Single-date selection mode for Packages and Extras.
* NEW: Drag-and-drop product ordering in admin panel.
* NEW: Customizable tab labels per product.
* NEW: Toggle switches to enable/disable each product.
* Admin warning when no products are active.

= 3.4.5 =
* Fixed JavaScript syntax error caused by extra closing brace in closeCalendar function.

= 3.4.4 =
* Fixed click-outside handler closing calendar immediately after opening when teleported to body.

= 3.4.3 =
* Fixed calendar rendering behind images and sections in Divi, Elementor and WPBakery page builders.
* Calendar now teleports to document body on desktop to escape builder stacking contexts.
* Added scroll and resize repositioning for fixed calendar positioning.

= 3.4.2 =
* Fixed CSS stacking context and z-index overlay conflict with page builders (Divi, Elementor, WPBakery).
* Calendar dropdown now always renders above page content.

= 3.4.0 =
* Secure input filtering, asset optimizations, and modern user interface overhaul.
* Removed obsolete textdomain loading function.
* Compliant with WordPress.org standards and security best practices.

= 3.3.6 =
* Fixed notification timing issues.
* Improved form data handling and nonce verification.

= 3.3.5 =
* Enhanced toast notification visibility and positioning.
* Fixed display timing for user feedback messages.

= 3.0.0 =
* Initial plugin release.
* Dual-month desktop calendar with arrow navigation.
* Mobile modal drawer interface.
* Configurable colors and border-radius from admin panel.

== Frequently Asked Questions ==

= How do I get my Property Token? =
Log into your GoFeels dashboard, navigate to Booking Engine > Installation > Token, and copy the unique identifier for your property.

= Which page builders are supported? =
The plugin works with Elementor, Divi, WPBakery, Gutenberg, and any page builder that supports shortcodes.

= Can I customize the colors? =
Yes! Go to Settings -> GoFeels Booking Engine to choose your primary color and adjust the border-radius of the widget.

== Support ==

For support, visit https://gofeels.com or contact our team directly.

== External Services ==

This plugin relies on external infrastructure provided by GoFeels to fetch property configurations and handle real-time hotel room bookings:

1. GoFeels API (https://api.gofeels.com):
   * Used for: Verifying property settings, custom domain configurations, and validation checks using the property token.
   * Data sent: Only the unique property token identifier. No personal user data or sensitive information is collected or transmitted.
   * When it runs: Executes asynchronously every time the datepicker widget or admin settings dashboard is loaded.

2. GoFeels Booking Engine (https://reservation.gofeels.com):
   * Used for: Processing hotel room bookings. It acts as a bridge to redirect guests to the secure property reservation flow.
   * Data sent: Selected check-in date, check-out date, and the property token via URL query parameters.
   * When it runs: Only triggered when a website visitor explicitly clicks the search availability button.

These external platforms are operated exclusively by GoFeels. For more details on compliance, please refer to:
* GoFeels Terms of Use: https://gofeels.com/terms
* GoFeels Privacy Policy: https://gofeels.com/privacy
