{"id":3018,"date":"2026-01-27T06:26:30","date_gmt":"2026-01-27T06:26:30","guid":{"rendered":"https:\/\/yarafresh.com\/?page_id=3018"},"modified":"2026-01-28T23:04:47","modified_gmt":"2026-01-28T23:04:47","slug":"products","status":"publish","type":"page","link":"https:\/\/yarafresh.com\/my\/products\/","title":{"rendered":"Products"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"3018\" class=\"elementor elementor-3018\">\n\t\t\t\t<div class=\"elementor-element elementor-element-cfd2d2d e-flex e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-column-slider-no wpr-equal-height-no e-con e-parent\" data-id=\"cfd2d2d\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-f799bc5 elementor-widget elementor-widget-spacer\" data-id=\"f799bc5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-1fab17b e-flex e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-column-slider-no wpr-equal-height-no e-con e-parent\" data-id=\"1fab17b\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-728c169 elementor-widget elementor-widget-shortcode\" data-id=\"728c169\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">    <style>\r\n        \/* --- Container & Layout --- *\/\r\n        .yara-filter-wrapper {\r\n            max-width: 1100px;\r\n            margin: 40px auto;\r\n            font-family: 'Helvetica Neue', Arial, sans-serif;\r\n            display: flex;\r\n            align-items: center;\r\n            justify-content: space-between;\r\n            gap: 50px;\r\n            padding: 40px;\r\n            background: #fff;\r\n            border-radius: 30px;\r\n            box-shadow: 0 20px 60px rgba(0, 94, 233, 0.08);\r\n            position: relative;\r\n            overflow: hidden;\r\n        }\r\n\r\n        \/* Decorative background blob *\/\r\n        .yara-filter-wrapper::before {\r\n            content: '';\r\n            position: absolute;\r\n            top: -50%;\r\n            right: -20%;\r\n            width: 800px;\r\n            height: 800px;\r\n            background: radial-gradient(circle, rgba(0,94,233,0.03) 0%, rgba(255,255,255,0) 70%);\r\n            z-index: 0;\r\n            pointer-events: none;\r\n        }\r\n\r\n        \/* --- Controls Section (Left) --- *\/\r\n        .filter-controls {\r\n            flex: 0 0 350px;\r\n            display: flex;\r\n            flex-direction: column;\r\n            gap: 25px;\r\n            z-index: 2;\r\n        }\r\n\r\n        .filter-group {\r\n            display: flex;\r\n            flex-direction: column;\r\n        }\r\n\r\n        .filter-group label {\r\n            font-weight: 800;\r\n            color: #005EE9;\r\n            margin-bottom: 12px;\r\n            font-size: 13px;\r\n            text-transform: uppercase;\r\n            letter-spacing: 1.5px;\r\n        }\r\n\r\n        .filter-select {\r\n            padding: 18px 25px;\r\n            border: 2px solid #eef2f7;\r\n            border-radius: 18px;\r\n            background: #f8faff;\r\n            color: #333;\r\n            font-size: 16px;\r\n            font-weight: 600;\r\n            cursor: pointer;\r\n            outline: none;\r\n            transition: all 0.3s ease;\r\n            appearance: none;\r\n            \/* SVG Chevron Icon *\/\r\n            background-image: url(\"data:image\/svg+xml;charset=UTF-8,%3csvg xmlns='http:\/\/www.w3.org\/2000\/svg' viewBox='0 0 24 24' fill='none' stroke='%23005EE9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c\/polyline%3e%3c\/svg%3e\");\r\n            background-repeat: no-repeat;\r\n            background-position: right 20px center;\r\n            background-size: 15px;\r\n        }\r\n\r\n        .filter-select:focus {\r\n            border-color: #005EE9;\r\n            background-color: #fff;\r\n            box-shadow: 0 10px 20px rgba(0, 94, 233, 0.1);\r\n        }\r\n\r\n        \/* --- Buttons --- *\/\r\n        .button-container {\r\n            display: flex;\r\n            flex-direction: column;\r\n            gap: 15px;\r\n            margin-top: 10px;\r\n        }\r\n\r\n        .order-cta-button {\r\n            display: inline-block;\r\n            padding: 18px 25px;\r\n            background: linear-gradient(135deg, #00C853 0%, #00A844 100%);\r\n            color: white;\r\n            text-decoration: none;\r\n            border-radius: 18px;\r\n            font-weight: 700;\r\n            font-size: 16px;\r\n            text-align: center;\r\n            cursor: pointer;\r\n            transition: all 0.3s ease;\r\n            box-shadow: 0 8px 20px rgba(0, 200, 83, 0.2);\r\n            border: none;\r\n        }\r\n\r\n        .order-cta-button:hover {\r\n            transform: translateY(-3px);\r\n            box-shadow: 0 12px 25px rgba(0, 200, 83, 0.3);\r\n        }\r\n\r\n        .faq-link-button {\r\n            display: inline-block;\r\n            text-align: center;\r\n            color: #005EE9;\r\n            font-weight: 600;\r\n            text-decoration: none;\r\n            font-size: 15px;\r\n        }\r\n        \r\n        .faq-link-button:hover {\r\n            text-decoration: underline;\r\n        }\r\n\r\n        \/* --- Best For Section --- *\/\r\n        .best-for-container {\r\n            margin-top: 10px;\r\n            padding: 15px;\r\n            background: #f8faff;\r\n            border-radius: 15px;\r\n            border-left: 4px solid #005EE9;\r\n        }\r\n\r\n        .best-for-label {\r\n            display: block;\r\n            font-size: 12px;\r\n            color: #666;\r\n            margin-bottom: 8px;\r\n            font-weight: 700;\r\n        }\r\n\r\n        .breadcrumb-links {\r\n            display: flex;\r\n            gap: 8px;\r\n            flex-wrap: wrap;\r\n        }\r\n\r\n        .breadcrumb-link {\r\n            padding: 6px 12px;\r\n            background: white;\r\n            color: #666;\r\n            text-decoration: none;\r\n            border-radius: 10px;\r\n            font-size: 12px;\r\n            font-weight: 600;\r\n            border: 1px solid #eef2f7;\r\n            transition: transform 0.2s;\r\n        }\r\n\r\n        .breadcrumb-link:hover {\r\n            transform: translateY(-2px);\r\n            border-color: #005EE9;\r\n            color: #005EE9;\r\n        }\r\n\r\n        \/* --- 3D Product Area (Right) --- *\/\r\n        .product-display-box {\r\n            flex: 1;\r\n            min-height: 500px;\r\n            position: relative;\r\n            display: flex;\r\n            justify-content: center;\r\n            align-items: center;\r\n            perspective: 1000px; \/* Essential for 3D depth *\/\r\n            z-index: 1;\r\n        }\r\n\r\n        \/* Floor Shadow *\/\r\n        .floor-shadow {\r\n            position: absolute;\r\n            bottom: 40px;\r\n            width: 200px;\r\n            height: 40px;\r\n            background: radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 70%);\r\n            transform: rotateX(60deg);\r\n            z-index: 0;\r\n            transition: opacity 0.5s ease;\r\n            opacity: 0; \/* Hidden initially *\/\r\n        }\r\n\r\n        .floor-shadow.active {\r\n            opacity: 1;\r\n            animation: shadow-breathe 4s ease-in-out infinite;\r\n        }\r\n\r\n        #yara-result-container {\r\n            width: 100%;\r\n            height: 100%;\r\n            display: flex;\r\n            justify-content: center;\r\n            align-items: center;\r\n        }\r\n\r\n        \/* Product Card & Animation States *\/\r\n        .product-card {\r\n            display: none; \/* Hidden by default *\/\r\n            text-align: center;\r\n            position: absolute;\r\n            width: 100%;\r\n            opacity: 0;\r\n            \/* Entry Animation Start State *\/\r\n            transform: rotateY(30deg) translateY(50px) scale(0.8);\r\n            transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);\r\n            transform-style: preserve-3d;\r\n        }\r\n\r\n        .product-card.active {\r\n            display: block;\r\n            opacity: 1;\r\n            \/* Entry Animation End State *\/\r\n            transform: rotateY(0deg) translateY(0) scale(1);\r\n        }\r\n\r\n        .product-card img {\r\n            max-height: 450px;\r\n            max-width: 100%;\r\n            \/* Continuous Float Animation *\/\r\n            filter: drop-shadow(0 20px 30px rgba(0, 94, 233, 0.15));\r\n            animation: float-bottle 4s ease-in-out infinite;\r\n            transform-origin: center bottom;\r\n        }\r\n\r\n        .product-card h2 {\r\n            margin-top: 20px;\r\n            color: #2d3748;\r\n            font-size: 24px;\r\n            opacity: 0;\r\n            transform: translateY(20px);\r\n            transition: 0.4s 0.2s ease;\r\n        }\r\n\r\n        .product-card p {\r\n            color: #718096;\r\n            margin-top: 5px;\r\n            opacity: 0;\r\n            transform: translateY(20px);\r\n            transition: 0.4s 0.3s ease;\r\n        }\r\n        \r\n        \/* Reveal text when active *\/\r\n        .product-card.active h2,\r\n        .product-card.active p {\r\n            opacity: 1;\r\n            transform: translateY(0);\r\n        }\r\n\r\n        .placeholder-text {\r\n            color: #cbd5e0;\r\n            font-size: 18px;\r\n            border: 2px dashed #e2e8f0;\r\n            padding: 40px;\r\n            border-radius: 20px;\r\n            text-align: center;\r\n            background: rgba(255,255,255,0.5);\r\n        }\r\n\r\n        \/* --- Keyframes --- *\/\r\n        @keyframes float-bottle {\r\n            0% { transform: translateY(0px) rotateZ(0deg); }\r\n            50% { transform: translateY(-15px) rotateZ(1deg); }\r\n            100% { transform: translateY(0px) rotateZ(0deg); }\r\n        }\r\n\r\n        @keyframes shadow-breathe {\r\n            0% { transform: rotateX(60deg) scale(1); opacity: 0.2; }\r\n            50% { transform: rotateX(60deg) scale(0.85); opacity: 0.1; }\r\n            100% { transform: rotateX(60deg) scale(1); opacity: 0.2; }\r\n        }\r\n\r\n        \/* --- Mobile Responsiveness --- *\/\r\n        @media (max-width: 900px) {\r\n            .yara-filter-wrapper {\r\n                flex-direction: column-reverse; \/* Controls go below image *\/\r\n                padding: 30px 20px;\r\n                gap: 20px;\r\n            }\r\n\r\n            .filter-controls {\r\n                flex: none;\r\n                width: 100%;\r\n            }\r\n\r\n            .product-display-box {\r\n                min-height: 350px;\r\n                width: 100%;\r\n                flex: none;\r\n            }\r\n\r\n            .product-card img {\r\n                max-height: 300px;\r\n            }\r\n            \r\n            .floor-shadow {\r\n                bottom: 20px;\r\n            }\r\n        }\r\n    <\/style>\r\n\r\n    <div class=\"yara-filter-wrapper\">\r\n        <!-- Controls -->\r\n        <div class=\"filter-controls\">\r\n            <div class=\"filter-group\">\r\n                <label>Water Type<\/label>\r\n                <select id=\"yara-product-type\" class=\"filter-select\">\r\n                    <option value=\"Purified\">Purified Water<\/option>\r\n                    <option value=\"Alkaline\">Alkaline Water<\/option>\r\n                    <option value=\"Mineral\">Mineral Water<\/option>\r\n                <\/select>\r\n            <\/div>\r\n\r\n            <div class=\"filter-group\">\r\n                <label>Select Size<\/label>\r\n                <select id=\"yara-product-size\" class=\"filter-select\">\r\n                    <option value=\"\">Choose a Size<\/option>\r\n                    <option value=\"300ml\">300ml Handy<\/option>\r\n                    <option value=\"600ml\">600ml Standard<\/option>\r\n                    <option value=\"1ltr\">1.0 Litre Premium<\/option>\r\n                    <option value=\"20ltr\">20 Litre Dispenser<\/option>\r\n                <\/select>\r\n            <\/div>\r\n\r\n            <div class=\"best-for-container\">\r\n                <span class=\"best-for-label\">Best For<\/span>\r\n                <div class=\"breadcrumb-links\">\r\n                    <a href=\"#\" class=\"breadcrumb-link\" data-type=\"home\">\ud83c\udfe0 Home<\/a>\r\n                    <a href=\"#\" class=\"breadcrumb-link\" data-type=\"office\">\ud83c\udfe2 Office<\/a>\r\n                    <a href=\"#\" class=\"breadcrumb-link\" data-type=\"travel\">\u2708\ufe0f Travel<\/a>\r\n                <\/div>\r\n            <\/div>\r\n\r\n            <div class=\"button-container\">\r\n                <a href=\"\/delivery\" class=\"order-cta-button\" id=\"order-now-button\">\ud83d\uded2 Order Now<\/a>\r\n                <a href=\"https:\/\/yarafresh.com\/faq\/\" class=\"faq-link-button\">\u2753 View FAQ<\/a>\r\n            <\/div>\r\n        <\/div>\r\n\r\n        <!-- 3D Display -->\r\n        <div class=\"product-display-box\">\r\n            <div class=\"floor-shadow\" id=\"floor-shadow\"><\/div>\r\n            <div id=\"yara-result-container\">\r\n                <div class=\"placeholder-text\" id=\"placeholder-msg\">Select a size to view<br>the 3D Bottle<\/div>\r\n            <\/div>\r\n        <\/div>\r\n    <\/div>\r\n\r\n    <script>\r\n    document.addEventListener('DOMContentLoaded', function() {\r\n        const sizeSelect = document.getElementById('yara-product-size');\r\n        const typeSelect = document.getElementById('yara-product-type');\r\n        const resultContainer = document.getElementById('yara-result-container');\r\n        const orderButton = document.getElementById('order-now-button');\r\n        const floorShadow = document.getElementById('floor-shadow');\r\n        const placeholderMsg = document.getElementById('placeholder-msg');\r\n\r\n        \/\/ Product Configuration\r\n        const productData = {\r\n            '300ml': { \r\n                img: 'https:\/\/yarafresh.com\/wp-content\/uploads\/2026\/01\/300-ml.png', \r\n                name: 'Compact Hydration' \r\n            },\r\n            '600ml': { \r\n                img: 'https:\/\/yarafresh.com\/wp-content\/uploads\/2026\/01\/600-ml.png', \r\n                name: 'Daily Refresh' \r\n            },\r\n            '1ltr': { \r\n                img: 'https:\/\/yarafresh.com\/wp-content\/uploads\/2026\/01\/1ltr.png', \r\n                name: 'Maximum Purity' \r\n            },\r\n            '20ltr': { \r\n                img: 'https:\/\/yarafresh.com\/wp-content\/uploads\/2026\/01\/20-ltr.png', \r\n                name: '20L Dispenser Bottle' \r\n            }\r\n        };\r\n\r\n        function updateDisplay() {\r\n            const size = sizeSelect.value;\r\n            const type = typeSelect.value;\r\n            \r\n            \/\/ 1. Reset State\r\n            if (!size) {\r\n                floorShadow.classList.remove('active');\r\n                if(placeholderMsg) placeholderMsg.style.display = 'block';\r\n                \/\/ Remove any existing active card safely\r\n                const existingCard = resultContainer.querySelector('.product-card');\r\n                if(existingCard) existingCard.remove();\r\n                return;\r\n            }\r\n\r\n            \/\/ 2. Hide placeholder if active\r\n            if(placeholderMsg) placeholderMsg.style.display = 'none';\r\n            floorShadow.classList.add('active');\r\n\r\n            \/\/ 3. Remove existing card with exit transition (if any)\r\n            const oldCard = resultContainer.querySelector('.product-card');\r\n            if (oldCard) {\r\n                oldCard.classList.remove('active');\r\n                setTimeout(() => oldCard.remove(), 600); \/\/ Wait for transition\r\n            }\r\n\r\n            \/\/ 4. Render New Card\r\n            if (productData[size]) {\r\n                \/\/ Update Button URL\r\n                orderButton.href = `https:\/\/yarafresh.com\/order\/?type=${type}&size=${size}`;\r\n                \r\n                \/\/ Create HTML\r\n                const card = document.createElement('div');\r\n                card.className = 'product-card';\r\n                card.innerHTML = `\r\n                    <img decoding=\"async\" src=\"${productData[size].img}\" alt=\"YARA ${type} ${size}\">\r\n                    <h2>YARA ${type}<\/h2>\r\n                    <p>${productData[size].name} - ${size}<\/p>\r\n                `;\r\n                \r\n                resultContainer.appendChild(card);\r\n                \r\n                \/\/ Trigger Reflow to start animation\r\n                requestAnimationFrame(() => {\r\n                    card.classList.add('active');\r\n                });\r\n            }\r\n        }\r\n\r\n        \/\/ Attach Listeners\r\n        sizeSelect.addEventListener('change', updateDisplay);\r\n        typeSelect.addEventListener('change', updateDisplay);\r\n    });\r\n    <\/script>\r\n    <\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"no-sidebar","site-content-layout":"page-builder","ast-site-content-layout":"full-width-container","site-content-style":"unboxed","site-sidebar-style":"unboxed","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"enabled","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-3018","page","type-page","status-publish","hentry"],"_hostinger_reach_plugin_has_subscription_block":false,"_hostinger_reach_plugin_is_elementor":false,"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"trp-custom-language-flag":false},"uagb_author_info":{"display_name":"info@myanprosolutions.com","author_link":"https:\/\/yarafresh.com\/my\/author\/infomyanprosolutions-com\/"},"uagb_comment_info":0,"uagb_excerpt":null,"_links":{"self":[{"href":"https:\/\/yarafresh.com\/my\/wp-json\/wp\/v2\/pages\/3018","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yarafresh.com\/my\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/yarafresh.com\/my\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/yarafresh.com\/my\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yarafresh.com\/my\/wp-json\/wp\/v2\/comments?post=3018"}],"version-history":[{"count":5,"href":"https:\/\/yarafresh.com\/my\/wp-json\/wp\/v2\/pages\/3018\/revisions"}],"predecessor-version":[{"id":3267,"href":"https:\/\/yarafresh.com\/my\/wp-json\/wp\/v2\/pages\/3018\/revisions\/3267"}],"wp:attachment":[{"href":"https:\/\/yarafresh.com\/my\/wp-json\/wp\/v2\/media?parent=3018"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}