PageSourceSearch

https://www.costway.es/customer/account/login

html costway.es collected 2026-10-07 22:33:29 UTC 459,292 bytes, 7,644 lines download raw bytes

1<!doctype html>
2<html lang="es">
3    <head >
3<script>(function(w,i,g){w[g]=w[g]||[];if(typeof w[g].push=='function')w[g].push(i)})
4(window,'GTM-NMBD4CD','google_tags_first_party');</script>
4<script>(function(w,d,s,l){w[l]=w[l]||[];(function(){w[l].push(arguments);})('set', 'developer_id.dYzg1YT', true);
5		w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
6		j=d.createElement(s);j.async=true;j.src='/proh/';
7		f.parentNode.insertBefore(j,f);
8		})(window,document,'script','dataLayer');</script>
8
9                <meta charset="utf-8"/>
10<meta name="title" content="Inicio de Sesión del Cliente - Costway"/>
11<meta name="robots" content="INDEX,FOLLOW"/>
12<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=5"/>
13<meta name="format-detection" content="telephone=no"/>
14<title>Inicio de Sesión del Cliente - Costway</title>
15<link  rel="stylesheet" type="text/css"  media="all" href="https://www.costway.es/static/version1791345286/_cache/merged/17e0d3c90240c448be1e2d656c59b5a4.min.css" />
16<link  rel="stylesheet" type="text/css"  media="screen and (min-width: 768px)" href="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/css/styles-l.min.css" />
17<link  rel="stylesheet" type="text/css"  media="print" href="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/css/print.min.css" />
18<link  rel="stylesheet" type="text/css"  rel="stylesheet" type="text/css" href="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/css/toastr.min.css" />
19<link  rel="stylesheet" type="text/css"  media="all" rel="stylesheet" type="text/css" href="/pub/images/swiper.min.css" />
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36<link rel="preload" as="font" crossorigin="anonymous" href="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/fonts/Blank-Theme-Icons/Blank-Theme-Icons.woff2" />
37<link  rel="stylesheet" type="text/css" href="/pub/images/jquery.scrollbar.css" />
38<link  rel="icon" type="image/x-icon" href="https://www.costway.es/media/favicon/stores/1/favicon.ico" />
39<link  rel="shortcut icon" type="image/x-icon" href="https://www.costway.es/media/favicon/stores/1/favicon.ico" />
40
41<link rel="preload" href="https://cdn1.costway.com/cgs-assets/tracking.js?lang=es" as="script">
42<script data-no-defer="true" type="9506a0549efbd9a352f2d304-text/javascript" src="https://cdn1.costway.com/cgs-assets/tracking.js?lang=es"></script>
vendor: 2 bytes, line 42
42
43<script data-no-defer="true" type="9506a0549efbd9a352f2d304-text/javascript">
44setConfig({country:'es'})
45 function initializeCountdown() {
46            const countdownElements = document.querySelectorAll('.end-days-emarsys');
47            if (countdownElements.length === 0) return;
48            countdownElements.forEach(function (countdownElement) {
49                let dropCountdownTime = parseInt(countdownElement.getAttribute("data-countdown"), 10);
50                const timer = setInterval(function () {
51                    if (dropCountdownTime <= 0) {
52                    clearInterval(timer);
53                    countdownElement.closest('.emars-tagwrap').style.display = 'none';
54                    return;
55                    }
56                    let days = Math.floor(dropCountdownTime / (60 * 60 * 24));
57                    let hours = Math.floor((dropCountdownTime % (60 * 60 * 24)) / (60 * 60));
58                    let minutes = Math.floor((dropCountdownTime % (60 * 60)) / 60);
59                    let seconds = dropCountdownTime % 60;
60                    if (days > 0) {
61                        hours = days * 24 + hours;
62                    }
63                    hours = hours > 9 ? hours : '0' + hours;
64                    minutes = minutes > 9 ? minutes : '0' + minutes;
65                    seconds = seconds > 9 ? seconds : '0' + seconds;
66                    countdownElement.textContent = hours + " : " + minutes + " : " + seconds;
67                    dropCountdownTime -= 1;
68                }, 1000);
69            });
70        }
71</script>
71
72<!-- Emarsys global head  -->
73<script data-no-defer="true" type="9506a0549efbd9a352f2d304-text/javascript">
74    var ScarabQueue = ScarabQueue || [];
75    (function(id) {
76      if (document.getElementById(id)) return;
77      var js = document.createElement('script'); js.id = id;
78      js.src = '//cdn.scarabresearch.com/js/10E1F72114CD2ADC/scarab-v2.js';
79      var fs = document.getElementsByTagName('script')[0];
80      fs.parentNode.insertBefore(js, fs);
81    })('scarab-js-api');
82    // 全局价格格式化
83    var formatPrice =function (price,fraction_digits) {
84        let priceNumber = parseFloat(price);
85    if (priceNumber >= 1000 && fraction_digits ===  'undefined') {
86        priceNumber = Math.floor(priceNumber);
87    }
88        return new Intl.NumberFormat('es-ES', {
89            currency: 'EUR',
90            minimumFractionDigits: priceNumber >= 1000 && Number.isInteger(priceNumber) && typeof fraction_digits === 'undefined' ? 0 : 2,  
91            maximumFractionDigits: 2
92        }).format(priceNumber)
93      }
94    var setPositionLoadingBox =  function (element) {
95        element.style.position = 'relative';
96        element.classList.add('has-loading-box');
97        element.insertAdjacentHTML('beforeend', '<div class="costway-loading-box"><div class="costway-loading"></div></div>');
98    }
99ScarabQueue.push(["availabilityZone", "es_ES"]);  // 每个站点设置可用区
100</script>
100    
101<!-- Emarsys global end -->
102
103<style>
104    .has-loading-box .costway-loading-box {
105        height: 100%;
106        display: flex;
107        align-items: center;
108        justify-content: center;
109        z-index: 999999;
110        background: rgba(255, 255, 255, 0.6);
111        position: absolute;
112        z-index: 1;
113        top: 0;
114        bottom: 0;
115        left: 0;
116        right: 0;
117        margin: auto;
118    }
119    .has-loading-box .costway-loading-box .costway-loading {
120        border-radius: 50%;
121        margin: 0 auto;
122        animation-name: spinner-rotate;
123        animation-duration: 0.8s;
124        animation-timing-function: linear;
125        animation-iteration-count: infinite;
126        border-style: solid;
127        width: 30px;
128        height: 30px;
129        border-width: 2px;
130        -webkit-transform-origin: 50% 50% calc((16px / 2) + 2px);
131        transform-origin: 50% 50% calc((16px / 2) + 2px);
132        border-color: rgba(82, 82, 82, 0.25);
133        border-top-color: #525252;
134    }
135    @keyframes spinner-rotate {
136        0% {
137        transform: rotate(0);
138        }
139        100% {
140        transform: rotate(360deg);
141        }
142    } 
143@media (min-width: 767px) {
144      .amrelated-grid-wrapper .product-item-name { max-width:175px}
145    } 
146
147/* 第三方图标 */
148.cmpwrapper{
149position: relative;
150    z-index: 1010;
151}
152
153body .crisp-client .cc-1brb6 {z-index: 80;}
154body #crisp-chatbox > div > a.cc-1m2mf {
155    right: 42.5px !important;
156    bottom: 20px  !important;
157}
158
159@media (max-width: 1480px) {
160   body #crisp-chatbox > div > a.cc-1m2mf {
161    right: 2.5px !important;
162}
163}
164.amrelated-grid-wrapper .product-item-photo .price-drop-list .price-drop-con {padding-left: 86px;}
165.amrelated-grid-wrapper .product-item-photo .price-drop-list .price-drop-con .end-days-emarsys {font-size: 12px;}
166@media (max-width: 750px) {
167    body #crisp-chatbox > div > a.cc-1m2mf {
168        bottom: 32px;
169right: 7.5px !important;
170    }
171
172    .cms-index-index #crisp-chatbox > div > a.cc-1m2mf {
173        bottom: 12vw !important;
174    }
175
176    .cms-index-index .scrollup {
177        bottom: calc(12vw + 64px) !important;
178    }
179
180    .catalog-product-view #crisp-chatbox > div > a.cc-1m2mf {
181        bottom: 28vw !important;
182    }
183
184    .catalog-product-view .scrollup {
185        bottom: calc(28vw + 64px) !important;
186    }
187    .price-drop-list.black-friday .price-drop-con .end-days, .price-drop-list.black-friday .price-drop-con .end-days-emarsys {
188        font-size: 2.66vw;
189        vertical-align: middle;
190    }
191   .price-drop-list.black-friday .drop-txt {
192         width: 21.4vw !important;
193         padding-left: 10.2vw;
194         font-size: 2.5vw;
195   }
196.amrelated-grid-wrapper .product-item-photo .price-drop-list .price-drop-con .end-days-emarsys {font-size: 3.2vw;}
197}
198.pepoleSaying-list-wrap .pepoleSaying-review-item {
199    width: auto;
200}
201</style>
202
203<!-- Emarsys global head end  -->
204
205<link rel="manifest" href="/manifest.json" />
206<!-- Emarsys Web Push  -->
207
208<script type="9506a0549efbd9a352f2d304-text/javascript" data-no-defer="true">
209    // initialization - start
210    var WebEmarsysSdk = WebEmarsysSdk || [];
211    WebEmarsysSdk.push([
212        "init",
213        {
214            applicationCode: "EMS53-5B6CF", // your Domain code obtained above
215            //enableMacSafariVapid: true, // If true, enables VAPID instead of APNS for Safari on Mac
216            safariWebsitePushID: "web.com.costway.es",
217            defaultNotificationTitle: "www.costway.es", // sets your default title for push notifications
218            defaultNotificationIcon: "https://cdn1.costway.com/offline-package/appstatic/logo/logo_webpush.png", // URL to your notification icon
219            autoSubscribe: false, // If true, prompts a user to subscribe for pushes upon SDK initialization which is not recommended
220            enableLogging: true,
221            serviceWorker: {
222                url: "service-worker.js",
223                applicationServerPublicKey: "BO_Bu1HJH9wyBDh3XIe3sLKOQWwmYb_Ph_CERDzoUsvpA4Jd6UxPdWT7haI3fzkApkDrTIOqjNv0KMufxGs-fR8",
224            },
225        },
226    ]);
227    // initialization - end
228</script>
228
229
230
231<link rel="preconnect" href="https://www.googletagmanager.com">
232 <link rel="preconnect" href="https://maps.googleapis.com">
233 <link rel="preconnect" href="https://accounts.google.com">
234
235<!-- Google Tag Manager -->
236
237<!-- End Google Tag Manager -->
238
239
240
241<style>
242
243header.page-header.htype-4 .block-search {
244z-index:5  !important
245}
246
247.page-products .category-view {display: block;}
248
249header.page-header.htype-4 .nav-sections .navigation>ul li.level0.parent>a.level-top {
250    padding-left: 20px  !important;
251}
252header.page-header.htype-4 .nav-sections .navigation>ul li.level0.parent:last-child>a.level-top {
253    padding-right: 0;
254}
255.cart-container .cart-discount{
256display:none !important;
257}
258.scrollup {
259    border: 1px solid;
260    bottom: 82px;
261    cursor: pointer;
262    display: none;
263    font-size: 13px;
264    font-weight: 600;
265    min-height: 40px;
266    padding: 2px;
267    position: fixed;
268    text-align: center;
269    width: 40px;
270    z-index: 9999;
271}
272.checkout-onepage-success .page-wrapper {min-height: auto;}
273</style>
274
275
276
277
278
279
280
281<style>
282    .cms-index-index .old-price .price,
283    .catalog-category-view .old-price .price,
284    .catalog-product-view .old-price .price,
285    .catalogsearch-result-index .old-price .price{text-decoration: line-through !important}
286
287    .cms-index-index .old-price,
288    .catalog-category-view .old-price,
289    .catalogsearch-result-index .old-price,
290    .catalog-product-view .old-price{text-decoration: none !important;font-weight: bold !important;color:#999 !important; }
291
292.categorypath-muebles-dormitorio .cat-box  .ant-row .ant-col,.categorypath-juguetes-y-aficiones .cat-box  .ant-row .ant-col  {width:108px !important;}
293.catalog-product-view .review-add .message.info.notlogged{display:none;}
294.footer-menu dd a[href="/our-guarantee"] {
295  display: none !important;
296}
297
298@media (min-width:750px) {
299    .new-nav-main .nav_list>li:nth-child(8){
300        .nav-title-group{
301            margin-top:0 !important; 
302        }
303    }
304}
305#search_mini_form .amxnotif-container {display:none  !important; }
306
307.payment-method input#scalapay_3x{
308    display: none;
309}
310
311/* Or to hide the entire payment method container */
312.payment-method:has(input#scalapay_3x) {
313    display: none !important;
314}
315</style>
316
317
318<style>
319    input::-webkit-input-placeholder {color: #999 !important;}
320    #shipping-new-address-form label span,#shipping-new-address-form legend span{font-weight: bold !important;}
321</style>            
322
323
324
325
326
327<style>
328    picture.mfwebp source.lazyload,
329    picture.mfwebp source.lazy {background:none;content:none;}
330</style>
331<style>
332    #social-login-popup .social-login-title {
333        background-color: #6e716e    }
334
335    #social-login-popup .social-login #bnt-social-login-authentication,
336    #social-login-popup .forgot .primary button,
337    #social-login-popup .create .primary button,
338    #social-login-popup .fake-email .primary button {
339        background-color: #6e716e;
340        border: #6e716e    }
341
342    .block.social-login-authentication-channel.account-social-login .block-content {
343        text-align: center;
344    }
345
346    
347                    #bnt-social-login-fake-email {
348                    background-color: grey !important;
349                    border: grey !important;
350                    }
351
352                    #request-popup .social-login-title {
353                    background-color: grey !important;
354                    }
355                
356    /* Compatible ETheme_YOURstore*/
357    div#centerColumn .column.main .block.social-login-authentication-channel.account-social-login {
358        max-width: 900px !important;
359        margin: 0 auto !important;
360    }
361
362    div#centerColumn .column.main .block.social-login-authentication-channel.account-social-login .block-content {
363        text-align: center;
364    }
365
366    @media (max-width: 1024px) {
367        div#centerColumn .column.main .block.social-login-authentication-channel.account-social-login .block-content {
368            padding: 0 15px;
369        }
370    }
371</style>
372
373<!-- <link rel="stylesheet" type="text/css" media="all" href="/pub/images/css/font-awesome.min.css"/> -->    <link rel="canonical" href="https://www.costway.es/customer/account/login"/>
374<!-- 全部页面添加Hreflang优化方案-->
375        <link rel="alternate" href="https://www.costway.com/" hreflang="x-default" />
376        <link rel="alternate" href="https://www.costway.com/" hreflang="en-US" />
377        <link rel="alternate" href="https://www.costway.ca/" hreflang="en-CA" />
378        <link rel="alternate" href="https://www.costway.co.uk/" hreflang="en-GB" />
379        <link rel="alternate" href="https://au.costway.com/" hreflang="en-AU" />
380        <link rel="alternate" href="https://www.costway.de/" hreflang="de-DE" />
381        <link rel="alternate" href="https://www.costway.fr/" hreflang="fr-FR" />
382        <link rel="alternate" href="https://www.costway.it/" hreflang="it-IT" />
383        <link rel="alternate" href="https://www.costway.es/" hreflang="es-ES" />
384        <link rel="alternate" href="https://www.costway.at/" hreflang="de-AT" />
385        <link rel="alternate" href="https://www.costway.be/fr/" hreflang="fr-BE" />
386        <link rel="alternate" href="https://www.costway.be/nl/" hreflang="nl-BE" />
387        <link rel="alternate" href="https://nl.costway.com/" hreflang="nl-NL" />
388        <link rel="alternate" href="https://www.costway.de/" hreflang="de-LU" />
389        <link rel="alternate" href="https://www.costway.fr/" hreflang="fr-LU" />
390<!-- 全部页面添加Hreflang优化方案 end -->
391    </head>
392    <body data-mode="production" data-container="body"
393          data-mage-init='{"loaderAjax": {}, "loader": { "icon": "https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/images/loader-2.gif"}}'
394        id="html-body" class="customer-account-login page-layout-1column">
395        
396    <link rel="stylesheet" type="text/css" media="all" href="https://www.costway.es/media/adbeaut/generated_css/design_default.css">
397    <link rel="stylesheet" type="text/css" media="all" href="https://www.costway.es/media/adbeaut/generated_css/settings_default.css">
398<link rel="preload" as="font" href="https://cdn1.costway.de/public/font/poppins-regular.ttf" crossorigin="anonymous">
399
400<link rel="preload" href="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/requirejs/require.min.js" as="script"><link rel="preload" href="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/requirejs-config.min.js" as="script"><link rel="preload" href="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/mage/requirejs/mixins.min.js" as="script"><link rel="preload" href="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/jquery.min.js" as="script"><link rel="preload" href="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/js/bundle/bundle0.min.js" as="script"><link rel="preload" href="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/js/bundle/bundle1.min.js" as="script"><link rel="preload" href="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/js/bundle/bundle2.min.js" as="script"><link rel="preload" href="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/js/bundle/bundle3.min.js" as="script"><link rel="preload" href="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/js/bundle/bundle4.min.js" as="script"><link rel="preload" href="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/js/bundle/bundle5.min.js" as="script"><link rel="preload" href="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/js/bundle/bundle6.min.js" as="script"><link rel="preload" href="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/js/bundle/bundle7.min.js" as="script"><link rel="preload" href="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/js/bundle/bundle8.min.js" as="script">
401    
402    
403
404
405
406    <link rel="stylesheet" type="text/css" media="all" href="https://www.costway.es/media/megamenu/generated_css/megamenu_default.css">
407
408
409
410<div id="cookie-status" style="display: none;">
411    The store will not work correctly in the case when cookies are disabled.</div>
412
413
414
415
416    <noscript>
417        <div class="message global noscript">
418            <div class="content">
419                <p>
420                    <strong>JavaScript parece estar deshabilitado en su navegador.</strong>
421                    <span>
422                        Para obtener la mejor experiencia en nuestro sitio, asegúrese de activar Javascript en su navegador.                    </span>
423                </p>
424            </div>
425        </div>
426    </noscript>
427
428                <div class="page-wrapper">
429
430<!--增强转化email end-->
431<!-- SEO 增加H1 -->
432
433        <header class="page-header htype-4 ">
434    <div id="header-fixed-box">
435        <div class="panel wrapper">
436                                    <div class="header-widget">
437                        <ul class="header-lb">
438                                                            <li class="slide-item">
439                                <a href="/oferta-flash?entrypoint=top_banner">
440                                                                            <picture>
441                                            <source media="(max-width: 750px)" width="714" height="70" srcset="/media/advertising/7/1/714_70.jpg">
442                                            <img loading="eager" fetchpriority="high" width="1920" height="40" src="/media/advertising/1/9/1920_40.jpg" alt="2026 Día Nacional de España">
443                                        </picture>
444                                                                    </a>
445                            </li>
446                                                            <li class="slide-item">
447                                <a href="/ofertas-flash?entrypoint=top_banner">
448                                                                            <picture>
449                                            <source media="(max-width: 750px)" width="714" height="70" data-srcset="/media/advertising/v/e/ventaflash26topmb.png">
450                                            <img class="swiper-lazy" data-src="/media/advertising/v/e/ventaflash26toppc.png" 
451                                                alt="" width="1920" height="40">
452                                        </picture>
453                                                                    </a>
454                            </li>
455                                                            <li class="slide-item">
456                                <a href="/freetrials?entrypoint=top_banner">
457                                                                            <picture>
458                                            <source media="(max-width: 750px)" width="714" height="70" data-srcset="/media/advertising/m/b/mb_714_70.png">
459                                            <img class="swiper-lazy" data-src="/media/advertising/p/c/pc_pc1920_40.png" 
460                                                alt="" width="1920" height="40">
461                                        </picture>
462                                                                    </a>
463                            </li>
464                                                            <li class="slide-item">
465                                <a href="/spend-and-save?entrypoint=top_banner">
466                                                                            <picture>
467                                            <source media="(max-width: 750px)" width="714" height="70" data-srcset="/media/advertising/7/1/714x70_top_banner_us_23.jpg">
468                                            <img class="swiper-lazy" data-src="/media/advertising/1/9/1920x40_top_bannerus_23.jpg" 
469                                                alt="" width="1920" height="40">
470                                        </picture>
471                                                                    </a>
472                            </li>
473                                                    </ul>
474                    </div>
475                    
476                <div class="link lan-main">
477                    <div class="language">
478                        <a href="#" onclick="if (!window.__cfRLUnblockHandlers) return false; event.preventDefault();" class="default-lan" data-cf-modified-9506a0549efbd9a352f2d304-=""><img src="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/images/es.png" alt="ES"></a>
479                        <ul class="lan-box">
480                            <li class="lan_list"><a href="https://www.costway.com/"><i class="usa"></i><span>USA</span></a></li>
481                            <li class="lan_list"><a href="https://www.costway.co.uk/"><i class="uk"></i><span>GBR</span></a></li>
482                            <li class="lan_list"><a href="https://www.costway.de/"><i class="de"></i><span>GER</span></a></li>
483                            <li class="lan_list"><a href="https://www.costway.it/"><i class="it"></i><span>ITA</span></a></li>
484                            <li class="lan_list"><a href="https://www.costway.ca/"><i class="ca"></i><span>CAN</span></a></li>
485                            <li class="lan_list"><a href="https://www.costway.fr/"><i class="fr"></i><span>FRA</span></a></li>
486                            <li class="lan_list"><a href="https://costway.pl"><i class="pol"></i><span>POL</span></a></li>
487                            <li class="lan_list"><a href="https://au.costway.com/"><i class="aus"></i><span>AUS</span></a></li>
488                            <li class="lan_list"><a href="https://www.costway.at/"><i class="at"></i><span>AUT</span></a></li>
489                            <li class="lan_list"><a href="https://www.costway.be/"><i class="be"></i><span>BEL</span></a></li>
490                            <li class="lan_list"><a href="https://nl.costway.com/"><i class="nl"></i><span>NLD</span></a></li>
491                            <li class="lan_list"><a href="https://www.costway.se/"><i class="swe"></i><span>SWE</span></a></li>
492                        </ul>
493                    </div>
494                </div>
495
496                <div class="panel header">
497                    <a class="action skip contentarea"
498   href="#contentarea">
499    <span>
500        Saltar al Contenido    </span>
501</a>
502                                                            <ul class="header links">    <li class="greet welcome" data-bind="scope: 'customer'">
503        <!-- ko if: customer().fullname  -->
504        <span class="logged-in"
505              data-bind="text: new String('¡Bienvenido,%1!').replace('%1', customer().fullname)">
506        </span>
507        <!-- /ko -->
508        <!-- ko ifnot: customer().fullname  -->
509        <span class="not-logged-in"
510              data-bind='html:"¡Envío gratis para todos los productos!"'></span>
511                <!-- /ko -->
512    </li>
513    
514    <li class="link my-account">
515    <a href="https://www.costway.es/customer/account/">Mi Cuenta</a>
516</li>
517
518<li class="link wishlist" data-bind="scope: 'wishlist'">
519
520            
521    </li>
522
523    <li class="link authorization-link" data-label="o">
524        <a href="/customer/account/create">Registrarse</a>
525    </li>
526</ul>                </div>
527            </div>
528            <div class="header content">
529                <style>
530    .backto-cart {
531        color: #666666 !important;
532        font-size: 16px;
533        float: right;
534        margin-top: 38px;
535        margin-right: 6px;
536        display: none;
537    }
538    .backto-cart svg {
539        width: 7px;
540        height: 12px;
541        margin-left: 3px;
542    }
543    .backto-cart svg path {
544        fill: #666666;
545    }
546    .checkout-index-index .backto-cart {
547        display: block;
548    }
549    @media screen and (max-width: 767px) {
550        .checkout-index-index .backto-cart {
551            display: none;
552        }  
553    }
554</style>
555<span data-action="toggle-nav" class="action nav-toggle"><span>Alternar Navegación</span></span>
556<a
557    class="logo"
558    href="https://www.costway.es/"
559    title="COSTWAY"
560    aria-label="store logo">
561    <img src="https://www.costway.es/media/logo/stores/1/logo.gif"
562         title="COSTWAY"
563         alt="COSTWAY"
564         width="100"
565         height="44"
566    />
567</a>
568<a href="/checkout/cart" class="backto-cart">
569    Volver al carrito 
570    <svg class="svg_left_arrow" viewBox="0 0 7 12" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-81f499ba=""><path d="M0.211203 1.15676L5.37611 5.99978L0.211203 10.8432C0.147864 10.9026 0.0966584 10.9741 0.0605105 11.0536C0.0243626 11.1331 0.00397997 11.219 0.000526936 11.3065C-0.0029261 11.394 0.010618 11.4813 0.0403856 11.5635C0.0701531 11.6457 0.115561 11.7211 0.174018 11.7854C0.232474 11.8498 0.302833 11.9018 0.381079 11.9385C0.459324 11.9753 0.543924 11.996 0.630047 11.9995C0.716169 12.003 0.802129 11.9892 0.883017 11.959C0.963906 11.9287 1.03814 11.8826 1.10148 11.8232L6.78874 6.48999C6.85535 6.42756 6.90851 6.3518 6.94487 6.26747C6.98123 6.18313 7 6.09207 7 6C7 5.90793 6.98123 5.81687 6.94487 5.73253C6.90851 5.6482 6.85535 5.57244 6.78874 5.51001L1.10148 0.176783C1.03814 0.117398 0.963906 0.0712679 0.883017 0.0410272C0.802129 0.0107865 0.716169 -0.0029726 0.630047 0.00053532C0.543924 0.00404324 0.459324 0.0247495 0.381079 0.0614721C0.302833 0.0981946 0.232474 0.150214 0.174018 0.214561C0.115561 0.278907 0.0701531 0.35432 0.0403856 0.436494C0.010618 0.518669 -0.0029261 0.605994 0.000526936 0.693486C0.00397997 0.780978 0.0243626 0.866922 0.0605105 0.946411C0.0966584 1.0259 0.147864 1.09738 0.211203 1.15676Z" fill="#333333" data-v-81f499ba=""></path></svg>
571</a>
572                <div class="header-search-icon">
573                    
574                </div>
575                <style>
576    .user-login{
577        position: relative;
578        transition: all .2s;
579        cursor: pointer;
580        display: inline-block;
581        height: auto;
582        padding: 0;
583        margin: 25px 20px 0 10px;
584        float: right;
585    }
586    .user-login-icon{
587        display:inline-block;
588        width: 30px;
589        height:30px;
590        background: url(/pub/images/user-nav/user-icon-pc.png) center center no-repeat;
591        background-size: 100% 100%;
592    }
593   @media screen and (min-width: 1201px) {
594    .user-login:hover .user-login-list{
595        display: block;
596    }
597    }
598    
599    .user-login .user-login-list{
600        display: none;
601        position: absolute;
602        top: 30px;
603        left: -87px;
604        width: 350px;
605        max-height: 350px;
606        overflow-y: auto;
607        background: #FFFFFF;
608        box-shadow: 0px 2px 8px rgb(157 157 157 / 25%);
609        z-index: 99;
610    }
611    .user-login .user-login-list{
612        padding: 10px 20px;
613        border-radius: 0.1875rem;
614        box-shadow: 0 2px 5px rgb(0 0 0 / 15%);
615        width: 140px;
616        left: -86px;
617    }
618    .user-login .user-login-list li a{
619        display: block;
620        margin: 10px 0;
621        text-align: left;
622    }
623    .user-login .user-login-list li a:hover{
624        color: #FFC842;
625    }
626    .page-header.htype-4 .header.panel{
627        display: none;
628    }
629    .user-login-list .milestone-badge {
630        border-top: 1px solid #e4e4e4;
631    }
632    .user-login .user-login-list .logged-in a {
633        border: 1px solid #FDAC0E;
634        height: 28px;
635        line-height: 28px;
636        border-radius: 28px;
637        color: #FDAC0E;
638        text-align: center;
639        margin: 10px -5px 0;
640    }
641    .user-login .user-login-list .myrewardszone a {
642        background-color: #FFF2E2;
643        height: 32px;
644        line-height: 32px;
645        border-radius: 20px;
646        color: #F97E05;
647        padding-left: 12px;
648        position: relative;
649        margin: 0 -5px;
650    }
651    .user-login .user-login-list .myrewardszone a::after {
652        content: '';
653        background-image: url('/pub/images/user-nav/myrewardszone-pc.png');
654        position: absolute;
655        right: 10px;
656        top: 4px;
657        width: 24px;
658        height: 24px;
659        display: block;
660    }
661    @media only screen and (max-width: 1200px) {
662        .user-login{
663            position: absolute;
664            top: 15px;
665            width: 30px;
666            height: 30px;
667            right: 65px;
668            margin: 0;
669            padding: 0;            
670        }      
671        header.page-header.htype-4 .block-search .block-content{
672            margin-top: 0px!important;
673        }
674        header.page-header.htype-4 .block-search .block.block-content .actions .action.search{
675            top: 5px !important;
676        }
677        
678
679    }
680    @media (max-width: 767px) {
681        .user-login{
682            width: 5.33vw;
683            height: 5.33vw;
684            right: calc(5.33vw + 4vw + 15px);
685        }
686         .user-login-icon{
687            display:inline-block;
688            width: 5.33vw;
689            height:5.33vw;
690            background: url("/pub/images/user-nav/user-icon-mb.png") center center no-repeat;
691            background-size: 100% 100%;
692        }
693    }
694</style>
695<div data-block="minicart" class="minicart-wrapper" data-mage-init='{"cartList
695Coupon": {}}'>
696    <a class="action showcart" id="mini-cart-icon" href="https://www.costway.es/checkout/cart/"
697       data-bind="scope: 'minicart_content'">
698        <span class="text">Mi Carrito</span>
699        <span class="counter qty empty"
700              data-bind="css: { empty: !!getCartParam('summary_count') == false }, blockLoader: isLoading">
701            <span class="counter-number"><!-- ko text: getCartParam('summary_count') --><!-- /ko --></span>
702            <span class="counter-label">
703            <!-- ko if: getCartParam('summary_count') -->
704                <!-- ko text: getCartParam('summary_count') --><!-- /ko -->
705                <!-- ko i18n: 'items' --><!-- /ko -->
706                <!-- /ko -->
707            </span>
708        </span>
709    </a>
710            <div class="minicart-sidebar" data-mage-init='{"minicartSidebar": {}}'>
711            <div id="minicart-content-wrapper" data-bind="scope: 'minicart_content'">
712                <!-- ko template: getTemplate() --><!-- /ko -->
713            </div>
714        </div>
715    <div id="custom-minicart-overlay"></div>
716        
717    
718</div>
719<div class="user-login"> 
720    <div class="user-login-icon"></div>
721    <ul class="user-login-list layui-anim layui-anim-upbit">
722                            <li class="link my-account">
723                <a href="/customer/account/create">Registrarse</a>
724            </li>
725            <li>
726                <a href="/customer/account">Mi Cuenta</a>
727            </li>
728            <li>
729                <a href="/sales/order/history">Mis Pedidos</a>
730            </li>
731            <li>
732                <a href="/aw_rewardpoints/info/coupon/">Mis Cupones</a>
733            </li>
734            <li>
735                <a href="/wishlist/">Lista de Deseos</a>
736            </li>
737            <li>
738                <a href="/aw_rewardpoints/info/">Mis Puntos</a>
739            </li>
740            <li class="myrewardszone">
741                <a href="/myrewardszone?entrypoint=accountmenu">Mis Beneficios</a>
742            </li>
743            </ul>
744</div>                <div class="header_top_search">
745                    
746
747    <div class="block block-search">
748        <div class="block block-title"><strong>Buscar</strong></div>
749        <div class="block block-content">
750            <form class="form minisearch" id="search_mini_form" action="https://www.costway.es/search/result/" method="get">
751                <div class="field search">
752                    <label class="label" for="search" data-role="minisearch-label">
753                        <span>Buscar</span>
754                    </label>
755                    <div class="control">
756                        <input id="search"
757                               data-mage-init='{"quickSearch":{
758                               "formSelector":"#search_mini_form",
759                               "url":"https://www.costway.es/search/ajax/suggest/",
760                               "destinationSelector":"#search_autocomplete"}
761                               }'
762                               type="text"
763                               name="q"
764                               value=""
765                               placeholder="Busca la tienda entera aquí..."
766                               class="input-text"
767                               maxlength="128"
768                               role="combobox"
769                               aria-haspopup="false"
770                               aria-autocomplete="both"
771                               autocomplete="off"/>
772                        <div id="search_autocomplete" class="search-autocomplete"></div>
773                        <div class="nested">
774    <a class="action advanced" href="https://www.costway.es/catalogsearch/advanced/" data-action="advanced-search">
775        Búsqueda Avanzada    </a>
776</div>
777
778
779
780
781
782<div id="amasty-xsearch-preload" class="amasty-xsearch-preload" data-amsearch-js="preload"></div>
783                    </div>
784                </div>
785                <div class="actions">
786                    <button type="submit"
787                            title="Buscar"
788                            class="action search">
789                        <span>Buscar</span>
790                    </button>
791                </div>
792            </form>
793            <!-- 增加词条 -->
794                                                                                                            <div class="search-right-icon">
795<!--                            <a href="/oferta-flash?entrypoint=hotwords"><img src="/pub/images/extra-12-es.png" alt="Extra -12%"></a>-->
796                            <a href="https://www.costway.es/oferta-flash?entrypoint=hotwords"><img src="/media/advertising/e/x/extra_-12_.png" alt="Extra -12%"></a>
797                        </div>
798                                                            <!-- 增加词条 end -->
799
800            <div class="search-suggestions">
801
802                                                    <a href="/decoracion/arboles-de-navidad.html?entrypoint=hotwords" >
803                                                Árbol Navidad                    </a>
804                
805            </div>
806        </div>
807    </div>
808                </div>
809            </div>
810        </div>
811            <div class="page-main">
812        <div class="sections nav-sections">
813                        <div class="section-items nav-sections-items" data-mage-init='{"tabs":{"openedState":"active"}}'>
814                                                                            <div class="section-item-title nav-sections-item-title" data-role="collapsible">
815                        <a class="nav-sections-item-switch" data-toggle="switch" href="#store.links">Cuenta</a>
816                    </div>
817                    <div class="section-item-content nav-sections-item-content" id="store.links" data-role="content"><!-- Account links --></div>
818                                                </div>
819        </div>
820        
821<div class="new-nav-main" id="new-nav-main">
822    <div class="mb-categories-bar">
823        <!-- <div class="back" id="categories-black">Volver</div> -->
824        <div class="close" id="categories-close"></div>
825    </div>
826    <div class="mb-categories-main">
827        <div class="left-side-bar-main" id="left-side-bar-main">
828            <ul class="left-side-bar" id="left-side-bar">
829            </ul>
830        </div>
831
832        <div class="mb-sub-categories">
833            <div class="mb-top-sub-nav" id="mb-top-sub-nav">
834                <ul class="empty"></ul>
835            </div>
836            <div class="mb-sub-categories-main">
837                <div class="mb-sub-categories-content">
838                </div>
839            </div>
840        </div>
841    </div>
842
843    <div class="nav">
844        <ul class="nav_list">
845                                                <li>
846                        <a class="top-nav" href="https://www.costway.es/hogar.html?entrypoint=bar">Muebles</a>
847                        <div class="second_nav nav_2">
848                            <div class="second_nav_cont ">
849                                <div class="second_nav_list sub_nav_1">
850                                                                            <ul class="">
851                                            <li class="nav_title">
852                                                <a href="https://www.costway.es/hogar/mesas-decorativas.html?entrypoint=bar">Sala de Estar</a>
853                                            </li>
854                                                                                            <li>
855                                                    <a href="https://www.costway.es/hogar/sofas.html?entrypoint=bar">
856                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Sof_s_y_Sof_s_Cama__1.jpg" src="/pub/images/default_120.png">Sofás y Sofás Cama                                                    </a>
857                                                </li>
858                                                                                            <li>
859                                                    <a href="https://www.costway.es/hogar/sillas.html?entrypoint=bar">
860                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Sillas_y_Sillones_.jpg" src="/pub/images/default_120.png">Sillas y Sillones                                                    </a>
861                                                </li>
862                                                                                            <li>
863                                                    <a href="https://www.costway.es/hogar/taburetes-para-pies.html?entrypoint=bar">
864                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/3._Otomanas_y_Taburetes_.jpg" src="/pub/images/default_120.png">Otomanas y Taburetes                                                    </a>
865                                                </li>
866                                                                                            <li>
867                                                    <a href="https://www.costway.es/hogar/mesas-de-centro.html?entrypoint=bar">
868                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/4._Mesas_de_Centro_.jpg" src="/pub/images/default_120.png">Mesas de Centro                                                    </a>
869                                                </li>
870                                                                                            <li>
871                                                    <a href="https://www.costway.es/muebles/muebles-tv.html?entrypoint=bar">
872                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/5._Muebles_TV_.jpg" src="/pub/images/default_120.png">Muebles TV                                                    </a>
873                                                </li>
874                                                                                            <li>
875                                                    <a href="https://www.costway.es/hogar/mesitas-auxiliares.html?entrypoint=bar">
876                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/6._Mesitas_Auxiliares_.jpg" src="/pub/images/default_120.png">Mesitas Auxiliares                                                    </a>
877                                                </li>
878                                                                                            <li>
879                                                    <a href="https://www.costway.es/hogar/aparadores.html?entrypoint=bar">
880                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/7._Aparadores_.jpg" src="/pub/images/default_120.png">Aparadores                                                    </a>
881                                                </li>
882                                                                                            <li>
883                                                    <a href="https://www.costway.es/hogar/librerias.html?entrypoint=bar">
884                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/4._Estanter_as_1_.jpg" src="/pub/images/default_120.png">Estanterías                                                    </a>
885                                                </li>
886                                                                                        <li class="all"><a href="https://www.costway.es/hogar/mesas-decorativas.html?entrypoint=bar"><span>Ver Todo</span></a></li>
887                                        </ul>
888                                                                            <ul class="">
889                                            <li class="nav_title">
890                                                <a href="https://www.costway.es/hogar/textiles-de-hogar.html?entrypoint=bar">Dormitorio</a>
891                                            </li>
892                                                                                            <li>
893                                                    <a href="https://www.costway.es/muebles/mesitas-de-noche.html?entrypoint=bar">
894                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Mesitas_de_Noche_1_.jpg" src="/pub/images/default_120.png">Mesitas de Noche                                                    </a>
895                                                </li>
896                                                                                            <li>
897                                                    <a href="https://www.costway.es/hogar/tocadores.html?entrypoint=bar">
898                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Tocadores_2_.jpg" src="/pub/images/default_120.png">Tocadores                                                    </a>
899                                                </li>
900                                                                                            <li>
901                                                    <a href="https://www.costway.es/hogar/armarios-joyeros.html?entrypoint=bar">
902                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/3._Armarios_Joyeros_2_.jpg" src="/pub/images/default_120.png">Armarios Joyeros                                                    </a>
903                                                </li>
904                                                                                            <li>
905                                                    <a href="https://www.costway.es/hogar/organizacion.html?entrypoint=bar">
906                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/Perchero.jpg" src="/pub/images/default_120.png">Almacenaje Ropero                                                    </a>
907                                                </li>
908                                                                                            <li>
909                                                    <a href="https://www.costway.es/hogar/camas.html?entrypoint=bar">
910                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/5._Camas_2_.jpg" src="/pub/images/default_120.png">Camas                                                    </a>
911                                                </li>
912                                                                                            <li>
913                                                    <a href="https://www.costway.es/hogar/colchones.html?entrypoint=bar">
914                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/6._Colchones_.jpg" src="/pub/images/default_120.png">Colchones                                                    </a>
915                                                </li>
916                                                                                            <li>
917                                                    <a href="https://www.costway.es/hogar/mantas.html?entrypoint=bar">
918                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/7._Mantas_.jpg" src="/pub/images/default_120.png">Mantas                                                    </a>
919                                                </li>
920                                                                                            <li>
921                                                    <a href="https://www.costway.es/hogar/almoh
921adas-y-cojines.html?entrypoint=bar">
922                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/8._Almohadas_y_Cojines_.jpg" src="/pub/images/default_120.png">Almohadas y Cojines                                                    </a>
923                                                </li>
924                                                                                            <li>
925                                                    <a href="https://www.costway.es/salud-y-belleza/espejos-y-estuches-cosmeticos.html?entrypoint=bar">
926                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Espejos_de_Pared__1.jpg" src="/pub/images/default_120.png">Espejos                                                    </a>
927                                                </li>
928                                                                                            <li>
929                                                    <a href="https://www.costway.es/hogar/aparadores.html?entrypoint=bar">
930                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/7._Aparadores_.jpg" src="/pub/images/default_120.png">Aparadores del Dormitorio                                                    </a>
931                                                </li>
932                                                                                        <li class="all"><a href="https://www.costway.es/hogar/textiles-de-hogar.html?entrypoint=bar"><span>Ver Todo</span></a></li>
933                                        </ul>
934                                                                            <ul class="">
935                                            <li class="nav_title">
936                                                <a href="https://www.costway.es/hogar/cocina-y-comedor.html?entrypoint=bar">Cocina y Comedor</a>
937                                            </li>
938                                                                                            <li>
939                                                    <a href="https://www.costway.es/hogar/mesas-de-comedor.html?entrypoint=bar">
940                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Mesas_y_Sillas_de_Comedor_1_.jpg" src="/pub/images/default_120.png">Mesas y Sillas de Comedor                                                    </a>
941                                                </li>
942                                                                                            <li>
943                                                    <a href="https://www.costway.es/hogar/carritos.html?entrypoint=bar">
944                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Islas_de_Cocina_y_Carritos_.jpg" src="/pub/images/default_120.png">Islas de Cocina y Carritos                                                    </a>
945                                                </li>
946                                                                                            <li>
947                                                    <a href="https://www.costway.es/muebles/aparadores-comedor.html?entrypoint=bar">
948                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/3._Aparadores_Comedor_.jpg" src="/pub/images/default_120.png">Aparadores Comedor                                                    </a>
949                                                </li>
950                                                                                            <li>
951                                                    <a href="https://www.costway.es/hogar/botelleros.html?entrypoint=bar">
952                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/4._Botelleros_1_.jpg" src="/pub/images/default_120.png">Botelleros                                                    </a>
953                                                </li>
954                                                                                            <li>
955                                                    <a href="https://www.costway.es/hogar/taburetes-de-bar.html?entrypoint=bar">
956                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/5._Taburetes_de_Bar_1_.jpg" src="/pub/images/default_120.png">Taburetes de Bar                                                    </a>
957                                                </li>
958                                                                                        <li class="all"><a href="https://www.costway.es/hogar/cocina-y-comedor.html?entrypoint=bar"><span>Ver Todo</span></a></li>
959                                        </ul>
960                                                                            <ul class="">
961                                            <li class="nav_title">
962                                                <a href="https://www.costway.es/hogar/oficina.html?entrypoint=bar">Oficina en Casa</a>
963                                            </li>
964                                                                                            <li>
965                                                    <a href="https://www.costway.es/hogar/mesas-de-oficina.html?entrypoint=bar">
966                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Escritorios_.jpg" src="/pub/images/default_120.png">Escritorios                                                    </a>
967                                                </li>
968                                                                                            <li>
969                                                    <a href="https://www.costway.es/muebles/mesitas-y-soportes-portatiles.html?entrypoint=bar">
970                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/6._Mesitas_y_Soportes_Port_tiles_1_.jpg" src="/pub/images/default_120.png">Mesitas y Soportes Portátiles                                                    </a>
971                                                </li>
972                                                                                            <li>
973                                                    <a href="https://www.costway.es/hogar/sillas-de-oficina.html?entrypoint=bar">
974                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Sillas_de_Escritorio_1_.jpg" src="/pub/images/default_120.png">Sillas de Escritorio                                                    </a>
975                                                </li>
976                                                                                            <li>
977                                                    <a href="https://www.costway.es/muebles/sillas-de-juego.html?entrypoint=bar">
978                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/3._Sillas_de_Juego_.jpg" src="/pub/images/default_120.png">Sillas de Juego                                                    </a>
979                                                </li>
980                                                                                            <li>
981                                                    <a href="https://www.costway.es/hogar/librerias.html?entrypoint=bar">
982                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/4._Estanter_as_1_.jpg" src="/pub/images/default_120.png">Estanterías                                                    </a>
983                                                </li>
984                                                                                            <li>
985                                                    <a href="https://www.costway.es/hogar/armarios-de-oficina.html?entrypoint=bar">
986                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/5._Archivadores_.jpg" src="/pub/images/default_120.png">Archivadores                                                    </a>
987                                                </li>
988                                                                                            <li>
989                                                    <a href="https://www.costway.es/hogar/pizarras-y-caballetes-publicitarios.html?entrypoint=bar">
990                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/7._Pizarras_y_Caballetes_Publicitarios_1_.jpg" src="/pub/images/default_120.png">Pizarras y Caballetes Publicitarios                                                    </a>
991                                                </li>
992                                                                                            <li>
993                                                    <a href="https://www.costway.es/hogar/accesorios-de-oficina.html?entrypoint=bar">
994                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/8._Acce
994sorios_de_Oficina_.jpg" src="/pub/images/default_120.png">Accesorios de Oficina                                                    </a>
995                                                </li>
996                                                                                        <li class="all"><a href="https://www.costway.es/hogar/oficina.html?entrypoint=bar"><span>Ver Todo</span></a></li>
997                                        </ul>
998                                                                            <ul class="">
999                                            <li class="nav_title">
1000                                                <a href="https://www.costway.es/muebles/recibidor.html?entrypoint=bar">Recibidor</a>
1001                                            </li>
1002                                                                                            <li>
1003                                                    <a href="https://www.costway.es/muebles/mesas-de-consola.html?entrypoint=bar">
1004                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Mesas_de_Consola_1_.jpg" src="/pub/images/default_120.png">Mesas de Consola                                                    </a>
1005                                                </li>
1006                                                                                            <li>
1007                                                    <a href="https://www.costway.es/hogar/zapateros.html?entrypoint=bar">
1008                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Zapateros_y_Bancos_2_.jpg" src="/pub/images/default_120.png">Zapateros y Bancos                                                    </a>
1009                                                </li>
1010                                                                                            <li>
1011                                                    <a href="https://www.costway.es/hogar/organizacion.html?entrypoint=bar">
1012                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/Perchero.jpg" src="/pub/images/default_120.png">Percheros                                                    </a>
1013                                                </li>
1014                                                                                        <li class="all"><a href="https://www.costway.es/muebles/recibidor.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1015                                        </ul>
1016                                                                            <ul class="">
1017                                            <li class="nav_title">
1018                                                <a href="https://www.costway.es/hogar/muebles-de-ba-o.html?entrypoint=bar">Muebles de Baño</a>
1019                                            </li>
1020                                                                                            <li>
1021                                                    <a href="https://www.costway.es/muebles/armarios-de-pared.html?entrypoint=bar">
1022                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Armarios_de_Pared_.jpg" src="/pub/images/default_120.png">Armarios de Pared                                                    </a>
1023                                                </li>
1024                                                                                            <li>
1025                                                    <a href="https://www.costway.es/muebles/armarios-y-estantes-de-suelo.html?entrypoint=bar">
1026                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Armarios_y_Estantes_de_Suelo_2_.jpg" src="/pub/images/default_120.png">Armarios y Estantes de Suelo                                                    </a>
1027                                                </li>
1028                                                                                            <li>
1029                                                    <a href="https://www.costway.es/salud-y-belleza/asientos-y-bancos-para-duchas.html?entrypoint=bar">
1030                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/3._Taburetes_de_Ba_o_1_.jpg" src="/pub/images/default_120.png">Taburetes de Baño                                                    </a>
1031                                                </li>
1032                                                                                        <li class="all"><a href="https://www.costway.es/hogar/muebles-de-ba-o.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1033                                        </ul>
1034                                                                        <!--上面的循环存在空分类才做下面操作-->
1035                                                                                                                                                            <ul class="custom-category-ul">
1036                                                    <li class="nav_title">
1037                                                        <a href="https://www.costway.es/infantil/productos-para-bebes.html?entrypoint=bar">Habitación de Bebé</a>
1038                                                    </li>
1039                                                                                                            <li>
1040                                                            <a href="https://www.costway.es/infantil/cunas.html?entrypoint=bar">
1041                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Cunas_3_.jpg" src="/pub/images/default_120.png">Cunas                                                            </a>
1042                                                        </li>
1043                                                                                                            <li>
1044                                                            <a href="https://www.costway.es/infantil/tronas-y-asientos-elevadores.html?entrypoint=bar">
1045                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Tronas_y_Asientos_Elevadores_1_.jpg" src="/pub/images/default_120.png">Tronas y Asientos Elevadores                                                            </a>
1046                                                        </li>
1047                                                                                                            <li>
1048                                                            <a href="https://www.costway.es/infantil/cambiadores-y-accesorios-de-aseo.html?entrypoint=bar">
1049                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/3._Cambiadores_y_Accesorios_de_Aseo_2_.jpg" src="/pub/images/default_120.png">Cambiadores y Accesorios de Aseo                                                            </a>
1050                                                        </li>
1051                                                                                                            <li>
1052                                                            <a href="https://www.costway.es/infantil/andadores.html?entrypoint=bar">
1053                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/4._Andadores_2_.jpg" src="/pub/images/default_120.png">Andadores                                                            </a>
1054                                                        </li>
1055                                                                                                            <li>
1056                                                            <a href="https://www.costway.es/infantil/mantas-de-juego.html?entrypoint=bar">
1057                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/5._Mantas_de_Juego_1_.jpg" src="/pub/images/default_120.png">Mantas de Juego                                                            </a>
1058                                                        </li>
1059                                                                                                            <li>
1060                                                            <a href="https://www.costway.es/infantil/mecedoras-para-bebe.html?entrypoint=bar">
1061                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/6._Mecedoras_para_Beb_1_.jpg" src="/pub/images/default_120.png">Mecedoras para Bebé                                                            </a>
1062                                                        </li>
1063                                                                                                        <li class="all"><a href="https://www.costway.es/infantil/productos-para-bebes.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1064                                                </ul>
1065                                                                                    <ul class="custom-category-ul">
1066                                                    <li class="nav_title">
1067                                                        <a href="https://www.costway.es/infantil/habitacion-infantil.html?entrypoint=bar">Habitación Infantil</a>
1068                                                    </li>
1069                                                                                                            <li>
1070                                                            <a href="https://www.costway.es/infantil/conjuntos-de-muebles-para-ni-os.html?entrypoint=bar">
1071                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Conjuntos_de_Muebles_para_Ni_os_1_.jpg" src="/pub/images/default_120.png">Conjuntos de Muebles para Niños                                                            </a>
1072                                                        </li>
1073                                                                                                            <li>
1074                                                            <a href="https://www.costway.es/infantil/sillas-y-sofas-para-ni-os.html?entrypoint=bar">
1075                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Sillas_y_Sof_s_para_Ni_os_1_.jpg" src="/pub/images/default_120.png">Sillas y Sofás para Niños                                                            </a>
1076                                                        </li>
1077                                                                                                            <li>
1078                                                            <a href="https://www.costway.es/infantil/tocadores-para-ni-os.html?entrypoint=bar">
1079                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/3._Tocadores_para_Ni_os_1_.jpg" src="/pub/images/default_120.png">Tocadores para Niños                                                            </a>
1080                                                        </li>
1081                                                                                                            <li>
1082                                                            <a href="https://www.costway.es/infantil/estantes-y-armarios-para-ni-os.html?entrypoint=bar">
1083                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/4._Estantes_y_Armarios_para_Ni_os_1_.jpg" src="/pub/images/default_120.png">Estantes y Armarios para Niños                                                            </a>
1084                                                        </li>
1085                                                                                                            <li>
1086                                                            <a href="https://www.costway.es/infantil/camas-para-ni-os.html?entrypoint=bar">
1087                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/5._Camas_para_Ni_os_1_.jpg" src="/pub/images/default_120.png">Camas para Niños                                                            </a>
1088                                                        </li>
1089                                                                                                        <li class="all"><a href="https://www.costway.es/infantil/habitacion-infantil.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1090                                                </ul>
1091                                                                                                                                                        <ul class="nav-title-group">
1092                                                                                    <li class="nav_title"><a href="https://www.costway.es/juguetes-y-aficiones/cuarto-de-jugar.html?entrypoint=bar">Cuarto de Jugar</a></li>
1093                                            <li class="all"><a href="https://www.costway.es/juguetes-y-aficiones/cuarto-de-jugar.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1094                                                                                                                            </ul>
1095                                                                        <!-- 如果不够4的倍数 需要补齐-->
1096                                    <ul class='empty'></ul><ul class='empty'></ul><ul class='empty'></ul>                                </div>
1097                                <div class="second_nav_pic">
1098                                                                            <a href="/muebles/escritorios.html?entrypoint=bar ">
1099                                            <img class="menu-ad-lazy" data-original="https://www.costway.es/media/zetman/category/Muebles_06161.png" alt="" />
1100                                        </a>
1101                                                                                                                <a href="/muebles/mesitas-auxiliares.html?entrypoint=bar ">
1102                                            <img class="menu-ad-lazy" data-original="https://www.costway.es/media/zetman/category/Muebles_06162.png" alt="" />
1103                                        </a>
1104                                                                    </div>
1105                            </div>
1106                        </div>
1107
1108                    </li>
1109                                                                <li>
1110                        <a class="top-nav" href="https://www.costway.es/terraza-y-jardin.html?entrypoint=bar">Terraza y Jardín</a>
1111                        <div class="second_nav nav_2">
1112                            <div class="second_nav_cont ">
1113                                <div class="second_nav_list sub_nav_1">
1114                                                                            <ul class="">
1115                                            <li class="nav_title">
1116                                                <a href="https://www.costway.es/terraza-y-jardin/mesas-y-sillas-de-exterior.html?entrypoint=bar">Muebles de Exterior</a>
1117                                    
1117        </li>
1118                                                                                            <li>
1119                                                    <a href="https://www.costway.es/terraza-y-jardin/conjuntos-de-muebles.html?entrypoint=bar">
1120                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Conjuntos_de_Exterior_1__1.jpg" src="/pub/images/default_120.png">Conjuntos de Exterior                                                    </a>
1121                                                </li>
1122                                                                                            <li>
1123                                                    <a href="https://www.costway.es/terraza-y-jardin/mesas-de-exterior.html?entrypoint=bar">
1124                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Mesas_de_Exterior_1_.jpg" src="/pub/images/default_120.png">Mesas de Exterior                                                    </a>
1125                                                </li>
1126                                                                                            <li>
1127                                                    <a href="https://www.costway.es/terraza-y-jardin/asientos-de-exterior.html?entrypoint=bar">
1128                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/3._Asientos_de_Exterior_1_.jpg" src="/pub/images/default_120.png">Asientos de Exterior                                                    </a>
1129                                                </li>
1130                                                                                            <li>
1131                                                    <a href="https://www.costway.es/terraza-y-jardin/columpios-y-hamacas.html?entrypoint=bar">
1132                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/4._Hamacas_1_.jpg" src="/pub/images/default_120.png">Hamacas                                                    </a>
1133                                                </li>
1134                                                                                            <li>
1135                                                    <a href="https://www.costway.es/terraza-y-jardin/balancines-de-jardin.html?entrypoint=bar">
1136                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/5._Balancines_de_Jard_n_1_.jpg" src="/pub/images/default_120.png">Balancines de Jardín                                                    </a>
1137                                                </li>
1138                                                                                            <li>
1139                                                    <a href="https://www.costway.es/deportes-y-aire-libre/mesas-y-sillas-de-camping.html?entrypoint=bar">
1140                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Mobiliario_de_Camping_2_.jpg" src="/pub/images/default_120.png">Mobiliario de Camping                                                    </a>
1141                                                </li>
1142                                                                                        <li class="all"><a href="https://www.costway.es/terraza-y-jardin/mesas-y-sillas-de-exterior.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1143                                        </ul>
1144                                                                            <ul class="">
1145                                            <li class="nav_title">
1146                                                <a href="https://www.costway.es/terraza-y-jardin/jardineria.html?entrypoint=bar">Jardinería</a>
1147                                            </li>
1148                                                                                            <li>
1149                                                    <a href="https://www.costway.es/hogar/estantes.html?entrypoint=bar">
1150                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Estantes_para_Plantas_2_.jpg" src="/pub/images/default_120.png">Estantes para Plantas                                                    </a>
1151                                                </li>
1152                                                                                            <li>
1153                                                    <a href="https://www.costway.es/terraza-y-jardin/macetas.html?entrypoint=bar">
1154                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Macetas_1_.jpg" src="/pub/images/default_120.png">Macetas                                                    </a>
1155                                                </li>
1156                                                                                            <li>
1157                                                    <a href="https://www.costway.es/terraza-y-jardin/invernaderos.html?entrypoint=bar">
1158                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/3._Invernaderos_2_.jpg" src="/pub/images/default_120.png">Invernaderos                                                    </a>
1159                                                </li>
1160                                                                                            <li>
1161                                                    <a href="https://www.costway.es/terraza-y-jardin/accesorios-para-maquinaria-de-jardin.html?entrypoint=bar">
1162                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/4._Herramientas_de_Jardiner_a_.jpg" src="/pub/images/default_120.png">Herramientas de Jardinería                                                    </a>
1163                                                </li>
1164                                                                                        <li class="all"><a href="https://www.costway.es/terraza-y-jardin/jardineria.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1165                                        </ul>
1166                                                                            <ul class="">
1167                                            <li class="nav_title">
1168                                                <a href="https://www.costway.es/terraza-y-jardin/toldos-y-sombrillas.html?entrypoint=bar">Toldos y Sombrillas</a>
1169                                            </li>
1170                                                                                            <li>
1171                                                    <a href="https://www.costway.es/terraza-y-jardin/toldos.html?entrypoint=bar">
1172                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Toldos_2_.jpg" src="/pub/images/default_120.png">Toldos                                                    </a>
1173                                                </li>
1174                                                                                            <li>
1175                                                    <a href="https://www.costway.es/terraza-y-jardin/pabellones.html?entrypoint=bar">
1176                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Pabellones_1_.jpg" src="/pub/images/default_120.png">Pabellones                                                    </a>
1177                                                </li>
1178                                                                                            <li>
1179                                                    <a href="https://www.costway.es/terraza-y-jardin/sombrillas.html?entrypoint=bar">
1180                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/3._Sombrillas_1_.jpg" src="/pub/images/default_120.png">Sombrillas                                                    </a>
1181                                                </li>
1182                                                                                            <li>
1183                                                    <a href="https://www.costway.es/terraza-y-jardin/bases-para-sombrillas.html?entrypoint=bar">
1184                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/4._Bases_para_Sombrillas_2_.jpg" src="/pub/images/default_120.png">Bases para Sombrillas                                                    </a>
1185                                                </li>
1186                                                                                        <li class="all"><a href="https://www.costway.es/terraza-y-jardin/toldos-y-sombrillas.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1187                                        </ul>
1188                                                                            <ul class="">
1189                                            <li class="nav_title">
1190                                                <a href="https://www.costway.es/terraza-y-jardin/cobertizos-y-garaje.html?entrypoint=bar">Cobertizos y Garaje</a>
1191                                            </li>
1192                                                                                            <li>
1193                                                    <a href="https://www.costway.es/terraza-y-jardin/cobertizo-de-jardin.html?entrypoint=bar">
1194                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Cobertizos_de_Jard_n_.jpg" src="/pub/images/default_120.png">Cobertizos de Jardín                                                    </a>
1195                                                </li>
1196                                                                                            <li>
1197                                                    <a href="https://www.costway.es/herramientas/accesorios-para-vehiculos.html?entrypoint=bar">
1198                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Garaje_.jpg" src="/pub/images/default_120.png">Garaje                                                    </a>
1199                                                </li>
1200                                                                                            <li>
1201                                                    <a href="https://www.costway.es/herramientas.html?entrypoint=bar">
1202                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/3._Herramientas_.jpg" src="/pub/images/default_120.png">Herramientas                                                    </a>
1203                                                </li>
1204                                                                                            <li>
1205                                                    <a href="https://www.costway.es/herramientas/escaleras-y-andamios.html?entrypoint=bar">
1206                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/4._Escaleras_y_And
1206amios_.jpg" src="/pub/images/default_120.png">Escaleras y Andamios                                                    </a>
1207                                                </li>
1208                                                                                        <li class="all"><a href="https://www.costway.es/terraza-y-jardin/cobertizos-y-garaje.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1209                                        </ul>
1210                                                                            <ul class="">
1211                                            <li class="nav_title">
1212                                                <a href="https://www.costway.es/terraza-y-jardin/calefaccion-de-exterior.html?entrypoint=bar">Calefacción de Exterior</a>
1213                                            </li>
1214                                                                                            <li>
1215                                                    <a href="https://www.costway.es/terraza-y-jardin/calentadores-y-fuente-jardins.html?entrypoint=bar">
1216                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Calentadores_y_Braseros_.jpg" src="/pub/images/default_120.png">Calentadores y Braseros                                                    </a>
1217                                                </li>
1218                                                                                            <li>
1219                                                    <a href="https://www.costway.es/terraza-y-jardin/accesorios-para-chimeneas.html?entrypoint=bar">
1220                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Accesorios_para_Chimeneas_.jpg" src="/pub/images/default_120.png">Accesorios para Chimeneas                                                    </a>
1221                                                </li>
1222                                                                                        <li class="all"><a href="https://www.costway.es/terraza-y-jardin/calefaccion-de-exterior.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1223                                        </ul>
1224                                                                        <!--上面的循环存在空分类才做下面操作-->
1225                                                                            <ul class="nav-title-group">
1226                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <li class="nav_title"><a href="https://www.costway.es/deportes-y-aire-libre/accesorios-para-barbacoa.html?entrypoint=bar">Barbacoa</a></li>
1227                                            <li class="all"><a href="https://www.costway.es/deportes-y-aire-libre/accesorios-para-barbacoa.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1228
1229                                                                                                                                                                                                                                                                                </ul>
1230                                                                                                                                                            <ul class="custom-category-ul">
1231                                                    <li class="nav_title">
1232                                                        <a href="https://www.costway.es/juguetes-y-aficiones/juguetes-de-exterior.html?entrypoint=bar">Juguetes de Exterior</a>
1233                                                    </li>
1234                                                                                                            <li>
1235                                                            <a href="https://www.costway.es/juguetes-y-aficiones/castillos-hinchables.html?entrypoint=bar">
1236                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Castillos_Hinchables_.jpg" src="/pub/images/default_120.png">Castillos Hinchables                                                            </a>
1237                                                        </li>
1238                                                                                                            <li>
1239                                                            <a href="https://www.costway.es/juguetes-y-aficiones/sopladores.html?entrypoint=bar">
1240                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Sopladores_.jpg" src="/pub/images/default_120.png">Sopladores                                                            </a>
1241                                                        </li>
1242                                                                                                            <li>
1243                                                            <a href="https://www.costway.es/juguetes-y-aficiones/juguetes-de-exterior/trampolines-y-accesorios.html?entrypoint=bar">
1244                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/3._Tampolines_y_Accesorios_1_.jpg" src="/pub/images/default_120.png">Trampolines y Accesorios                                                            </a>
1245                                                        </li>
1246                                                                                                            <li>
1247                                                            <a href="https://www.costway.es/juguetes-y-aficiones/juegos-de-columpios.html?entrypoint=bar">
1248                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/4._Juegos_de_Columpios_2_.jpg" src="/pub/images/default_120.png">Juegos de Columpios                                                            </a>
1249                                                        </li>
1250                                                                                                            <li>
1251                                                            <a href="https://www.costway.es/juguetes-y-aficiones/escaladores-y-toboganes.html?entrypoint=bar">
1252                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/5._Escaladores_y_Toboganes_222_.jpg" src="/pub/images/default_120.png">Escaladores y Toboganes                                                            </a>
1253                                                        </li>
1254                                                                                                            <li>
1255                                                            <a href="https://www.costway.es/juguetes-y-aficiones/juguetes-de-cesped.html?entrypoint=bar">
1256                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/6._Juguetes_de_C_sped_.jpg" src="/pub/images/default_120.png">Juguetes de Césped                                                            </a>
1257                                                        </li>
1258                                                                                                            <li>
1259                                                            <a href="https://www.costway.es/juguetes-y-aficiones/areneros.html?entrypoint=bar">
1260                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/7._Areneros_2_.jpg" src="/pub/images/default_120.png">Areneros                                                            </a>
1261                                                        </li>
1262                                                                                                        <li class="all"><a href="https://www.costway.es/juguetes-y-aficiones/juguetes-de-exterior.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1263                                                </ul>
1264                                                                                                                                                        <ul class="nav-title-group">
1265                                                                                    <li class="nav_title"><a href="https://www.costway.es/decoracion/decoracion-de-jardineria.html?entrypoint=bar">Decoración de Jardín</a></li>
1266                                            <li class="all"><a href="https://www.costway.es/decoracion/decoracion-de-jardineria.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1267                                                                                                                            </ul>
1268                                                                        <!-- 如果不够4的倍数 需要补齐-->
1269                                                                    </div>
1270                                <div class="second_nav_pic">
1271                                                                            <a href="/terraza-y-jardin/muebles-de-exterior.html?entrypoint=bar ">
1272                                            <img class="menu-ad-lazy" data-original="https://www.costway.es/media/zetman/category/Terraza_y_Jard_n_06161.png" alt="" />
1273                                        </a>
1274                                                                                                                <a href="terraza-y-jardin/toldos-y-sombrillas.html?entrypoint=bar ">
1275                                            <img class="menu-ad-lazy" data-original="https://www.costway.es/media/zetman/category/Terraza_y_Jard_n_06162.png" alt="" />
1276                                        </a>
1277                                                                    </div>
1278                            </div>
1279                        </div>
1280
1281                    </li>
1282                                                                <li>
1283                        <a class="top-nav" href="https://www.costway.es/cocina.html?entrypoint=bar">Cocina</a>
1284                        <div class="second_nav nav_2">
1285                            <div class="second_nav_cont ">
1286                                <div class="second_nav_list sub_nav_1">
1287                                                                        <!--上面的循环存在空分类才做下面操作-->
1288                                                                            <ul class="nav-title-group">
1289                                                                                                                            <li class="nav_title"><a href="https://www.costway.es/hogar/utensilios-de-cocina.html?entrypoint=bar">Utensilios de Cocina</a></li>
1290                                            <li class="all"><a href="https://www.costway.es/hogar/utensilios-de-cocina.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1291
1292                                                                                                                                                                    <li class="nav_title"><a href="https://www.costway.es/hogar/organizadores-de-cocina.html?entrypoint=bar">Organizadores de Cocina</a></li>
1293                                            <li class="all"><a href="https://www.costway.es/hogar/organizadores-de-cocina.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1294
1295                                                                                                                                                                                                                                                                                </ul>
1296                                                                                                                                                            <ul class="custom-category-ul">
1297                                                    <li class="nav_title">
1298                                                        <a href="https://www.costway.es/hogar/cocina-y-comedor.html?entrypoint=bar">Cocina y Comedor</a>
1299                                                    </li>
1300                                                                                                            <li>
1301                                                            <a href="https://www.costway.es/muebles/mesas-y-sillas-de-comedor.html?entrypoint=bar">
1302                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Mesas_y_Sillas_de_Comedor_1_.jpg" src="/pub/images/default_120.png">Mesas y Sillas de Comedor                                                            </a>
1303                                                        </li>
1304                                                                                                            <li>
1305                                                            <a href="https://www.costway.es/muebles/islas-de-cocina-y-carritos.html?entrypoint=bar">
1306                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Islas_de_Cocina_y_Carritos_.jpg" src="/pub/images/default_120.png">Islas de Cocina y Carritos                                                            </a>
1307                                                        </li>
1308                                                                                                            <li>
1309                                                            <a href="https://www.costway.es/muebles/aparadores-comedor.html?entrypoint=bar">
1310                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/3._Aparadores_Comedor_.jpg" src="/pub/images/default_120.png">Aparadores Comedor                                                            </a>
1311                                                        </li>
1312                                                                                                            <li>
1313                                                            <a href="https://www.costway.es/muebles/botelleros.html?entrypoint=bar">
1314                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/4._Botelleros_1_.jpg" src="/pub/images/default_120.png">Botelleros                                                            </a>
1315                                                        </li>
1316                                                                                                            <li>
1317                                                            <a href="https://www.costway.es/muebles/taburetes-de-bar.html?entrypoint=bar">
1318                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/5._Taburetes_de_Bar_1_.jpg" src="/pub/images/default_120.png">Taburetes de Bar                                                            </a>
1319                                                        </li>
1320                                                                                                        <li class="all"><a href
1320="https://www.costway.es/hogar/cocina-y-comedor.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1321                                                </ul>
1322                                                                                    <ul class="custom-category-ul">
1323                                                    <li class="nav_title">
1324                                                        <a href="https://www.costway.es/hogar/electrodomesticos-de-cocina.html?entrypoint=bar">Electrodomésticos de Cocina</a>
1325                                                    </li>
1326                                                                                                            <li>
1327                                                            <a href="https://www.costway.es/electrodomesticos/neveras.html?entrypoint=bar">
1328                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Neveras_.jpg" src="/pub/images/default_120.png">Neveras                                                            </a>
1329                                                        </li>
1330                                                                                                            <li>
1331                                                            <a href="https://www.costway.es/electrodomesticos/maquinas-de-hielo.html?entrypoint=bar">
1332                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._M_quinas_de_Hielo_1_.jpg" src="/pub/images/default_120.png">Máquinas de Hielo                                                            </a>
1333                                                        </li>
1334                                                                                                            <li>
1335                                                            <a href="https://www.costway.es/electrodomesticos/peque-os-electrodomesticos.html?entrypoint=bar">
1336                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/3._Peque_os_Electrodom_sticos_.jpg" src="/pub/images/default_120.png">Pequeños Electrodomésticos                                                            </a>
1337                                                        </li>
1338                                                                                                        <li class="all"><a href="https://www.costway.es/hogar/electrodomesticos-de-cocina.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1339                                                </ul>
1340                                                                                                                                                    <!-- 如果不够4的倍数 需要补齐-->
1341                                    <ul class='empty'></ul>                                </div>
1342                                <div class="second_nav_pic">
1343                                                                            <a href="/muebles/mesas-y-sillas-de-comedor.html?entrypoint=bar ">
1344                                            <img class="menu-ad-lazy" data-original="https://www.costway.es/media/zetman/category/Cocina_06161.png" alt="" />
1345                                        </a>
1346                                                                                                        </div>
1347                            </div>
1348                        </div>
1349
1350                    </li>
1351                                                                <li>
1352                        <a class="top-nav" href="https://www.costway.es/hogar/ba-o.html?entrypoint=bar">Baño</a>
1353                        <div class="second_nav nav_2">
1354                            <div class="second_nav_cont ">
1355                                <div class="second_nav_list sub_nav_1">
1356                                                                        <!--上面的循环存在空分类才做下面操作-->
1357                                                                            <ul class="nav-title-group">
1358                                                                                                                            <li class="nav_title"><a href="https://www.costway.es/hogar/cestas-de-ropa.html?entrypoint=bar">Cestas de Ropa</a></li>
1359                                            <li class="all"><a href="https://www.costway.es/hogar/cestas-de-ropa.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1360
1361                                                                                                                                                                    <li class="nav_title"><a href="https://www.costway.es/hogar/ba-o/utensillos-de-limpieza.html?entrypoint=bar">Utensilios de Limpieza</a></li>
1362                                            <li class="all"><a href="https://www.costway.es/hogar/ba-o/utensillos-de-limpieza.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1363
1364                                                                                                                                                                    <li class="nav_title"><a href="https://www.costway.es/hogar/toalleros.html?entrypoint=bar">Toalleros</a></li>
1365                                            <li class="all"><a href="https://www.costway.es/hogar/toalleros.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1366
1367                                                                                                                                                                                                    </ul>
1368                                                                                                                                                            <ul class="custom-category-ul">
1369                                                    <li class="nav_title">
1370                                                        <a href="https://www.costway.es/hogar/muebles-de-ba-o.html?entrypoint=bar">Muebles de Baño</a>
1371                                                    </li>
1372                                                                                                            <li>
1373                                                            <a href="https://www.costway.es/muebles/armarios-de-pared.html?entrypoint=bar">
1374                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Armarios_de_Pared_.jpg" src="/pub/images/default_120.png">Armarios de Pared                                                            </a>
1375                                                        </li>
1376                                                                                                            <li>
1377                                                            <a href="https://www.costway.es/muebles/armarios-y-estantes-de-suelo.html?entrypoint=bar">
1378                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Armarios_y_Estantes_de_Suelo_2_.jpg" src="/pub/images/default_120.png">Armarios y Estantes de Suelo                                                            </a>
1379                                                        </li>
1380                                                                                                            <li>
1381                                                            <a href="https://www.costway.es/muebles/taburetes-de-ba-o.html?entrypoint=bar">
1382                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/3._Taburetes_de_Ba_o_1_.jpg" src="/pub/images/default_120.png">Taburetes de Baño                                                            </a>
1383                                                        </li>
1384                                                                                                        <li class="all"><a href="https://www.costway.es/hogar/muebles-de-ba-o.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1385                                                </ul>
1386                                                                                                                                                    <!-- 如果不够4的倍数 需要补齐-->
1387                                    <ul class='empty'></ul><ul class='empty'></ul>                                </div>
1388                                <div class="second_nav_pic">
1389                                                                            <a href="/muebles/muebles-de-ba-o.html?entrypoint=bar ">
1390                                            <img class="menu-ad-lazy" data-original="https://www.costway.es/media/zetman/category/Ba_o_06161.png" alt="" />
1391                                        </a>
1392                                                                                                        </div>
1393                            </div>
1394                        </div>
1395
1396                    </li>
1397                                                                <li>
1398                        <a class="top-nav" href="https://www.costway.es/hogar/electrodomesticos.html?entrypoint=bar">Electrodomésticos</a>
1399                        <div class="second_nav nav_2">
1400                            <div class="second_nav_cont ">
1401                                <div class="second_nav_list sub_nav_1">
1402                                                                            <ul class="">
1403                                            <li class="nav_title">
1404                                                <a href="https://www.costway.es/hogar/electrodomesticos-de-cocina.html?entrypoint=bar">Aparatos de Cocina</a>
1405                                            </li>
1406                                                                                            <li>
1407                                                    <a href="https://www.costway.es/electrodomesticos/neveras.html?entrypoint=bar">
1408                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Neveras_.jpg" src="/pub/images/default_120.png">Neveras                                                    </a>
1409                                                </li>
1410                                                                                            <li>
1411                                                    <a href="https://www.costway.es/electrodomesticos/maquinas-de-hielo.html?entrypoint=bar">
1412                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._M_quinas_de_Hielo_1_.jpg" src="/pub/images/default_120.png">Máquinas de Hielo                                                    </a>
1413                                                </li>
1414                                                                                            <li>
1415                                                    <a href="https://www.costway.es/electrodomesticos/peque-os-electrodomesticos.html?entrypoint=bar">
1416                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/3._Peque_os_Electrodom_sticos_.jpg" src="/pub/images/default_120.png">Pequeños Electrodomésticos                                                    </a>
1417                                                </li>
1418                                                                                        <li class="all"><a href="https://www.costway.es/hogar/electrodomesticos-de-cocina.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1419                                        </ul>
1420                                                                            <ul class="">
1421                                            <li class="nav_title">
1422                                                <a href="https://www.costway.es/hogar/control-del-clima.html?entrypoint=bar">Climatización</a>
1423                                            </li>
1424                                                                                            <li>
1425                                                    <a href="https://www.costway.es/electrodomesticos/chimeneas-electricas.html?entrypoint=bar">
1426                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Chimeneas_El_ctricas_.jpg" src="/pub/images/default_120.png">Chimeneas Eléctricas                                                    </a>
1427                                                </li>
1428                                                                                            <li>
1429                                                    <a href="https://www.costway.es/electrodomesticos/calentadores.html?entrypoint=bar">
1430                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Calentadores_.jpg" src="/pub/images/default_120.png">Calentadores                                                    </a>
1431                                                </li>
1432                                                                                            <li>
1433                                                    <a href="https://www.costway.es/electrodomesticos/aires-acondicionados.html?entrypoint=bar">
1434                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/3._Aires_Acondicionados_.jpg" src="/pub/images/default_120.png">Aires Acondicionados                                                    </a>
1435                                                </li>
1436                                                                                            <li>
1437                                                    <a href="https://www.costway.es/electrodomesticos/ventiladores.html?entrypoint=bar">
1438                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/4._Ventiladores_.jpg" src="/pub/images/default_120.png">Ventiladores                                                    </a>
1439                                                </li>
1440                                                                                            <li>
1441                                                    <a href="https://www.costway.es/electrodomesticos/purificadores.html?entrypoint=bar">
1442                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/5._Purificadores_.jpg" src="/pub/images/default_120.png">Purificadores                                                    </a>
1443                                                </li>
1444                                                                                            <li>
1445                                                    <a href="https://www.costway.es/electrodomesticos/deshumidificadores.html?entrypoint=bar">
1446                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/6._Deshumidificadores_.jpg" src="/pub/images/default_120.png">Deshumidificadores                                                    </a>
1447                                                </li>
1448                                                                                        <li class="all"><a href="https://www.costway.es/hogar/control-del-clima.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1449                                        </ul>
1450                                                                        <!--上面的循环存在空分类才做下面操作-->
1451               
1451                                                             <ul class="nav-title-group">
1452                                                                                                                                                                                                                                                                                    <li class="nav_title"><a href="https://www.costway.es/hogar/electrodomesticos-limpios.html?entrypoint=bar">Lavadoras y Secadoras</a></li>
1453                                            <li class="all"><a href="https://www.costway.es/hogar/electrodomesticos-limpios.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1454
1455                                                                                                                                                                    <li class="nav_title"><a href="https://www.costway.es/electrodomesticos/aspiradoras-y-limpiadoras-a-vapor.html?entrypoint=bar">Aspiradoras y Limpiadoras a Vapor</a></li>
1456                                            <li class="all"><a href="https://www.costway.es/electrodomesticos/aspiradoras-y-limpiadoras-a-vapor.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1457
1458                                                                                                                        </ul>
1459                                                                                                                                                <!-- 如果不够4的倍数 需要补齐-->
1460                                    <ul class='empty'></ul>                                </div>
1461                                <div class="second_nav_pic">
1462                                                                            <a href="/electrodomesticos/climatizacion.html?entrypoint=bar ">
1463                                            <img class="menu-ad-lazy" data-original="https://www.costway.es/media/zetman/category/Electrodom_sticos_2_.jpg" alt="" />
1464                                        </a>
1465                                                                                                        </div>
1466                            </div>
1467                        </div>
1468
1469                    </li>
1470                                                                <li>
1471                        <a class="top-nav" href="https://www.costway.es/hogar/decoracion.html?entrypoint=bar">Decoración</a>
1472                        <div class="second_nav nav_2">
1473                            <div class="second_nav_cont ">
1474                                <div class="second_nav_list sub_nav_1">
1475                                                                            <ul class="">
1476                                            <li class="nav_title">
1477                                                <a href="https://www.costway.es/hogar/decoracion-festival.html?entrypoint=bar">Decoración Festiva</a>
1478                                            </li>
1479                                                                                            <li>
1480                                                    <a href="https://www.costway.es/decoracion/navidad.html?entrypoint=bar">
1481                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Navidad_.jpg" src="/pub/images/default_120.png">Navidad                                                    </a>
1482                                                </li>
1483                                                                                            <li>
1484                                                    <a href="https://www.costway.es/decoracion/halloween.html?entrypoint=bar">
1485                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Halloween_.jpg" src="/pub/images/default_120.png">Halloween                                                    </a>
1486                                                </li>
1487                                                                                        <li class="all"><a href="https://www.costway.es/hogar/decoracion-festival.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1488                                        </ul>
1489                                                                            <ul class="">
1490                                            <li class="nav_title">
1491                                                <a href="https://www.costway.es/salud-y-belleza/espejos-y-estuches-cosmeticos.html?entrypoint=bar">Espejos</a>
1492                                            </li>
1493                                                                                            <li>
1494                                                    <a href="https://www.costway.es/decoracion/espejos-de-pared.html?entrypoint=bar">
1495                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Espejos_de_Pared_.jpg" src="/pub/images/default_120.png">Espejos de Pared                                                    </a>
1496                                                </li>
1497                                                                                            <li>
1498                                                    <a href="https://www.costway.es/decoracion/espejos-de-pie.html?entrypoint=bar">
1499                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Espejos_de_Pie_.jpg" src="/pub/images/default_120.png">Espejos de Pie                                                    </a>
1500                                                </li>
1501                                                                                            <li>
1502                                                    <a href="https://www.costway.es/decoracion/espejos-de-mesa.html?entrypoint=bar">
1503                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/3._Espejos_de_Mesa_.jpg" src="/pub/images/default_120.png">Espejos de Mesa                                                    </a>
1504                                                </li>
1505                                                                                        <li class="all"><a href="https://www.costway.es/salud-y-belleza/espejos-y-estuches-cosmeticos.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1506                                        </ul>
1507                                                                            <ul class="">
1508                                            <li class="nav_title">
1509                                                <a href="https://www.costway.es/hogar/aparatos-de-iluminacion.html?entrypoint=bar">Iluminación</a>
1510                                            </li>
1511                                                                                            <li>
1512                                                    <a href="https://www.costway.es/decoracion/lamparas-de-techo.html?entrypoint=bar">
1513                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._L_mparas_de_Techo_.jpg" src="/pub/images/default_120.png">Lámparas de Techo                                                    </a>
1514                                                </li>
1515                                                                                            <li>
1516                                                    <a href="https://www.costway.es/decoracion/lamparas-de-mesa-y-de-pie.html?entrypoint=bar">
1517                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._L_mparas_de_Mesa_y_de_Pie_.jpg" src="/pub/images/default_120.png">Lámparas de Mesa y de Pie                                                    </a>
1518                                                </li>
1519                                                                                            <li>
1520                                                    <a href="https://www.costway.es/decoracion/apliques-de-pared.html?entrypoint=bar">
1521                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/3._Apliques_de_Pared_.jpg" src="/pub/images/default_120.png">Apliques de Pared                                                    </a>
1522                                                </li>
1523                                                                                        <li class="all"><a href="https://www.costway.es/hogar/aparatos-de-iluminacion.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1524                                        </ul>
1525                                                                            <ul class="">
1526                                            <li class="nav_title">
1527                                                <a href="https://www.costway.es/hogar/decoracion-de-hogar.html?entrypoint=bar">Decoración de Hogar</a>
1528                                            </li>
1529                                                                                            <li>
1530                                                    <a href="https://www.costway.es/decoracion/pantallas-divisores.html?entrypoint=bar">
1531                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Pantallas_Divisores_.jpg" src="/pub/images/default_120.png">Pantallas Divisores                                                    </a>
1532                                                </li>
1533                                                                                            <li>
1534                                                    <a href="https://www.costway.es/hogar/plantas-artificiales.html?entrypoint=bar">
1535                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Plantas_Artificiales_.jpg" src="/pub/images/default_120.png">Plantas Artificiales                                                    </a>
1536                                                </li>
1537                                                                                            <li>
1538                                                    <a href="https://www.costway.es/decoracion/decoracion-de-jardineria.html?entrypoint=bar">
1539                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/3._Decoraci_n_de_Jardiner_a_.jpg" src="/pub/images/default_120.png">Decoración de Jardinería                                                    </a>
1540                                                </li>
1541                                                                                            <li>
1542                                                    <a href="https://www.costway.es/decoracion/alfombras.html?entrypoint=bar">
1543                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/4._Alfombras_.jpg" src="/pub/images/default_120.png">Alfombras                                                    </a>
1544                                                </li>
1545                                                                                            <li>
1546                                                    <a href="https://www.costway.es/electrodomesticos/chimeneas-electricas.html?entrypoint=bar">
1547                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Chimeneas_El_ctricas_.jpg" src="/pub/images/default_120.png">Chimeneas Eléctricas                                                    </a>
1548                                                </li>
1549                                                                                        <li class="all"><a href="https://www.costway.es/hogar/decoracion-de-hogar.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1550                                        </ul>
1551                                                                        <!--上面的循环存在空分类才做下面操作-->
1552                                                                                                                                                <!-- 如果不够4的倍数 需要补齐-->
1553                                                                    </div>
1554                                <div class="second_nav_pic">
1555                                                                            <a href="/decoracion/espejos.html?entrypoint=bar ">
1556                                            <img class="menu-ad-lazy" data-original="https://www.costway.es/media/zetman/category/Decoraci_n_06161.png" alt="" />
1557                                        </a>
1558                                                                                                        </div>
1559                            </div>
1560                        </div>
1561
1562                    </li>
1563                                                                <li>
1564                        <a class="top-nav" href="https://www.costway.es/infantil/muebles-infantiles.html?entrypoint=bar">Infantil</a>
1565                        <div class="second_nav nav_2">
1566                            <div class="second_nav_cont ">
1567                                <div class="second_nav_list sub_nav_1">
1568                                                                            <ul class="">
1569                                            <li class="nav_title">
1570                                                <a href="https://www.costway.es/infantil/productos-para-bebes.html?entrypoint=bar">Habitación de Bebé</a>
1571                                            </li>
1572                                                                                            <li>
1573                                                    <a href="https://www.costway.es/infantil/cunas-y-mecedoras-para-ni-os.html?entrypoint=bar">
1574                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Cunas_3_.jpg" src="/pub/images/default_120.png">Cunas                                                    </a>
1575                                                </li>
1576                                                                                            <li>
1577                                                    <a href="https://www.costway.es/infantil/sillas-de-comedor-para-ni-os.html?entrypoint=bar">
1578                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Tronas_y_Asientos_Elevadores_1_.jpg" src="/pub/images/default_120.png">Tronas y Asientos Elevadores                                                    </a>
1579                                                </li>
1580                                                                                            <li>
1581                                                    <a href="https://www.costway.es/infantil/cambiadores-y-accesorios-de-aseo.html?entrypoint=bar">
1582                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/3._Cambiadores_y_Accesorios_de_Aseo_2_.jpg" src="/pub/images/default_120.png">Cambiadores y Accesorios de Aseo                                                    </a>
1583                                                </li>
1584                                                                                            <li>
1585                                                    <a href="https://www.costway.es/infantil/andadores.html?entrypoint=bar">
1586                                                  
1586  <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/4._Andadores_2_.jpg" src="/pub/images/default_120.png">Andadores                                                    </a>
1587                                                </li>
1588                                                                                            <li>
1589                                                    <a href="https://www.costway.es/infantil/mantas-y-alfombras.html?entrypoint=bar">
1590                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/5._Mantas_de_Juego_1_.jpg" src="/pub/images/default_120.png">Mantas de Juego                                                    </a>
1591                                                </li>
1592                                                                                            <li>
1593                                                    <a href="https://www.costway.es/infantil/mecedoras-para-bebe.html?entrypoint=bar">
1594                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/6._Mecedoras_para_Beb_1_.jpg" src="/pub/images/default_120.png">Mecedoras para Bebé                                                    </a>
1595                                                </li>
1596                                                                                        <li class="all"><a href="https://www.costway.es/infantil/productos-para-bebes.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1597                                        </ul>
1598                                                                            <ul class="">
1599                                            <li class="nav_title">
1600                                                <a href="https://www.costway.es/infantil/habitacion-infantil.html?entrypoint=bar">Habitación Infantil</a>
1601                                            </li>
1602                                                                                            <li>
1603                                                    <a href="https://www.costway.es/infantil/conjuntos-de-muebles-para-ni-os.html?entrypoint=bar">
1604                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Conjuntos_de_Muebles_para_Ni_os_1_.jpg" src="/pub/images/default_120.png">Conjuntos de Muebles para Niños                                                    </a>
1605                                                </li>
1606                                                                                            <li>
1607                                                    <a href="https://www.costway.es/infantil/sillas-y-sofas-para-ni-os.html?entrypoint=bar">
1608                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Sillas_y_Sof_s_para_Ni_os_1_.jpg" src="/pub/images/default_120.png">Sillas y Sofás para Niños                                                    </a>
1609                                                </li>
1610                                                                                            <li>
1611                                                    <a href="https://www.costway.es/infantil/tocadores-para-ni-os.html?entrypoint=bar">
1612                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/3._Tocadores_para_Ni_os_1_.jpg" src="/pub/images/default_120.png">Tocadores para Niños                                                    </a>
1613                                                </li>
1614                                                                                            <li>
1615                                                    <a href="https://www.costway.es/infantil/estantes-y-armarios-para-ni-os.html?entrypoint=bar">
1616                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/4._Estantes_y_Armarios_para_Ni_os_1_.jpg" src="/pub/images/default_120.png">Estantes y Armarios para Niños                                                    </a>
1617                                                </li>
1618                                                                                            <li>
1619                                                    <a href="https://www.costway.es/hogar/mosquiteros.html?entrypoint=bar">
1620                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/5._Camas_para_Ni_os_1_.jpg" src="/pub/images/default_120.png">Camas para Niños                                                    </a>
1621                                                </li>
1622                                                                                        <li class="all"><a href="https://www.costway.es/infantil/habitacion-infantil.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1623                                        </ul>
1624                                                                            <ul class="">
1625                                            <li class="nav_title">
1626                                                <a href="https://www.costway.es/infantil/proteccion-y-seguridad.html?entrypoint=bar">Seguridad del Bebé</a>
1627                                            </li>
1628                                                                                            <li>
1629                                                    <a href="https://www.costway.es/infantil/parques-p
1629ara-bebes.html?entrypoint=bar">
1630                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Parques_para_Beb_s_1_.jpg" src="/pub/images/default_120.png">Parques para Bebés                                                    </a>
1631                                                </li>
1632                                                                                            <li>
1633                                                    <a href="https://www.costway.es/infantil/barrera-de-seguridad.html?entrypoint=bar">
1634                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Barandillas_para_Cama_.jpg" src="/pub/images/default_120.png">Barandillas para Cama                                                    </a>
1635                                                </li>
1636                                                                                        <li class="all"><a href="https://www.costway.es/infantil/proteccion-y-seguridad.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1637                                        </ul>
1638                                                                        <!--上面的循环存在空分类才做下面操作-->
1639                                                                            <ul class="nav-title-group">
1640                                                                                                                                                                                                                                                                                                                                                                <li class="nav_title"><a href="https://www.costway.es/infantil/maletas-y-mochilas.html?entrypoint=bar">Maletas y Mochilas</a></li>
1641                                            <li class="all"><a href="https://www.costway.es/infantil/maletas-y-mochilas.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1642
1643                                                                                                                                                                    <li class="nav_title"><a href="https://www.costway.es/infantil/carritos-de-bebe.html?entrypoint=bar">Carritos de Bebé</a></li>
1644                                            <li class="all"><a href="https://www.costway.es/infantil/carritos-de-bebe.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1645
1646                                                                                                                                                                                                    </ul>
1647                                                                                                                                                            <ul class="custom-category-ul">
1648                                                    <li class="nav_title">
1649                                                        <a href="https://www.costway.es/juegos-y-juguetes/juegos.html?entrypoint=bar">Juguetes y Aficiones</a>
1650                                                    </li>
1651                                                                                                            <li>
1652                                                            <a href="https://www.costway.es/juguetes-y-aficiones/juguetes-de-exterior.html?entrypoint=bar">
1653                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Juguetes_de_Exterior_1_.jpg" src="/pub/images/default_120.png">Juguetes de Exterior                                                            </a>
1654                                                        </li>
1655                                                                                                            <li>
1656                                                            <a href="https://www.costway.es/juguetes-y-aficiones/vehiculos-para-ni-os.html?entrypoint=bar">
1657                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Veh_culos_para_Ni_os_.jpg" src="/pub/images/default_120.png">Vehículos para Niños                                                            </a>
1658                                                        </li>
1659                                                                                                            <li>
1660                                                            <a href="https://www.costway.es/juguetes-y-aficiones/juguetes-deportivos.html?entrypoint=bar">
1661                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/Escalador.jpg" src="/pub/images/default_120.png">Juguetes Deportivos                                                            </a>
1662                                                        </li>
1663                                                                                                            <li>
1664                                                            <a href="https://www.costway.es/juguetes-y-aficiones/juguetes-de-imitacion.html?entrypoint=bar">
1665                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/4._Juguetes_de_Imitaci_n_.jpg" src="/pub/images/default_120.png">Juguetes de Imitación                                                            </a>
1666                                                        </li>
1667                                                                                                            <li>
1668                                                            <a href="https://www.costway.es/juguetes-y-aficiones/instrumentos-musicales.html?entrypoint=bar">
1669                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/5._Instrumentos_Musicales_.jpg" src="/pub/images/default_120.png">Instrumentos Musicales                                                            </a>
1670                                                        </li>
1671                                                                                                            <li>
1672                                                            <a href="https://www.costway.es/juguetes-y-aficiones/bloques-de-espuma.html?entrypoint=bar">
1673                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/6._Bloques_de_Espuma_.jpg" src="/pub/images/default_120.png">Bloques de Espuma                                                            </a>
1674                                                        </li>
1675                                                                                                            <li>
1676                                                            <a href="https://www.costway.es/juguetes-y-aficiones/juguetes-educativos.html?entrypoint=bar">
1677                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Bloques_de_Espuma_3_1_.jpg" src="/pub/images/default_120.png">Juguetes Educativos                                                            </a>
1678                                                        </li>
1679                                                                                                            <li>
1680                                                            <a href="https://www.costway.es/juguetes-y-aficiones/cuarto-de-jugar.html?entrypoint=bar">
1681                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Cuarto_de_Jugar_2_.jpg" src="/pub/images/default_120.png">Cuarto de Jugar                                                            </a>
1682                                                        </li>
1683                                                                                                            <li>
1684                                                            <a href="https://www.costway.es/juguetes-y-aficiones/pizarras-y-caballetes.html?entrypoint=bar">
1685                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Pizarras_y_Caballetes_1_.jpg" src="/pub/images/default_120.png">Pizarras y Caballetes                                                            </a>
1686                                                        </li>
1687                                                                                                            <li>
1688                                                            <a href="https://www.costway.es/juguetes-y-aficiones/juguetes-de-control-remoto.html?entrypoint=bar">
1689                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Juguetes_de_Control_Remoto_.jpg" src="/pub/images/default_120.png">Juguetes de Control Remoto                                                            </a>
1690                                                        </li>
1691                                                                                                        <li class="all"><a href="https://www.costway.es/juegos-y-juguetes/juegos.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1692                                                </ul>
1693                                                                                                                                                    <!-- 如果不够4的倍数 需要补齐-->
1694                                    <ul class='empty'></ul><ul class='empty'></ul><ul class='empty'></ul>                                </div>
1695                                <div class="second_nav_pic">
1696                                                                            <a href="/infantil/sillas-y-sofas-para-ni-os.html?entrypoint=bar">
1697                                            <img class="menu-ad-lazy" data-original="https://www.costway.es/media/zetman/category/Infantil_06162.png" alt="" />
1698                                        </a>
1699                                                                                                                <a href="/infantil/conjuntos-de-muebles-para-ni-os.html?entrypoint=bar ">
1700                                            <img class="menu-ad-lazy" data-original="https://www.costway.es/media/zetman/category/Infantil_06161.png" alt="" />
1701                                        </a>
1702                                                                    </div>
1703                            </div>
1704                        </div>
1705
1706                    </li>
1707                                                                <li>
1708                        <a class="top-nav" href="https://www.costway.es/juegos-y-juguetes/juegos.html?entrypoint=bar">Juguetes y Aficiones</a>
1709                        <div class="second_nav nav_2">
1710                            <div class="second_nav_cont ">
1711                                <div class="second_nav_list sub_nav_1">
1712                                                                            <ul class="">
1713                                            <li class="nav_title">
1714                                                <a href="https://www.costway.es/juguetes-y-aficiones/juguetes-de-exterior.html?entrypoint=bar">Juguetes de Exterior</a>
1715                                            </li>
1716                                                                                            <li>
1717                                                    <a href="https://www.costway.es/juegos-y-juguetes/castillos-hinchables-y-sopladores.html?entrypoint=bar">
1718                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Castillos_Hinchables_.jpg" src="/pub/images/default_120.png">Castillos Hinchables                                                    </a>
1719                                                </li>
1720                                                                                            <li>
1721                                                    <a href="https://www.costway.es/juguetes-y-aficiones/sopladores.html?entrypoint=bar">
1722                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Sopladores_.jpg" src="/pub/images/default_120.png">Sopladores                                                    </a>
1723                                                </li>
1724                                                                                            <li>
1725                                                    <a href="https://www.costway.es/juguetes-y-aficiones/juguetes-de-exterior/trampolines-y-accesorios.html?entrypoint=bar">
1726                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/3._Tampolines_y_Accesorios_1_.jpg" src="/pub/images/default_120.png">Trampolines y Accesorios                                                    </a>
1727                                                </li>
1728                                                                                            <li>
1729                                                    <a href="https://www.costway.es/juegos-y-juguetes/columpios-y-balancines.html?entrypoint=bar">
1730                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/4._Juegos_de_Columpios_2_.jpg" src="/pub/images/default_120.png">Juegos de Columpios                                                    </a>
1731                                                </li>
1732                                                                                            <li>
1733                                                    <a href="https://www.costway.es/juegos-y-juguetes/toboganes.html?entrypoint=bar">
1734                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/5._Escaladores_y_Toboganes_222_.jpg" src="/pub/images/default_120.png">Escaladores y Toboganes                                                    </a>
1735                                                </li>
1736                                                                                            <li>
1737                                                    <a href="https://www.costway.es/juguetes-y-aficiones/juguetes-de-cesped.html?entrypoint=bar">
1738                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/6._Juguetes_de_C_sped_.jpg" src="/pub/images/default_120.png">Juguetes de Césped                                                    </a>
1739                                                </li>
1740                                                                                            <li>
1741                                                    <a href="https://www.costway.es/juguetes-y-aficiones/areneros.html?entrypoint=bar">
1742                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/7._Areneros_2_.jpg" src="/pub/images/default_120.png">Areneros                                                    </a>
1743                                                </li>
1744                                                                                        <li class="all"><a href="https://www.costway.es/juguetes-y-aficiones/juguetes-de-exteri
1744or.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1745                                        </ul>
1746                                                                            <ul class="">
1747                                            <li class="nav_title">
1748                                                <a href="https://www.costway.es/juegos-y-juguetes/juguetes-electricos.html?entrypoint=bar">Vehículos para Niños</a>
1749                                            </li>
1750                                                                                            <li>
1751                                                    <a href="https://www.costway.es/juegos-y-juguetes/coches-de-juguete.html?entrypoint=bar">
1752                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Coches_de_Bater_a_.jpg" src="/pub/images/default_120.png">Coches de Batería                                                    </a>
1753                                                </li>
1754                                                                                            <li>
1755                                                    <a href="https://www.costway.es/juegos-y-juguetes/motocicletas-de-juguete.html?entrypoint=bar">
1756                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Motos_de_Bater_a_1_.jpg" src="/pub/images/default_120.png">Motos de Batería                                                    </a>
1757                                                </li>
1758                                                                                            <li>
1759                                                    <a href="https://www.costway.es/infantil/bicicletas-y-patinetes.html?entrypoint=bar">
1760                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/3._Patinetes_.jpg" src="/pub/images/default_120.png">Patinetes                                                    </a>
1761                                                </li>
1762                                                                                            <li>
1763                                                    <a href="https://www.costway.es/juguetes-y-aficiones/karts.html?entrypoint=bar">
1764                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/4._Karts_1_.jpg" src="/pub/images/default_120.png">Karts                                                    </a>
1765                                                </li>
1766                                                                                            <li>
1767                                                    <a href="https://www.costway.es/juguetes-y-aficiones/bicicletas-de-equilibrio.html?entrypoint=bar">
1768                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/5._Bicicletas_de_Equilibrio_3_.jpg" src="/pub/images/default_120.png">Bicicletas de Equilibrio                                                    </a>
1769                                                </li>
1770                                                                                            <li>
1771                                                    <a href="https://www.costway.es/infantil/andadores.html?entrypoint=bar">
1772                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/4._Andadores_2_.jpg" src="/pub/images/default_120.png">Correpasillos y Andadores                                                    </a>
1773                                                </li>
1774                                                                                        <li class="all"><a href="https://www.costway.es/juegos-y-juguetes/juguetes-electricos.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1775                                        </ul>
1776                                                                            <ul class="">
1777                                            <li class="nav_title">
1778                                                <a href="https://www.costway.es/juguetes-y-aficiones/juguetes-de-imitacion.html?entrypoint=bar">Juguetes de Imitación</a>
1779                                            </li>
1780                                                                                            <li>
1781                                                    <a href="https://www.costway.es/juguetes-y-aficiones/casas-de-mu-ecas.html?entrypoint=bar">
1782                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Casas_de_Mu_ecas_2__1_1.jpg" src="/pub/images/default_120.png">Casas de Muñecas                                                    </a>
1783                                                </li>
1784                                                                                            <li>
1785                                                    <a href="https://www.costway.es/infantil/carpa-de-juegos-para-ni-os.html?entrypoint=bar">
1786                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Carpas_y_Casitas_de_Juego_1_.jpg" src="/pub/images/default_120.png">Carpas y Casitas de Juego                                                    </a>
1787                                                </li>
1788                                                                                        <li class="all"><a href="https://www.costway.es/juguetes-y-aficiones/juguetes-de-imitacion.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1789                                        </ul>
1790                                                                            <ul class="">
1791                                            <li class="nav_title">
1792                                                <a href="https://www.costway.es/juegos-y-juguetes/entretenimiento.html?entrypoint=bar">Instrumentos Musicales</a>
1793                                            </li>
1794                                                                                            <li>
1795                                                    <a href="https://www.costway.es/juguetes-y-aficiones/teclados-electronicos.html?entrypoint=bar">
1796                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Teclados_Electr_nicos_3_.jpg" src="/pub/images/default_120.png">Teclados Electrónicos                                                    </a>
1797                                                </li>
1798                                                                                            <li>
1799                                                    <a href="https://www.costway.es/juguetes-y-aficiones/juguetes-musicales.html?entrypoint=bar">
1800                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Juguetes_Musicales_1_.jpg" src="/pub/images/default_120.png">Juguetes Musicales                                                    </a>
1801                                                </li>
1802                                                                                            <li>
1803                                                    <a href="https://www.costway.es/juegos-y-juguetes/guitarras.html?entrypoint=bar">
1804                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/3._Guitarras_y_Cuerdas_1_.jpg" src="/pub/images/default_120.png">Guitarras y Cuerdas‎                                                    </a>
1805                                                </li>
1806                                                                                            <li>
1807                                                    <a href="https://www.costway.es/juegos-y-juguetes/tambores-electronicos.html?entrypoint=bar">
1808                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/4._Bater_as_y_Percusi_n_1_.jpg" src="/pub/images/default_120.png">Baterías y Percusión                                                    </a>
1809                                                </li>
1810                                                                                        <li class="all"><a href="https://www.costway.es/juegos-y-juguetes/entretenimiento.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1811                                        </ul>
1812                                                                        <!--上面的循环存在空分类才做下面操作-->
1813                                                                            <ul class="nav-title-group">
1814                                                                                                                                                                                                                                                                                    <li class="nav_title"><a href="https://www.costway.es/juegos-y-juguetes/juguetes-de-deporte.html?entrypoint=bar">Juguetes Deportivos</a></li>
1815                                            <li class="all"><a href="https://www.costway.es/juegos-y-juguetes/juguetes-de-deporte.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1816
1817                                                                                                                                                                                                                                                                                                                            <li class="nav_title"><a href="https://www.costway.es/juguetes-y-aficiones/bloques-de-espuma.html?entrypoint=bar">Bloques de Espuma</a></li>
1818                                            <li class="all"><a href="https://www.costway.es/juguetes-y-aficiones/bloques-de-espuma.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1819
1820                                                                                                                                                                    <li class="nav_title"><a href="https://www.costway.es/juguetes-y-aficiones/juguetes-educativos.html?entrypoint=bar">Juguetes Educativos</a></li>
1821                                            <li class="all"><a href="https://www.costway.es/juguetes-y-aficiones/juguetes-educativos.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1822
1823                                                                                                                                                                    <li class="nav_title"><a href="https://www.costway.es/juguetes-y-aficiones/cuarto-de-jugar.html?entrypoint=bar">Cuarto de Jugar</a></li>
1824                                            <li class="all"><a href="https://www.costway.es/juguetes-y-aficiones/cuarto-de-jugar.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1825
1826                                                                                                                                                                    <li class="nav_title"><a href="https://www.costway.es/juguetes-y-aficiones/pizarras-y-caballetes.html?entrypoint=bar">Pizarras y Caballetes</a></li>
1827                                            <li class="all"><a href="https://www.costway.es/juguetes-y-aficiones/pizarras-y-caballetes.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1828
1829                                                                                            </ul><ul class="nav-title-group">
1830                                                                                                                                                                        <li class="nav_title"><a href="https://www.costway.es/juguetes-y-aficiones/juguetes-de-control-remoto.html?entrypoint=bar">Juguetes de Control Remoto</a></li>
1831                                            <li class="all"><a href="https://www.costway.es/juguetes-y-aficiones/juguetes-de-control-remoto.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1832
1833                                                                                                                        </ul>
1834                                                                                                                                                <!-- 如果不够4的倍数 需要补齐-->
1835                                    <ul class='empty'></ul><ul class='empty'></ul>                                </div>
1836                                <div class="second_nav_pic">
1837                                                                            <a href="/juguetes-y-aficiones/castillos-hinchables.html?entrypoint=bar ">
1838                                            <img class="menu-ad-lazy" data-original="https://www.costway.es/media/zetman/category/Juguetes_y_Aficiones_06161.png" alt="" />
1839                                        </a>
1840                                                                                                                <a href="/juguetes-y-aficiones/vehiculos-para-ni-os.html?entrypoint=bar">
1841                                            <img class="menu-ad-lazy" data-original="https://www.costway.es/media/zetman/category/Juguetes_y_Aficiones_06162.png" alt="" />
1842                                        </a>
1843                                                                    </div>
1844                            </div>
1845                        </div>
1846
1847                    </li>
1848                                                                <li>
1849                        <a class="top-nav" href="https://www.costway.es/deportes-y-aire-libre.html?entrypoint=bar">Deportes y Aire Libre</a>
1850                        <div class="second_nav nav_2">
1851                            <div class="second_nav_cont ">
1852                                <div class="second_nav_list sub_nav_1">
1853                                                                            <ul class="">
1854                                            <li class="nav_title">
1855                                                <a href="https://www.costway.es/deportes-y-aire-libre/entrenamiento-y-fitness.html?entrypoint=bar">Máquinas de Fitness</a>
1856                                            </li>
1857                                                                                            <li>
1858                                                    <a href="https://www.costway.es/deportes-y-aire-libre/cintas-para-correr.html?entrypoint=bar">
1859                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Cintas_para_Correr_.jpg" src="/pub/images/default_120.png">Cintas para Correr                                                    </a>
1860                                                </li>
1861                                                                                            <li>
1862                                                    <a href="https://www.costway.es/deportes-y-aire-libre/steps-y-plataformas-vibratorias.html?entrypoint=bar">
1863                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Steps_y_Plataformas_Vibratorias_1_.jpg" src="/pub/images/default_120.png">Steps y Plataformas Vibratorias                                                    </a>
1864                                                </li>
1865                                                                                            <li>
1866                                                    <a href="https://www.costway.es/deportes-y-aire-libre/maquinas-de-remo.html?entrypoint=bar">
1867                                                    <img 
1867class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/3._M_quinas_de_Remo_.jpg" src="/pub/images/default_120.png">Máquinas de Remo                                                    </a>
1868                                                </li>
1869                                                                                            <li>
1870                                                    <a href="https://www.costway.es/deportes-y-aire-libre/entrenadores-de-bicicletas.html?entrypoint=bar">
1871                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/4._Entrenadores_de_Bicicletas_.jpg" src="/pub/images/default_120.png">Entrenadores de Bicicletas                                                    </a>
1872                                                </li>
1873                                                                                            <li>
1874                                                    <a href="https://www.costway.es/deportes-y-aire-libre/bicicletas-estaticas.html?entrypoint=bar">
1875                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/5._Bicicletas_Est_ticas_1_.jpg" src="/pub/images/default_120.png">Bicicletas Estáticas                                                    </a>
1876                                                </li>
1877                                                                                            <li>
1878                                                    <a href="https://www.costway.es/deportes-y-aire-libre/bicicletas-elipticas.html?entrypoint=bar">
1879                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/6._Bicicletas_El_pticas_.jpg" src="/pub/images/default_120.png">Bicicletas Elípticas                                                    </a>
1880                                                </li>
1881                                                                                        <li class="all"><a href="https://www.costway.es/deportes-y-aire-libre/entrenamiento-y-fitness.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1882                                        </ul>
1883                                                                            <ul class="">
1884                                            <li class="nav_title">
1885                                                <a href="https://www.costway.es/deportes-y-aire-libre/musculacion.html?entrypoint=bar">Musculación</a>
1886                                            </li>
1887                                                                                            <li>
1888                                                    <a href="https://www.costway.es/deportes-y-aire-libre/entrenamientos-de-fuerza.html?entrypoint=bar">
1889                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Entrenamientos_de_Fuerza_1_.jpg" src="/pub/images/default_120.png">Entrenamientos de Fuerza                                                    </a>
1890                                                </li>
1891                                                                                            <li>
1892                                                    <a href="https://www.costway.es/deportes-y-aire-libre/pesas-y-mancuernas.html?entrypoint=bar">
1893                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Pesas_y_Mancuernas_1_.jpg" src="/pub/images/default_120.png">Pesas y Mancuernas                                                    </a>
1894                                                </li>
1895                                                                                            <li>
1896                                                    <a href="https://www.costway.es/juegos-y-juguetes/juguetes-de-deporte.html?entrypoint=bar">
1897                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/Escalador.jpg" src="/pub/images/default_120.png">Boxeo                                                    </a>
1898                                                </li>
1899                                                                                        <li class="all"><a href="https://www.costway.es/deportes-y-aire-libre/musculacion.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1900                                        </ul>
1901                                                                            <ul class="">
1902                                            <li class="nav_title">
1903                                                <a href="https://www.costway.es/deportes-y-aire-libre/gimnasia.html?entrypoint=bar">Gimnasia y Yoga</a>
1904                                            </li>
1905                                                                                            <li>
1906                                                    <a href="https://www.costway.es/deportes-y-aire-libre/colchonetas-para-gimnasia.html?entrypoint=bar">
1907                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Colchonetas_para_G
1907imnasia_1_.jpg" src="/pub/images/default_120.png">Colchonetas para Gimnasia                                                    </a>
1908                                                </li>
1909                                                                                            <li>
1910                                                    <a href="https://www.costway.es/deportes-y-aire-libre/yoga-y-danza.html?entrypoint=bar">
1911                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Accesorios_para_Yoga_y_Danza_1_.jpg" src="/pub/images/default_120.png">Accesorios para Yoga y Danza                                                    </a>
1912                                                </li>
1913                                                                                            <li>
1914                                                    <a href="https://www.costway.es/deportes-y-aire-libre/barras-de-gimnasia-y-equilibrio.html?entrypoint=bar">
1915                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/3._Barras_de_Gimnasia_y_Equilibrio_1_.jpg" src="/pub/images/default_120.png">Barras de Gimnasia y Equilibrio                                                    </a>
1916                                                </li>
1917                                                                                        <li class="all"><a href="https://www.costway.es/deportes-y-aire-libre/gimnasia.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1918                                        </ul>
1919                                                                            <ul class="">
1920                                            <li class="nav_title">
1921                                                <a href="https://www.costway.es/deportes-y-aire-libre/entretenimiento-acuatico.html?entrypoint=bar">Deportes Acuáticos</a>
1922                                            </li>
1923                                                                                            <li>
1924                                                    <a href="https://www.costway.es/deportes-y-aire-libre/tablas-de-surf-y-accesorios.html?entrypoint=bar">
1925                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/file.jpg" src="/pub/images/default_120.png">Surf                                                    </a>
1926                                                </li>
1927                                                                                            <li>
1928                                                    <a href="https://www.costway.es/terraza-y-jardin/piscinas.html?entrypoint=bar">
1929                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Piscina_.jpg" src="/pub/images/default_120.png">Piscina                                                    </a>
1930                                                </li>
1931                                                                                            <li>
1932                                                    <a href="https://www.costway.es/deportes-y-aire-libre/camas-inflables-de-agua.html?entrypoint=bar">
1933                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/3._Otras_Actividades_3_.jpg" src="/pub/images/default_120.png">Otras Actividades                                                    </a>
1934                                                </li>
1935                                                                                        <li class="all"><a href="https://www.costway.es/deportes-y-aire-libre/entretenimiento-acuatico.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1936                                        </ul>
1937                                                                            <ul class="">
1938                                            <li class="nav_title">
1939                                                <a href="https://www.costway.es/deportes-y-aire-libre/acampada-y-senderismo.html?entrypoint=bar">Camping</a>
1940                                            </li>
1941                                                                                            <li>
1942                                                    <a href="https://www.costway.es/deportes-y-aire-libre/mesas-y-sillas-de-camping.html?entrypoint=bar">
1943                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Mobiliario_de_Camping_2_.jpg" src="/pub/images/default_120.png">Mobiliario de Camping                                                    </a>
1944                                                </li>
1945                                                                                            <li>
1946                                                    <a href="https://www.costway.es/deportes-y-aire-libre/carpas-para-camping.html?entrypoint=bar">
1947                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Carpas_para_Camping_2_.jpg" src="/pub/images/default_120.png">Carpas para Camping                                                    </a>
1948                                                </li>
1949                                                                                            <li>
1950                                                    <a href="https://www.costway.es/deportes-y-aire-libre/colchones-y-sacos-de-dormir.html?entrypoint=bar">
1951                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/3._Colchones_y_Sacos_de_Dormir_1_.jpg" src="/pub/images/default_120.png">Colchones y Sacos de Dormir                                                    </a>
1952                                                </li>
1953                                                                                            <li>
1954                                                    <a href="https://www.costway.es/deportes-y-aire-libre/servicios-y-duchas-portatiles.html?entrypoint=bar">
1955                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/4._Servicios_y_Duchas_Port_tiles_1_.jpg" src="/pub/images/default_120.png">Servicios y Duchas Portátiles                                                    </a>
1956                                                </li>
1957                                                                                            <li>
1958                                                    <a href="https://www.costway.es/deportes-y-aire-libre/hielera.html?entrypoint=bar">
1959                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/5._Hielera_2_.jpg" src="/pub/images/default_120.png">Hielera                                                    </a>
1960                                                </li>
1961                                                                                        <li class="all"><a href="https://www.costway.es/deportes-y-aire-libre/acampada-y-senderismo.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1962                                        </ul>
1963                                                                        <!--上面的循环存在空分类才做下面操作-->
1964                                                                            <ul class="nav-title-group">
1965                                                                                                                                                                                                                                                                                                                                                                                                                                            <li class="nav_title"><a href="https://www.costway.es/deportes-y-aire-libre/golf.html?entrypoint=bar">Golf</a></li>
1966                                            <li class="all"><a href="https://www.costway.es/deportes-y-aire-libre/golf.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1967
1968                                                                                                                                                                    <li class="nav_title"><a href="https://www.costway.es/deportes-y-aire-libre/equipamientos-deportivos.html?entrypoint=bar">Deportes al Aire Libre</a></li>
1969                                            <li class="all"><a href="https://www.costway.es/deportes-y-aire-libre/equipamientos-deportivos.html?entrypoint=bar"><span>Ver Todo</span></a></li>
1970
1971                                                                                                                                                                                                    </ul>
1972                                                                                                                                                <!-- 如果不够4的倍数 需要补齐-->
1973                                    <ul class='empty'></ul><ul class='empty'></ul>                                </div>
1974                                <div class="second_nav_pic">
1975                                                                            <a href="/deportes-y-aire-libre/maquinas-de-fitness.html?entrypoint=bar ">
1976                                            <img class="menu-ad-lazy" data-original="https://www.costway.es/media/zetman/category/Deportes_y_Aire_Libre.jpg" alt="" />
1977                                        </a>
1978                                                                                                                <a href="/deportes-y-aire-libre/deportes-acuaticos.html?entrypoint=bar ">
1979                                            <img class="menu-ad-lazy" data-original="https://www.costway.es/media/zetman/category/Deportes_y_Aire_Libre_06161.png" alt="" />
1980                                        </a>
1981                                                                    </div>
1982                            </div>
1983                        </div>
1984
1985                    </li>
1986                                                                <li>
1987                        <a class="top-nav" href="https://www.costway.es/mascotas.html?entrypoint=bar">Mascotas</a>
1988                        <div class="second_nav nav_2">
1989                            <div class="second_nav_cont ">
1990                                <div class="second_nav_list sub_nav_1">
1991                                                                            <ul class="">
1992                                            <li class="nav_title">
1993                                                <a href="https://www.costway.es/mascotas/perros/casetas-y-vallas-para-perros.html?entrypoint=bar">Perros</a>
1994                                            </li>
1995                                                                                            <li>
1996                                                    <a href="https://www.costway.es/mascotas/vallas-para-perros.html?entrypoint=bar">
1997                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Vallas_para_Perros_1_.jpg" src="/pub/images/default_120.png">Vallas para Perros                                                    </a>
1998                                                </li>
1999                                                                                            <li>
2000                                                    <a href="https://www.costway.es/mascotas/piscina-para-perros.html?entrypoint=bar">
2001                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Accesorios_para_Perros_3_.jpg" src="/pub/images/default_120.png">Accesorios para Perros                                                    </a>
2002                                                </li>
2003                                                                                        <li class="all"><a href="https://www.costway.es/mascotas/perros/casetas-y-vallas-para-perros.html?entrypoint=bar"><span>Ver Todo</span></a></li>
2004                                        </ul>
2005                                                                            <ul class="">
2006                                            <li class="nav_title">
2007                                                <a href="https://www.costway.es/mascotas/gatos.html?entrypoint=bar">Gatos</a>
2008                                            </li>
2009                                                                                            <li>
2010                                                    <a href="https://www.costway.es/mascotas/arboles-de-gatos.html?entrypoint=bar">
2011                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._rboles_de_Gatos_1_.jpg" src="/pub/images/default_120.png">Árboles de Gatos                                                    </a>
2012                                                </li>
2013                                                                                            <li>
2014                                                    <a href="https://www.costway.es/mascotas/accesorios-para-gatos.html?entrypoint=bar">
2015                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Casetas_para_Gatos_1_.jpg" src="/pub/images/default_120.png">Casetas para Gatos                                                    </a>
2016                                                </li>
2017                                                                                        <li class="all"><a href="https://www.costway.es/mascotas/gatos.html?entrypoint=bar"><span>Ver Todo</span></a></li>
2018                                        </ul>
2019                                                                        <!--上面的循环存在空分类才做下面操作-->
2020                                                                            <ul class="nav-title-group">
2021                                                                                                                                                                                                                                                                                    <li class="nav_title"><a href="https://www.costway.es/mascotas/pajaros.html?entrypoint=bar">Otros Animales</a></li>
2022                                            <li class="all"><a href="https://www.costway.es/mascotas/pajaros.html?entrypoint=bar"><span>Ver Todo</span></a></li>
2023
2024                                                                                                                        </ul>
2025                                                                                                                                                <!-- 如果不够4的倍数 需要补齐-->
2026                                    <ul class='empty'></ul>                                </div>
2027                                <div class="second_nav_pic">
2028                                                                            <a href="/mascotas/gatos.html?entrypoint=bar ">
2029                                            <img class="menu-ad-lazy" data-original="https://www.costway.es/media/zetman/category/Mascotas_06161.png" alt="" />
2030                                        </a>
2031                                                                                                        </div>
2032                            </div>
2033                        </div>
2034
2035                    </li>
2036             
2036                                                   <li>
2037                        <a class="top-nav" href="https://www.costway.es/salud-y-belleza.html?entrypoint=bar">Salud y Belleza</a>
2038                        <div class="second_nav nav_2">
2039                            <div class="second_nav_cont ">
2040                                <div class="second_nav_list sub_nav_1">
2041                                                                            <ul class="">
2042                                            <li class="nav_title">
2043                                                <a href="https://www.costway.es/salud-y-belleza/masaje-y-relajacion.html?entrypoint=bar">Masaje y Relajación</a>
2044                                            </li>
2045                                                                                            <li>
2046                                                    <a href="https://www.costway.es/salud-y-belleza/suministros-de-masaje.html?entrypoint=bar">
2047                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Masajeadores_1_.jpg" src="/pub/images/default_120.png">Masajeadores                                                    </a>
2048                                                </li>
2049                                                                                            <li>
2050                                                    <a href="https://www.costway.es/salud-y-belleza/piscinas-de-masaje.html?entrypoint=bar">
2051                                                    <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Piscinas_de_Masaje_2_.jpg" src="/pub/images/default_120.png">Piscinas de Masaje                                                    </a>
2052                                                </li>
2053                                                                                        <li class="all"><a href="https://www.costway.es/salud-y-belleza/masaje-y-relajacion.html?entrypoint=bar"><span>Ver Todo</span></a></li>
2054                                        </ul>
2055                                                                        <!--上面的循环存在空分类才做下面操作-->
2056                                                                            <ul class="nav-title-group">
2057                                                                                                                                                                                                        <li class="nav_title"><a href="https://www.costway.es/salud-y-belleza/cuidado-de-cabello.html?entrypoint=bar">Belleza</a></li>
2058                                            <li class="all"><a href="https://www.costway.es/salud-y-belleza/cuidado-de-cabello.html?entrypoint=bar"><span>Ver Todo</span></a></li>
2059
2060                                                                                                                                                                    <li class="nav_title"><a href="https://www.costway.es/salud-y-belleza/sillas-ruedas.html?entrypoint=bar">Salud</a></li>
2061                                            <li class="all"><a href="https://www.costway.es/salud-y-belleza/sillas-ruedas.html?entrypoint=bar"><span>Ver Todo</span></a></li>
2062
2063                                                                                                                                                                                                                                                                                                                                                            </ul>
2064                                                                                                                                                            <ul class="custom-category-ul">
2065                                                    <li class="nav_title">
2066                                                        <a href="https://www.costway.es/salud-y-belleza/espejos-y-estuches-cosmeticos.html?entrypoint=bar">Espejos</a>
2067                                                    </li>
2068                                                                                                            <li>
2069                                                            <a href="https://www.costway.es/decoracion/espejos-de-pared.html?entrypoint=bar">
2070                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/1._Espejos_de_Pared_.jpg" src="/pub/images/default_120.png">Espejos de Pared                                                            </a>
2071                                                        </li>
2072                                                                                                            <li>
2073                                                            <a href="https://www.costway.es/decoracion/espejos-de-pie.html?entrypoint=bar">
2074                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/2._Espejos_de_Pie_.jpg" src="/pub/images/default_120.png">Espejos de Pie                                                            </a>
2075                                                        </li>
2076                                                                                                            <li>
2077                                                            <a href="https://www.costway.es/decoracion/espejos-de-mesa.html?entrypoint=bar">
2078                                                                <img class="menu-lazy" alt="costway icon" data-original="https://www.costway.es/media/zetman/category/3._Espejos_de_Mesa_.jpg" src="/pub/images/default_120.png">Espejos de Mesa                                                            </a>
2079                                                        </li>
2080                                                                                                        <li class="all"><a href="https://www.costway.es/salud-y-belleza/espejos-y-estuches-cosmeticos.html?entrypoint=bar"><span>Ver Todo</span></a></li>
2081                                                </ul>
2082                                                                                                                                                        <ul class="nav-title-group">
2083                                                                                    <li class="nav_title"><a href="https://www.costway.es/hogar/armarios-joyeros.html?entrypoint=bar">Armarios Joyeros</a></li>
2084                                            <li class="all"><a href="https://www.costway.es/hogar/armarios-joyeros.html?entrypoint=bar"><span>Ver Todo</span></a></li>
2085                                                                                                                                <li class="nav_title"><a href="https://www.costway.es/electrodomesticos/purificadores.html?entrypoint=bar">Purificadores</a></li>
2086                                            <li class="all"><a href="https://www.costway.es/electrodomesticos/purificadores.html?entrypoint=bar"><span>Ver Todo</span></a></li>
2087                                                                                                                            </ul>
2088                                                                        <!-- 如果不够4的倍数 需要补齐-->
2089                                                                    </div>
2090                                <div class="second_nav_pic">
2091                                                                            <a href="/salud-y-belleza/salud.html?entrypoint=bar ">
2092                                            <img class="menu-ad-lazy" data-original="https://www.costway.es/media/zetman/category/Salud_y_Belleza_06161.png" alt="" />
2093                                        </a>
2094                                                                                                        </div>
2095                            </div>
2096                        </div>
2097
2098                    </li>
2099                                        <!--兼容后台自定义配置menu功能-->
2100                    </ul>
2101    </div>
2102</div>
2103
2104
2105<div class="nav-box" id="nav-box"><i id="close-nav" class="close-nav"></i>
2106            <div>
2107            <div class="sign">
2108                <p><a href="/customer/account/create?entrypoint=accountmenu">Iniciar Sesión/Registrarse</a></p>
2109            </div>
2110            
2111        </div>
2112            
2113    <div class="menu-title">
2114        Mi Cuenta    </div>
2115    <ul class="my-account-nav">   
2116        <li class="">
2117            <a href="/customer/account?entrypoint=accountmenu">
2118                <img class="lazy" data-original="/pub/images/user-nav/nav-icon-1.png" alt="Información de la Cuenta">
2119                Información de la Cuenta                <span></span>
2120            </a>
2121        </li>
2122        <li class="">
2123            <a href="/wishlist?entrypoint=accountmenu">
2124                <img  class="lazy" data-original="/pub/images/user-nav/nav-icon-2.png" alt="Mi Lista de Deseos">
2125                Mi Lista de Deseos                <span>0</span></a>
2126        </li>
2127        <li class="">
2128            <a href="/aw_rewardpoints/info/coupon?entrypoint=accountmenu">
2129                <img  class="lazy" data-original="/pub/images/user-nav/nav-icon-3.png" alt="Mis Cupones">
2130               Mis Cupones                <span>0</span></a>
2131        </li>
2132
2133        <li class="">
2134            <a id="facebook_community" href="https://www.facebook.com/groups/562406897601041?entrypoint=accountmenu">
2135                <img  class="lazy" data-original="/pub/images/user-nav/nav-icon-4.png" alt="Grupo de Facebook">
2136               Grupo de Facebook            </a>
2137        </li>
2138      
2139        <li>
2140            <a href="/sales/order/history?entrypoint=accountmenu">
2141                <img class="lazy" data-original="/pub/images/user-nav/nav-icon-5.png" alt="Mis Pedidos">    
2142                Mis Pedidos                <span></span>
2143            </a>
2144        </li>
2145    
2146        <li >
2147            <a href="/review/customer?entrypoint=accountmenu">
2148                <img class="lazy" data-original="/pub/images/user-nav/nav-icon-6.png" alt="Mis Reseñas">
2149                Mis Reseñas                <span></span></a>
2150        </li>     
2151        <li>
2152            <a href="/contact-us?entrypoint=accountmenu">
2153                <img class="lazy" data-original="/pub/images/user-nav/nav-icon-7.png" alt="Contáctenos">
2154                Contáctenos                <span></span></a>
2155        </li>      
2156    </ul>
2157    <a href="/myrewardszone?entrypoint=accountmenu">
2158        <div class="menu-title border my-benefits-title">
2159            Mis Beneficios        </div>
2160    </a>
2161    <ul class="my-benefits-nav">
2162        <li class="item milestone-badge"><a target="_blank" href="/milestone-badge?entrypoint=accountmenu"><span>Insignia Mensual</span></a></li>
2163        <li class="item loyalty-cashback"><a target="_blank" href="/loyalty-cashback?entrypoint=accountmenu"><span>Programa de Fidelización</span></a></li>
2164        <li class="item free-trial"><a target="_blank" href="/freetrials?entrypoint=accountmenu"><span>Prueba Gratis</span></a></li>
2165        <li class="item reward-points"><a href="/aw_rewardpoints/info?entrypoint=accountmenu">Puntos de Recompensa</a></li>
2166    </ul>
2167    
2168    </div>
2169
2170<!-- 兼容后台自定义配置Sale活动链接功能 -->
2171<div class="sales-content">
2172    <ul class="sales-items">
2173                                    <li>
2174                    <a href="https://www.costway.es/ofertas-flash?entrypoint=sidebar">
2175                        <img class="menu-lazy" data-original="https://www.costway.es/media/advertising/e/s/es-1_1.png" alt ="Venta Flash" />
2176                    </a>
2177                </li>
2178                            <li>
2179                    <a href="https://www.costway.es/oferta-flash?entrypoint=sidebar">
2180                        <img class="menu-lazy" data-original="https://www.costway.es/media/advertising/e/s/es-5.png" alt ="Extra -12%" />
2181                    </a>
2182                </li>
2183                            <li>
2184                    <a href="https://www.costway.es/populares?entrypoint=sidebar">
2185                        <img class="menu-lazy" data-original="https://www.costway.es/media/advertising/e/s/es-3_4.png" alt ="Más Vendidos" />
2186                    </a>
2187                </li>
2188                            <li>
2189                    <a href="https://www.costway.es/liquidacion?entrypoint=sidebar">
2190                        <img class="menu-lazy" data-original="https://www.costway.es/media/advertising/e/s/es-2_2.png" alt ="Liquidación" />
2191                    </a>
2192                </li>
2193                        </ul>
2194</div>    </div>
2195    </header>
2196
2197
2198
2199<!-- 隐私弹窗按钮埋点 -->
2200
2201
2202
2203
2204
2205
2206<main id="maincontent" class="page-main"><a id="contentarea" tabindex="-1"></a>
2207<div class="page-title-wrapper">
2208    <div class="page-title-con">
2209        <h1 class="page-title"
2210                        >
2211                            Inicio de Sesión del Cliente                    </h1>
2212    </div>
2213    </div>
2214
2215<div class="page messages"><div data-placeholder="messages"></div>
2216<div data-bind="scope: 'messages'">
2217    <!-- ko if: cookieMessages && cookieMessages.length > 0 -->
2218    <div aria-atomic="true" role="alert" data-bind="foreach: { data: cookieMessages, as: 'message' }" class="messages">
2219        <div data-bind="attr: {
2220            class: 'message-' + message.type + ' ' + message.type + ' message',
2221            'data-ui-id': 'message-' + message.type
2222        }">
2223            <div data-bind="html: $parent.prepareMessageForHtml(message.text)"></div>
2224        </div>
2225    </div>
2226    <!-- /ko -->
2227
2228    <!-- ko if: messages().messages && messages().messages.length > 0 -->
2229    <div aria-atomic="true" role="alert" class="messages" data-bind="foreach: {
2230        data: messages().messages, as: 'message'
2231    }">
2232        <div data-bind="attr: {
2233            class: 'message-' + message.type + ' ' + message.type + ' message',
2234            'data-ui-id': 'message-' + message.type
2235        }">
2236            <div data-bind="html: $parent.prepareMessageForHtml(message.text)"></div>
2237        </div>
2238    </div>
2239    <!-- /ko -->
2240</div>
2241
2242<style>
2243    .message.error,.message.error > *:first-child:before{
2244        color: #E64D43 !important;
2245    }
2246    .message_a{
2247        color: #E64D43 !important;
2248    }
2249</style>
2250
2251</div><div class="columns"><div class="column main"><style>
2252    .home-row .main-slide .swiper-slide a {
2253        display: block;
2254        line-height: 0;
2255    }
2256
2257    .home-row .main-slide img,
2258    .home-row .main-slide .banner-video {
2259        width: 100%;
2260        height: auto;
2261        display: block;
2262        object-fit: cover;
2263        border-radius: 8px;
2264    }
2265
2266    .home-row .main-slide.pc img,
2267    .home-row .main-slide.pc .banner-video {
2268        aspect-ratio: 865 / 536;
2269    }
2270
2271    .home-row .main-slide.mb img,
2272    .home-row .main-slide.mb .banner-video {
2273        aspect-ratio: 865 / 536;
2274    }
2275</style>
2276<input name="form_key" type="hidden" value="9XshTTZIGWksik2M" /><div id="authenticationPopup" data-bind="scope:'authenticationPopup', style: {display: 'none'}">
2277            <!-- ko template: getTemplate() --><!-- /ko -->
2278    
2279</div>
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289<div data-mage-init='{"feedReport":[]}'></div>
2290<style type="text/css">
2291    .request-popup{
2292        overflow-y: unset;
2293        max-width: 800px;
2294        left: 30%;
2295    }
2296    .request-popup .modal-header{
2297        padding: 0;
2298    }
2299    .request-popup .modal-header button.action-close{
2300        color: white;
2301        z-index: 100;
2302    }
2303    .request-popup .modal-content{
2304        padding: 0;
2305    }
2306</style>
2307<div class="login-container"><style>
2308    /*************************login*************************************/
2309    .aw_reward_points__information-bar{
2310        display: none;
2311    }
2312    #top2_ml {
2313        width: auto;
2314        height: auto;
2315        margin: 0 auto;
2316        background: url(../images/topbar.png) repeat-x;
2317        border-bottom: 2px solid #E64D43;
2318        overflow: hidden;
2319        box-shadow: 0 1px 10px 0 #000;
2320        -webkit-box-shadow: 0 1px 10px 0 #000;
2321    }
2322
2323    .web2_mian {
2324        width: 1000px;
2325        height: auto;
2326        margin: 0 auto;
2327        overflow: hidden;
2328    }
2329
2330    .back_home {
2331        float: right;
2332        display: inline;
2333        margin: 35px 0;
2334    }
2335
2336    .back {
2337        width: auto;
2338        height: 20px;
2339        background: url(../images/back_bg.png) no-repeat 10px 2px;
2340        border: none;
2341        cursor: pointer;
2342        float: left;
2343        display: inline;
2344        overflow: hidden;
2345        font-size: 14px;
2346        color: #fff;
2347        padding-left: 30px;
2348        outline: none;
2349        font-family: GothamRounded;
2350        font-weight: 600;
2351        transition: background 0.4s;
2352        -moz-transition: background 0.4s; /* Firefox 4 */
2353        -webkit-transition: background 0.4s; /* Safari and Chrome */
2354        -o-transition: background 0.4s; /* Opera */
2355    }
2356
2357    .back:hover {
2358        background: url(../images/back_bg.png) no-repeat 10px -30px;
2359        color: #E64D43;
2360    }
2361
2362    .login_mian {
2363        width: 1280px;
2364        height: auto !important;
2365        height: 700px;
2366        margin: 0 auto;
2367    }
2368
2369    .pc-login .login {
2370        width: 1200px;
2371        margin: 30px auto;
2372        box-shadow: 0 0 7px 0 #eee;
2373        -webkit-box-shadow: 0 0 7px 0 #eee;
2374        border-radius: 3px;
2375        overflow: hidden;
2376        position: relative;
2377        display: flex;
2378        height: 580px;
2379    }
2380    .pc-login .login .login-l{
2381        width: 50%;height:730px;display:inline-block;box-sizing: border-box;background:#ffffff;padding: 100px;
2382    }
2383    .pc-login .login .login-r{
2384        width:50%;height:100%;box-sizing: border-box;display:inline-block;padding: 100px 100px 0px 100px;
2385    }
2386    .pc-login .login h2 {
2387        width: 100%;
2388        text-align: left;
2389        font-size: 30px;
2390        color: #131313;
2391        font-weight:bold;
2392        margin-bottom: 30px;
2393    }
2394
2395    .pc-login .right_part h3{
2396        width: 100%;
2397        font-size: 30px;
2398        font-weight: bold;
2399        text-align: center;
2400    }
2401    .pc-login .right_part p{
2402        font-size:14px;
2403        text-align: center;
2404        margin:15px 0 30px 0;
2405    }
2406
2407    .pc-login .right_part a{
2408        width: 100%;
2409        display: inline-block;
2410        height: 40px;
2411        text-align: center;
2412        line-height: 40px;
2413        background: #333333;
2414        border: none;
2415        cursor: pointer;
2416        -webkit-border-radius: 3px;
2417        -moz-border-radius: 3px;
2418        border-radius: 3px;
2419        font-size: 17px;
2420        color: #fff;
2421        margin-top: 20px;
2422        outline: none;
2423        transition: background 0.2s;
2424        -moz-transition: background 0.2s;
2425        -webkit-transition: background 0.2s;
2426        -o-transition: background 0.2s;
2427    }
2428    .pc-login .right_part a:hover{
2429        color: #fff!important;
2430    }
2431
2432    .pc-login .login h2 strong {
2433        color: #E64D43;
2434    }
2435
2436    .pc-login .login ul {
2437        width:100%;
2438        margin:0 auto;
2439        padding-left: 0;
2440    }
2441
2442    .pc-login .login ul li {
2443        padding-bottom: 10px;
2444        line-height: 40px;
2445        height: auto;
2446        overflow: hidden;
2447        display: block;
2448        color: #666;
2449        width: 100%;
2450    }
2451
2452    .pc-login .login ul li p {
2453        font-size: 14px;
2454        font-weight: 700;
2455        display: block;
2456        height: 40px;
2457    }
2458
2459    .pc-login .login ul li p input {
2460        width: 278px;
2461        height: 30px;
2462        line-height: 30px;
2463        padding: 0 5px;
2464        background: url(../images/search_bg.jpg) repeat-x;
2465        background-position: -1px -1px;
2466        border: 1px solid #ccc;
2467        -webkit-border-radius: 3px 3px 3px 3px;
2468        outline: #E64D43;
2469    }
2470
2471    .pc-login .login ul li p input:focus {
2472        border: 1px solid #E64D43;
2473    }
2474
2475    .pc-login .login ul li p span {
2476        float: left;
2477        display: block;
2478    }
2479
2480    .pc-login .login ul li p a {
2481        float: right;
2482        display: block;
2483        color: #333;
2484        text-decoration: underline;
2485    }
2486
2487    .pc-login .login ul li p a:hover {
2488        text-decoration: underline;
2489    }
2490
2491    .pc-login .login .sign_in {
2492        width: 100%;
2493        height: 40px;
2494        background: #FDAC0E;
2495        border: none;
2496        cursor: pointer;
2497        -webkit-border-radius: 3px;
2498        -moz-border-radius: 3px;
2499        border-radius: 3px;
2500        font-size: 17px;
2501        line-height: 32px;
2502        color: #fff;
2503        margin-top: 40px;
2504        outline: none;
2505        transition: background 0.2s;
2506        -moz-transition: background 0.2s; /* Firefox 4 */
2507        -webkit-transition: background 0.2s; /* Safari and Chrome */
2508        -o-transition: background 0.2s; /* Opera */
2509    }
2510
2511
2512    #wbe_bom {
2513        width: auto;
2514        height: auto;
2515        margin: 0 auto;
2516        background-color: #fafafa;
2517        overflow: hidden;
2518        border-top: 1px solid #eee;
2519        box-shadow: 0 -1px 10px 0 #eee;
2520        -webkit-box-shadow: 0 -1px 10px 0 #eee;
2521        clear: both;
2522    }
2523
2524    .yejiao {
2525        width: 1000px;
2526        height: 140px;
2527        margin: 0 auto;
2528        text-align: center;
2529        line-height: 140px;
2530        color: #131313;
2531    }
2532
2533    /* 2015年7月7日补充 */
2534    #web_list .login ul li {
2535        padding-bottom: 10px;
2536        line-height: 40px;
2537        height: auto;
2538        overflow: hidden;
2539        display: block;
2540        color: #666;
2541    }
2542    .login ul li .input-box input{
2543        width: 100%;
2544        height: 42px;
2545        box-sizing: border-box;
2546        line-height: 30px;
2547        border: 1px solid #f4f4f4!important;
2548        background: #F4F4F4;
2549        -webkit-border-radius: 3px 3px 3px 3px;
2550        border-radius: 3px 3px 3px 3px;
2551        outline: #E64D43;
2552
2553    }
2554    #web_list .login ul li strong{
2555        display: none;
2556    }
2557    #web_list .login ul li p {
2558        font-size: 14px;
2559        font-weight: 700;
2560        display: block;
2561        height: 40px;
2562        width:380px;
2563        text-align: right;
2564    }
2565
2566    #web_list .login ul li .input-box input {
2567        width: 100%;
2568        height: 42px;
2569        box-sizing: border-box;
2570        line-height: 30px;
2571        border: 1px solid #f4f4f4!important;
2572        background: #F4F4F4;
2573        -webkit-border-radius: 3px 3px 3px 3px;
2574        border-radius: 3px 3px 3px 3px;
2575        outline: #E64D43;
2576    }
2577
2578    #web_list .login ul li .input-box .validation-advice {
2579        background: rgba(0, 0, 0, 0) url("../images/validation_advice_bg.gif") no-repeat scroll 2px 0;
2580        clear: both;
2581        color: #eb340a;
2582        font-size: 11px;
2583        font-weight: bold;
2584        line-height: 13px;
2585        margin: 3px 0 0;
2586        min-height: 13px;
2587        padding-left: 17px;
2588    }
2589
2590    #web_list .login ul li .input-box .validation-failed {
2591        border-color: #eb340a;
2592    }
2593
2594    /* 登录密码错误样式 */
2595    #checkuser .messages {
2596        height: auto;
2597        padding: 0;
2598        width: 100%;
2599    }
2600
2601    #checkuser .error-msg {
2602        background-color: #faebe7;
2603        border-color: #f16048;
2604        border-style: solid !important;
2605        border-width: 1px !important;
2606        color: #df280a;
2607        font-size: 11px !important;
2608        font-weight: bold !important;
2609        min-height: 24px !important;
2610        padding: 8px 8px 8px 32px !important;
2611    }
2612
2613    #checkuser .error-msg ul {
2614        padding: 0;
2615    }
2616
2617    #checkuser .error-msg ul li {
2618        padding: 0;
2619        font-size: 14px;
2620    }
2621    .main{
2622        background:#F4F4F4;
2623    }
2624    #web_list{
2625        background:transparent;
2626    }
2627    .footer_main_top{
2628        padding-top:0;
2629    }
2630    .login .login-r{
2631        position: relative;
2632        background: url(../../../../../../../pub/images/home/login-bg.jpg) no-repeat;
2633        background-size:100% 100%;
2634    }
2635    .login .r-web{
2636        color: #fff;
2637        font-size: 13px;
2638        position: absolute;
2639        bottom: 30px;
2640        left: 50%;
2641        transform: translateX(-50%);
2642    }
2643    .pslogin-block .pslogin-buttons ul li span{
2644        border-radius: 50%;
2645    }
2646    .siteselect-wrapper1{
2647        display: none!important;
2648    }
2649    .page-title-wrapper{
2650        display: none;
2651    }
2652    .page-main{
2653        padding: 0;
2654    }
2655    .block-new-customer,.block-customer-login{
2656        display: none;
2657    }
2658    .page-layout-1column .columns .column.main{
2659        float: left;
2660        width: 100%;
2661        border-radius: 5px;
2662        overflow: hidden;
2663        clear: both;
2664        padding: 0;
2665        margin-bottom: 30px;
2666    }
2667    .mobileShow{
2668        display:none;
2669    }
2670    .pcShow{
2671        display: block;
2672    }
2673
2674    /* remember me */
2675
2676    .pc-login .login ul li.remember-me-box,.pc-login .login ul li.forgotpassword{
2677        line-height: 1 !important;
2678        padding-bottom:0 !important;
2679        margin-bottom:20px;
2680        overflow: initial;
2681    }
2682    .pc-login .login ul li.forgotpassword a{
2683        float: right;
2684        display: block;
2685        color: #333;
2686        text-decoration: underline;
2687         font-size: 14px;
2688        font-weight: 700;
2689    }
2690
2691    .pc-login .login ul li.forgotpassword a:hover {
2692        text-decoration: underline;
2693    }
2694
2695    .pc-login .login ul li.remember
2695-me-box .remember-me-box-icon-box{
2696        vertical-align: middle;
2697    }
2698
2699    @media (max-width:1200px) {
2700        .page-header,.footer-top{
2701            display: none;
2702        }
2703        #maincontent {
2704            margin-top: 0px!important;
2705        }
2706        .mb-login{
2707            position: relative;
2708        }
2709        .customer-header .back-up{
2710            height: 2.8rem;
2711            width: 2.8rem;
2712            background: rgba(51,51,51,.36);
2713            position: absolute;
2714            left: 2rem;
2715            top: 2rem;
2716            z-index: 0;
2717            border-radius: 50%;
2718            line-height: 2.8rem;
2719            text-align: center;
2720        }
2721        .customer-container{
2722            position: relative;
2723            width: 100%;
2724            background: #fff;
2725            border-top-left-radius: 3rem;
2726            border-top-right-radius: 3rem;
2727            margin-top: -3rem;
2728            z-index: 2;
2729            padding:4rem;
2730            box-sizing: border-box;
2731        }
2732        .customer-container .login-index .head{
2733            margin-bottom: 4rem;
2734            border-bottom: 1px solid #ccc;
2735        }
2736        .customer-container .login-btn,.customer-container .res-btn{
2737            width: 49%;
2738            padding: 10px 0px;
2739            box-sizing: border-box;
2740            text-align: center;
2741            color: #333;
2742            display: inline-block;
2743        }
2744        .customer-container .current{
2745            color: #FDAC0E;
2746            border-bottom: 1px solid #FDAC0E;
2747        }
2748        .customer-container .login-index form input{
2749            border: none;
2750            background: #F4F4F4;;
2751            border-radius: 4px;
2752        }
2753        .customer-container .login-index form .email{
2754            margin-bottom: 20px;
2755        }
2756        .customer-container .login-index form .forgetyourpass{
2757            text-align: right;
2758            margin-top: 10px;
2759            text-decoration: underline;
2760        }
2761        .customer-container .login-index form .sign_in{
2762            height: 3.2rem;
2763            width: 100%;
2764            line-height: 3.2rem;
2765            margin-top: 3rem;
2766            text-align: center;
2767            color: #fff;
2768            background: #FDAC0E;
2769            border-radius: 30px;
2770        }
2771        .pcShow{
2772            display:none;
2773        }
2774        .mobileShow{
2775            display: block;
2776        }
2777
2778        .customer-container .login-index form .remember-me-box{
2779            margin-top:20px;
2780        }
2781    }
2782</style>
2783<!--改版pc-->
2784<div class="login_mian pc-login pcShow">
2785    <form class="form form-login"
2786          action="https://www.costway.es/customer/account/loginPost/"
2787          method="post"
2788          id="login-form"
2789          data-mage-init='{"validation":{}}'>
2790        <input name="form_key" type="hidden" value="9XshTTZIGWksik2M" />
2791        <div class="login">
2792            <div class="login-l">
2793                <h2>Accede a tu cuenta</h2>
2794                <ul>
2795                    <li>
2796                        <div class="input-box">
2797                            <input type="text" name="login[username]" value="" id="email" class="input-text required-entry validate-email" placeholder="Correo electrónico">
2798                        </div>
2799                    </li>
2800                    <li style="margin-top: 20px;">
2801                        <div class="input-box">
2802                            <input type="password" name="login[password]" id="pass" class="input-text required-entry" placeholder="Contraseña">
2803                        </div>
2804                    </li>
2805                    <li class="remember-me-box">
2806                            <input type="checkbox" name="remember_me" id="remember_me_pc" value="1" class="checkbox" />
2807                            <label for="remember_me_pc"><span>Recordarme(7 días)</span><span class="remember-me-icon-box"><svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2808<path d="M7 0.500366C10.5899 0.500366 13.5 3.41052 13.5 7.00037C13.5 10.5902 10.5899 13.5004 7 13.5004C3.41015 13.5004 0.5 10.5902 0.5 7.00037C0.5 3.41052 3.41015 0.500366 7 0.500366Z" stroke="#7A7A7A"/>
2809<path d="M7.70469 4.19695C7.70469 4.58355 7.39129 4.89695 7.00469 4.89695C6.61809 4.89695 6.30469 4.58355 6.30469 4.19695C6.30469 3.81035 6.61809 3.49695 7.00469 3.49695C7.39129 3.49695 7.70469 3.81035 7.70469 4.19695Z" fill="#7A7A7A"/>
2810<path d="M6.30469 6.34319C6.30469 5.95659 6.61809 5.64319 7.00469 5.64319C7.39129 5.64319 7.70469 5.95659 7.70469 6.34319V9.75569C7.70469 10.1423 7.39129 10.4557 7.00469 10.4557C6.
281061809 10.4557 6.30469 10.1423 6.30469 9.75569V6.34319Z" fill="#7A7A7A"/>
2811</svg>
2812</span></label>
2813                    </li>
2814                    <li class="forgotpassword">
2815                        <a href="/customer/account/forgotpassword/">¿Has olvidado tu contraseña?</a>
2816                    </li>
2817                    <li><input class="sign_in costway-btn" type="submit" name="send" id="send2" value="Entrar"></li>
2818                </ul>
2819            </div>
2820                        <div class="right_part login-r">
2821                <h3>¿Eres un cliente nuevo?</h3>
2822                <p>¡Únete a COSTWAY, es rápido y fácil!</p>
2823                <a href="/customer/account/create/">Crear una cuenta</a>
2824<!--                <p class="r-web">w w w . c o s t w a y . c o m</p>-->
2825            </div>
2826        </div>
2827    </form>
2828</div>
2829<!--改版pc-->
2830<!--改版mb-->
2831<div class="mb-login mobileShow">
2832    <div class="customer-header">
2833        <div>
2834            <img data-cfstyle="width: 100%" style="width: 100%" src="../../../../../../../pub/images/home/customer-layout-bk.png">
2835        </div>
2836        <div class="back-up">
2837            <a onclick="if (!window.__cfRLUnblockHandlers) return false; history.back(-1);" data-cf-modified-9506a0549efbd9a352f2d304-="">
2838                <svg width="12" height="17" viewBox="0 0 10 17" fill="none" xmlns="http://www.w3.org/2000/svg" style="vertical-align: text-top;margin-right: 5px;">
2839                    <path d="M9.53486 15.2378L2.82691 8.55101L9.53486 1.86361C9.61712 1.78161 9.68363 1.68292 9.73057 1.57317C9.77752 1.46342 9.80399 1.34476 9.80848 1.22396C9.81296 1.10316 9.79537 0.982582 9.75671 0.869123C9.71805 0.755665 9.65908 0.651543 9.58316 0.562698C9.50724 0.473856 9.41586 0.402031 9.31423 0.351328C9.21261 0.300625 9.10274 0.272036 8.99089 0.267191C8.87903 0.262348 8.76739 0.281345 8.66234 0.323099C8.55728 0.364853 8.46087 0.428545 8.37861 0.510538L0.992251 7.87417C0.905741 7.96037 0.836699 8.06498 0.789477 8.18141C0.742254 8.29785 0.717876 8.42359 0.717876 8.55071C0.717876 8.67782 0.742254 8.80356 0.789477 8.92C0.836699 9.03644 0.905741 9.14105 0.992251 9.22724L8.37861 16.5909C8.46087 16.6729 8.55728 16.7366 8.66234 16.7783C8.76739 16.8201 8.87903 16.8391 8.99088 16.8342C9.10274 16.8294 9.21261 16.8008 9.31423 16.7501C9.41585 16.6994 9.50723 16.6276 9.58315 16.5387C9.65907 16.4499 9.71805 16.3457 9.75671 16.2323C9.79537 16.1188 9.81296 15.9983 9.80848 15.8775C9.80399 15.7567 9.77752 15.638 9.73057 15.5282C9.68363 15.4185 9.61712 15.3198 9.53486 15.2378Z" fill="#fff"></path>
2840                </svg>
2841            </a>
2842        </div>
2843    </div>
2844    <div class="customer-container">
2845        <div class="login-index">
2846            <div class="content">
2847                <div class="head">
2848                    <a href="/customer/account/login"><span class="login-btn current">Iniciar sesión</span></a>
2849                    <a href="/customer/account/create"><span class="res-btn">Registrarse</span></a>
2850                </div>
2851                <form class="form form-login"
2852                      action="https://www.costway.es/customer/account/loginPost/"
2853                      method="post"
2854                      id="login-form"
2855                      data-mage-init='{"validation":{}}'>
2856                    <input name="form_key" type="hidden" value="9XshTTZIGWksik2M" />                    <div class="email">
2857                        <input type="email" name="login[username]" placeholder="Correo electrónico">
2858                    </div>
2859                    <div class="pass">
2860                        <input type="password" name="login[password]" id="pass" class="input-text required-entry" placeholder="Contraseña">
2861                    </div>
2862                    <div class="remember-me-box">
2863                        <input type="checkbox" name="remember_me" id="remember_me_mb" value="1" class="checkbox" />
2864                        <label for="remember_me_mb"><span>Recordarme(7 días)</span><span class="remember-me-icon-box">
2865                            <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2866<path d="M7 0.500366C10.5899 0.500366 13.5 3.41052 13.5 7.00037C13.5 10.5902 10.5899 13.5004 7 13.5004C3.41015 13.5004 0.5 10.5902 0.5 7.00037C0.5 3.41052 3.41015 0.500366 7 0.500366Z" stroke="#7A7A7A"/>
2867<path d="M7.70469 4.19695C7.70469 4.58355 7.39129 4.89695 7.00469 4.89695C6.61809 4.89695 6.30469 4.58355 6.30469 4.19695C6.30469 3.81035 6.61809 3.49695 7.00469 3.49695C7.39129 3.49695 7.70469 3.81035 7.70469 4.19695Z" fill="#7A7A7A"/>
2868<path d="M6.30469 6.34319C6.30469 5.95659 6.61809 5.64319 7.00469 5.64319C7.39129 5.64319 7.70469 5.95659 7.70469 6.34319V9.75569C7.70469 10.1423 7.39129 10.4557 7.00469 10.4557C6.
286861809 10.4557 6.30469 10.1423 6.30469 9.75569V6.34319Z" fill="#7A7A7A"/>
2869</svg>
2870</span></label></div>
2871                    <div class="forgetyourpass">
2872                        <a href="/customer/account/forgotpassword">¿Has olvidado tu contraseña?</a>
2873                    </div>
2874                    <div><input class="sign_in costway-btn" type="submit" name="send" id="send2" value="Entrar"></div>
2875                    
2876                </form>
2877                <div class="shadow"></div>
2878            </div>
2879        </div>
2880    </div>
2881</div>
2882<!--改版mb-->
2883
2884
2885    
2886<div class="block block-new-customer">
2887    <div class="block-title">
2888        <strong id="block-new-customer-heading" role="heading" aria-level="2">Nuevos Clientes</strong>
2889    </div>
2890    <div class="block-content" aria-labelledby="block-new-customer-heading">
2891        <p>Crear una cuenta tiene muchos beneficios: verificar más rápido, mantener más de una dirección, realizar un seguimiento de los pedidos y más.</p>
2892        <div class="actions-toolbar">
2893            <div class="primary">
2894                <a href="https://www.costway.es/customer/account/create/" class="action create primary"><span>Crear una Cuenta</span></a>
2895            </div>
2896        </div>
2897    </div>
2898</div>
2899</div>
2900
2901<style>
2902    .sidebar-popup-wrapper .cmpboxBG {
2903        background-color: rgba(0, 0, 0, .45);
2904        opacity: 0.5;
2905        position: fixed;
2906        left: 0;
2907        top: 0;
2908        width: 100%;
2909        height: 100%;
2910        z-index: 999;
2911        display: none;
2912    }
2913
2914    .sidebar-popup-wrapper ul {
2915        margin: 0;
2916        padding: 0;
2917    }
2918
2919    .sidebar-popup-wrapper .sidebar-popup-main {
2920        background-color: #FFFFFF;
2921        top: 0;
2922        right: -380px;
2923        position: fixed;
2924        z-index: 1000000001;
2925        height: 100%;
2926        width: 380px;
2927        /* overflow-x: scroll; */
2928    }
2929
2930    .sidebar-popup-wrapper .title {
2931        position: relative;
2932        text-align: center;
2933    }
2934
2935    .prodetail-coupons-wrapper .title .txt {
2936        border-bottom: 1px solid #f2f2f2;
2937        height: 68px;
2938        line-height: 68px;
2939        margin: 0;
2940        font-weight: 600;
2941    }
2942
2943    .sidebar-popup-wrapper .title .close {
2944        position: absolute;
2945        top: 15px;
2946        right: 15px;
2947        border: 0;
2948        width: 28px;
2949        height: 28px;
2950        text-indent: 0;
2951        overflow: hidden;
2952        background: none;
2953        padding: 0;
2954        line-height: 28px;
2955        color: #000;
2956    }
2957
2958    .sidebar-popup-wrapper .title .close:before {
2959        margin-left: -4px;
2960        -webkit-font-smoothing: antialiased;
2961        -moz-osx-font-smoothing: grayscale;
2962        font-size: 36px;
2963        color: inherit;
2964        content: '\e616';
2965        font-family: 'icons-blank-theme';
2966        font-weight: normal;
2967        overflow: hidden;
2968        speak: none;
2969    }
2970
2971    .attributes-popup-wraper .attributes-top {
2972        height: 60px;
2973        border-bottom: 1px solid #f4f4f4;
2974    }
2975
2976    .attributes-popup-wraper .product-info {
2977        display: flex;
2978        margin-left: 10px;
2979    }
2980
2981    .product-info-r {
2982        margin-left: 10px;
2983    }
2984
2985    .attributes-popup-wraper .product-img {
2986        width: 170px;
2987        height: 170px;
2988        flex-shrink: 0;
2989    }
2990
2991    .attributes-popup-main .product-attr {
2992        margin: 0 18px 20px;
2993    }
2994    .attributes-popup-main .product-attr .attr-option, .attributes-popup-main .product-attr .attr-item {
2995        margin-bottom: 10px;
2996        overflow: hidden;
2997    }
2998    .attributes-popup-main .product-info {
2999        margin: 15px 15px 30px;
3000    }
3001
3002    .attributes-popup-main .product-info .title {
3003        font-size: 18px;
3004        font-weight: 500;
3005        overflow: hidden;
3006        word-wrap: break-word;
3007        word-break: break-word;
3008        height: auto;
3009        text-transform: none !important;
3010        text-overflow: -o-ellipsis-lastline;
3011        overflow: hidden;
3012        text-overflow: ellipsis;
3013        display: -webkit-box;
3014        -webkit-line-clamp: 3;
3015        line-clamp: 3;
3016        -webkit-box-orient: vertical;
3017        min-height: auto;
3018        text-align: left;
3019    }
3020
3021    .attributes-popup-main .product-info .price {
3022        color: #E64D43;
3023        font-size: 24px;
3024        font-weight: bold;
3025        line-height: 36px;
3026        margin: 1px 0 5px;
3027    }
3028
3029    .attributes-popup-main .old-price {
3030        font-size: 16px;
3031        text-decoration: line-through !important;
3032        color: #7A7A7A !important;
3033        font-weight: 400 !important;
3034    }
3035
3036    .attributes-popup-main .product-info .off {
3037        color: #E64D43;
3038        font-size: 16px;
3039        margin-left: 10px;
3040    }
3041
3042    .attributes-popup-main .product-info .tag {
3043        font-size: 20px;
3044        font-weight: bold;
3045        line-height: 30px;
3046        color: #E64D43;
3047    }
3048
3049    .attributes-popup-main .product-attr {
3050        color: #555;
3051    }
3052
3053    .attributes-popup-main .product-attr input {
3054        display: none;
3055    }
3056
3057    .attributes-popup-main .attribute-option {
3058        border: 1.2px solid #ccc;
3059        border-radius: 4px;
3060        display: block;
3061        cursor: pointer;
3062        margin: 0 10px 10px 0;
3063        float: left;
3064    }
3065    .attributes-popup-main .attribute-option.color-option {
3066        width: 62px;
3067        height: 62px;
3068        padding: 3px;
3069    }
3070    .attributes-popup-main .attribute-option.text-option {
3071        height: 40px;
3072        line-height: 40px;
3073        padding: 0 15px;
3074    }
3075
3076    .attributes-popup-main .attribute-option.select, .attributes-popup-main .attribute-option:hover {
3077        border-color: #222;
3078    }
3079
3080    .attributes-popup-main .attribute-option.out-of-stock {
3081        border: 1.2px dashed #ccc;
3082    }
3083
3084    .attributes-popup-main .attr-img {
3085        width: 100%;
3086        height: 100%;
3087    }
3088    .attributes-popup-main .confirm-w {
3089        height: 80px;
3090        box-shadow: 0px -2px 11px -2px rgb(0 0 0 / 20%);
3091        position: absolute;
3092        bottom: 0;
3093        width: 100%;
3094        background-color: #fff;
3095    }
3096    .attributes-popup-main .confirm-btn {
3097        height: 45px;
3098        border-radius: 50px;
3099        background: #222222;
3100        font-size: 18px;
3101        color: #fff;
3102        margin: 15px 30px;
3103        text-align: center;
3104        line-height: 45px;
3105        cursor: pointer;
3106    }
3107    .attributes-popup-main .attributes-con {
3108        position: relative;
3109        height: 100%;
3110    }
3111    .product-info-wraper {
3112        height: calc(100% - 130px);
3113    }
3114    @media screen and (max-width:767px) {
3115        .sidebar-popup-wrapper .sidebar-popup-main {
3116            width: 100%;
3117            bottom: -550px;
3118            right: 0;
3119            top: auto;
3120            height: auto;
3121            border-radius: 8px 8px 0px 0px;
3122        }
3123        .sidebar-popup-wrapper .attributes-top .close {
3124            top: 13px;
3125            right: 13px;
3126        }
3127        .product-info-wraper {
3128            padding-bottom: 100px;
3129        }
3130        .attributes-popup-main .product-info {
3131            margin: 15px 15px 20px;
3132        }
3133        .attributes-popup-wraper .attributes-top {
3134            height: 50px;
3135        }
3136        .attributes-popup-main .product-info .title {
3137            font-size: 4vw;
3138        }
3139        .attributes-popup-main .product-info .price {
3140            margin: 0;
3141            display: inline-block;
3142            font-size: 21px;
3143            line-height: 30px;
3144        }
3145        .attributes-popup-main .initial-price {
3146            display: inline-block;
3147            margin-left: 3px;
3148        }
3149        .attributes-popup-main .product-info .off {
3150            margin-left: 8px;
3151        }
3152        .attributes-popup-main .product-info .tag {
3153            line-height: 25px;
3154            font-size: 16px;
3155        }
3156        .attributes-popup-wraper .product-img {
3157            width: 30vw;
3158            height: 30vw;
3159        }
3160        .product-info-wraper {
3161            overflow-y: scroll;
3162        }
3163    }
3164</style>
3165
3166<div class="sidebar-popup-wrapper attributes-popup-wraper">
3167    <div class="sidebar-popup-main attributes-popup-main">
3168        <div class="attributes-con">
3169            <div class="title attributes-top">
3170                <button type="button" id="pro-coupons-close" class="action close"></button>
3171            </div>
3172            <div class="product-info-wraper">
3173                <div class="product-info">
3174                </div>
3175                <div class="product-attr" id="filters-container">
3176                </div>
3177            </div>
3178            <div class="confirm-w">
3179                <div class="confirm-btn">Confirmar</div>
3180            </div>
3181        </div>
3182    </div>
3183    <div id="cmpbox2" class="cmpboxBG cmpstyleroot"></div>
3184</div>
3185
3186
3187</div></div></main><div class="footer-top"><style>
3188    
3189.newsletter_v2 {
3190  clear: both;
3191  width: 100%;
3192  background-color: #F9F9F9;
3193  padding: 35px 0;
3194}
3195@media only screen and (max-width: 767px) {
3196  .newsletter_v2 {
3197    padding: 5.3vw 0 6vw;
3198    box-sizing: border-box;
3199  }
3200}
3201.newsletter_v2::after {
3202  content: '';
3203  clear: both;
3204  display: block;
3205  width: 100%;
3206}
3207.newsletter_v2 .news-block-title {
3208  width: 100%;
3209  font-size: 28px;
3210  font-weight: bold;
3211  line-height: 1;
3212  margin-bottom: 20px;
3213  max-width: 52%;
3214  float: left;
3215  margin: 0;
3216}
3217@media only screen and (max-width: 767px) {
3218  .newsletter_v2 .news-block-title {
3219    max-width: none;
3220  }
3221}
3222.newsletter_v2 .news-block-title .coupons-newsletter-tile {
3223  margin: 0;
3224  font-size: 22px;
3225  line-height: 1.5;
3226  font-weight: 600;
3227}
3228@media only screen and (max-width: 767px) {
3229  .newsletter_v2 .news-block-title .coupons-newsletter-tile {
3230    font-size: 3.8vw;
3231    font-weight: 700;
3232  }
3233}
3234.newsletter_v2 .news-block-title .coupons-newsletter-tile::after {
3235  content: '';
3236  display: block;
3237  clear: both;
3238}
3239.newsletter_v2 .news-block-title b {
3240  font-size: 24px;
3241  color: #0e0e0e;
3242}
3243.newsletter_v2 .coupons-newsletter-tips {
3244  float: left;
3245  width: 52%;
3246  font-size: 14px;
3247  line-height: 20px;
3248  margin-top: 15px;
3249  margin-bottom: 6px;
3250}
3251.newsletter_v2 .coupons-newsletter-tips a {
3252  color: #FDAC0E;
3253  text-decoration: underline !important;
3254}
3255.newsletter_v2 .coupons-newsletter-tips.coupons-register-tips {
3256  margin-top: 0;
3257  margin-bottom:0;
3258}
3259.newsletter_v2 .coupons-newsletter-tips.coupons-register-tips .black {
3260  color: #333;
3261}
3262.newsletter_v2 .coupons-newsletter-tips.coupons-register-tips .black:hover {
3263  color: #FDAC0E;
3264}
3265@media only screen and (max-width: 767px) {
3266  .newsletter_v2 .coupons-newsletter-tips {
3267    width: 100%;
3268    font-size: 13px;
3269    margin-top: 2.333vw;
3270  }
3271  .newsletter_v2 .coupons-newsletter-tips br {
3272    display: none;
3273  }
3274  .newsletter_v2 .news-block-title b {
3275    font-size: 4.267vw;
3276  }
3277  .newsletter_v2 .news-block-title b span {
3278    font-size: 5vw;
3279  }
3280}
3281@media only screen and (min-width: 768px) {
3282  .newsletter_v2 .form {
3283    float: right;
3284    width: 30%;
3285    min-width: 348px;
3286    margin-top: 20px;
3287  }
3288}
3289@media only screen and (max-width: 767px) {
3290  .newsletter_v2 .form {
3291    float: right;
3292    width: 100%;
3293    min-width: auto;
3294    margin-top: 4.3vw;
3295  }
3296}
3297.newsletter_v2 .form input {
3298  height: 50px;
3299  background: #FFFFFF;
3300  border: none;
3301  font-size: 14px;
3302  color: #222;
3303  padding: 0 16px;
3304  height: 50px;
3305  box-shadow: none;
3306  border-radius: 4px;
3307}
3308.newsletter_v2 .form button {
3309  height: 50px;
3310  background: #000000;
3311  width: 72px;
3312}
3313.subscribe-placehoder {
3314  display: none;
3315  font-size: 12px;
3316  font-weight: 500;
3317  color: #666;
3318  padding: 4px 16px 0;
3319  margin-bottom: 0;
3320}
3321.subscribe-placehoder.error {
3322  color: #E64D43;
3323}
3324.newsletter_v2 .control {
3325  box-sizing: border-box;
3326  display: flex;
3327  flex-direction: column;
3328  justify-content: center;
3329  position: relative;
3330  transition: all .3s;
3331  border-radius: 4px;
3332  height: 50px;
3333  background: #fff;
3334  border-radius: 4px 0 0 4px;
3335  border: 1px solid #2a2629;
3336  border-right: none;
3337  transition: all .3s;
3338}
3339.newsletter_v2 .control.error {
3340  border-color: #E64D43;
3341}
3342.newsletter_v2 .newsletter-input #newsletter-error {
3343  display: none !important;
3344}
3345.newsletter_v2 .subscribe-close {
3346  display: none;
3347  position: absolute;
3348  top: 0;
3349  right: 18px;
3350  bottom: 0;
3351  margin: auto 0;
3352  width: 16px;
3353  height: 12px;
3354  cursor: pointer;
3355  filter: brightness(45%);
3356  background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEgMWwxMCAxMG0wLTEwTDEgMTEiIHN0cm9rZT0iI0IyQjJCMiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjwvc3ZnPg==) no-repeat center;
3357}
3358.newsletter-errortips {
3359  margin-top: 6px;
3360  color: #E64D43;
3361}
3362.subscribe-messages {
3363  display: flex;
3364  align-items: center;
3365  justify-content: center;
3366  height: 100px;
3367  margin: 0 auto;
3368}
3369.subscribe-messages p {
3370  margin: 0 0 0 10px;
3371  font-size: 16px;
3372}
3373@media only screen and (max-width: 767px) {
3374  .newsletter_v2 .form input, .newsletter_v2 .form button {
3375    height: 44px;
3376  }
3377  .newsletter_v2 .control {
3378    height: 44px;
3379  }
3380  .newsletter-errortips {
3381    width: auto;
3382  }
3383  .subscribe-messages {
3384    width: 90%;
3385  }
3386  .subscribe-messages p {
3387    font-size: 14px;
3388  }
3389}
3390
3391</style>
3392
3393       
3394        <div class="newsletter_v2">
3395            <div class="cus-container">
3396                <div class="page-main">
3397                    <div class="newsletter-block">
3398                       
3399                            <div class="news-block-title">
3400                              <p class="coupons-newsletter-tile">Suscríbase a nuestro newsletter <span>y aprovecha un paquete de cupones vale <b>270 €</b>.</span></p>
3401
3402                            </div>
3403                            <form class="form subscribe" novalidate method="post" data-mage-init='{"validation": {"errorClass": "mage-error"}}' id="newsletter-validate-detail">
3404                                <div class="block-content">
3405                                    <div class="newsletter-input">
3406                                        <div class="input-group">
3407                                            <div class="control">
3408                                                <i class="subscribe-close"></i>
3409                                                <p class="subscribe-placehoder">Correo Electrónico</p>
3410                                                <input name="email" type="email" id="newsletter"
3411                                                       placeholder="Correo Electrónico"
3412                                                       data-validate="{required:true, 'validate-email':true}"/>
3413                                            </div>
3414                                            <span class="input-group-btn">
3415                                                <button class="subscribe btn" title="Suscribir" type="submit">
3416                                                <span><svg width="21" height="18" viewBox="0 0 21 18" fill="none"
3417                                                            xmlns="http://www.w3.org/2000/svg">
3418                                                            <path
3419                                                                d="M10.7949 18L8.6275 16.0628L15.2201 10.3318H0V7.58744H15.2201L8.6275 1.8565L10.7949 0L21 8.95964L10.7949 18Z"
3420                                                                fill="white" />
3421                                                        </svg>
3422                                                    </span>
3423                                                </button>
3424                                            </span>
3425                                        </div>
3426                                        <p class="newsletter-errortips"></p>
3427                                    </div>
3428                                </div>
3429                            </form>
3430
3431                            <p class="coupons-newsletter-tips"><a href="/subscribe-newsletter">Descubre</a> nuestras ofertas exclusivas, promociones, eventos y mucho más. ¡Explora los beneficios únicos de suscribirse ahora!</p>
3432                            <p class="coupons-newsletter-tips coupons-register-tips">
3433                              *Al suscribir, acepto <a class="black" href="/terms-conditions">los Términos y Condiciones</a> y <a class="black" href="/privacy-policy">la Política de Privacidad</a> de costway.es.</p>
3434
3435                   
3436                           
3437                        
3438                    </div>
3439                </div>
3440            </div>
3441        </div>
3442        <style>
3443            /*.cp-newsletter {*/
3444            /*background: url("") repeat fixed 0 0 / cover  rgba(0, 0, 0, 0);*/
3445            /*}*/
3446        </style>
3447    
3448
3449<style>
3450  #maincontent {
3451    background-color: transparent;
3452  }
3453
3454  .footer-container {
3455    background: #fff;
3456  }
3457
3458  .footer-container .footer-container-top {
3459    margin: 50px auto 0;
3460    display: flex;
3461    justify-content: space-between;
3462  }
3463
3464  @media only screen and (max-width: 980px) {
3465    .footer-container .footer-container-top {
3466      width: 100%;
3467      display: block;
3468      margin: 0 auto;
3469    }
3470  }
3471
3472  .footer-container .footer-container-top .bottom-logo {
3473    width: 32%;
3474    padding-right: 7%;
3475    box-sizing: border-box;
3476  }
3477
3478  @media only screen and (max-width: 980px) {
3479    .footer-container .footer-container-top .bottom-logo {
3480      width: 100%;
3481      padding-right: 0;
3482      margin-top: 10px;
3483    }
3484  }
3485
3486  .footer-container .footer-container-top .bottom-logo a {
3487    display: block;
3488    font-size: 0;
3489  }
3490
3491  @media only screen and (max-width: 980px) {
3492    .footer-container .footer-container-top .bottom-logo a {
3493      text-align: center;
3494    }
3495  }
3496
3497  .footer-container .footer-container-top .bottom-logo svg {
3498    width: 120px;
3499    margin-top: -5px;
3500  }
3501
3502  @media only screen and (max-width: 980px) {
3503    .footer-container .footer-container-top .bottom-logo svg {
3504      margin: 0 auto;
3505    }
3506  }
3507
3508  .footer-container .footer-container-top .bottom-logo p {
3509    font-size: 12px;
3510    color: #5E5B5B;
3511    font-weight: 400;
3512    line-height: 1.5;
3513  }
3514
3515  .footer-container .footer-container-top .bottom-logo .footer-slogan {
3516    margin-top: 15px;
3517    color: #1F1F1F;
3518    font-size: 16px;
3519    line-height: 1;
3520    font-weight: 600;
3521  }
3522
3523  @media only screen and (max-width: 980px) {
3524    .footer-container .footer-container-top .bottom-logo .footer-slogan {
3525      text-align: center;
3526    }
3527
3528    .footer-container .footer-container-top .bottom-logo p {
3529      text-align: center;
3530    }
3531  }
3532
3533  .footer-container .footer-container-top .svg-footer-logo {
3534    width: 142px;
3535    height: 62px;
3536  }
3537
3538  .footer-container .footer-container-top .footer-menu {
3539    width: 68%;
3540    display: flex;
3541    justify-content: space-betweens;
3542  }
3543
3544  @media only screen and (max-width: 980px) {
3545    .footer-container .footer-container-top .footer-menu {
3546      display: block;
3547      width: 100%;
3548      margin-top: 0;
3549    }
3550  }
3551
3552  .footer-container .footer-container-top .footer-menu dl {
3553    width: 25%;
3554  }
3555
3556  @media only screen and (max-width: 980px) {
3557    .footer-container .footer-container-top .footer-menu dl {
3558      width: 100%;
3559      margin-bottom: 0;
3560    }
3561  }
3562
3563  .footer-container .footer-container-top .footer-menu dt {
3564    font-size: 20px;
3565    color: #000;
3566    font-weight: 600;
3567    margin-bottom: 18px;
3568    line-height: 2;
3569  }
3570
3571  @media only screen and (max-width: 980px) {
3572    .footer-container .footer-container-top .footer-menu dt {
3573      border-bottom: 1px solid #ccc;
3574      font-weight: normal;
3575      font-size: 16px;
3576      display: flex;
3577      align-items: center;
3578      justify-content: space-between;
3579      margin-bottom: 0;
3580      height: 12vw;
3581max-height:60px;
3582    }
3583
3584    .footer-container .footer-container-top .footer-menu dt::after {
3585      content: '';
3586      float: right;
3587      display: inline;
3588      width: 14px;
3589      height: 10px;
3590      background: url(https://www.costway.es/pub/images/footer/scale_icon.png) no-repeat;
3591      background-size: 100% auto !important;
3592    }
3593  }
3594
3595  .footer-container .footer-container-top .footer-menu dd {
3596    line-height: 1.35;
3597    font-size: 14px;
3598    color: #0e0e0e;
3599    margin-bottom: 18px;
3600  }
3601
3602  @media only screen and (max-width: 980px) {
3603    .footer-container .footer-container-top .footer-menu dd {
3604      display: none;
3605      margin: 16px 0;
3606    }
3607  }
3608
3609  .footer-container .footer-container-top .footer-menu dd a {
3610    transition: all 0.25s ease;
3611    -webkit-transition: all 0.25s ease;
3612    -moz-transition: all 0.25s ease;
3613    -o-transition: all 0.25s ease;
3614    color: #0e0e0e;
3615    display: inline-block;
3616    align-items: center;
3617    text-decoration: none;
3618  }
3619
3620  .footer-container .footer-container-top .footer-menu dd a:before {
3621    content: "->";
3622    position: absolute;
3623    opacity: 0;
3624    display: block;
3625    -webkit-transform: translateX(-18px);
3626    -moz-transform: translateX(-18px);
3627    -o-transform: translateX(-18px);
3628    transform: translateX(-18px);
3629    transition: all 0.25s ease;
3630    -webkit-transition: all 0.25s ease;
3631    -moz-transition: all 0.25s ease;
3632    -o-transition: all 0.25s ease;
3633  }
3634
3635  .footer-container .footer-container-top .footer-menu dd a:hover {
3636    padding-left: 25px;
3637    color: #FF5F44;
3638  }
3639
3640  .footer-container .footer-container-top .footer-menu dd a:hover:before {
3641    opacity: 1;
3642    transform: translateX(-18px);
3643    -webkit-transform: translateX(-18px);
3644    -moz-transform: translateX(-18px);
3645    -o-transform: translateX(-18px);
3646  }
3647
3648  @media only screen and (max-width: 980px) {
3649    .footer-container .footer-container-top .footer-menu dl.show dt::after {
3650      background: url(https://www.costway.es/pub/images/footer/scale_icon2.png) no-repeat;
3651    }
3652  }
3653
3654  .footer-container .footer-container-top .footer-menu dl.show dd {
3655    display: block;
3656  }
3657
3658  .footer-container .footer-bottom {
3659    margin-top: 25px;
3660    margin-bottom: 30px;
3661    display: flex;
3662    align-items: flex-end;
3663  }
3664  @media only screen and (min-width: 768px) {
3665    .share-sitajabber .trustpilot-widget {
3666      margin-left: -55px;
3667    }
3668    .footer-container .footer-bottom .share-sitajabber dl.follow-us dd {
3669      float: left;
3670    }
3671  }
3672  @media only screen and (min-width: 1000px) {
3673    .footer-container .footer-bottom .share-sitajabber {
3674      width: 32%;
3675      display: flex;
3676      flex-wrap: wrap;
3677      flex-shrink: 0;
3678    }
3679    .footer-container .footer-bottom .payment{
3680      margin-right: 5%;
3681    }
3682    .footer-container .footer-bottom .contact-us {
3683      margin-left: auto;
3684      min-width: fit-content;
3685    }
3686    .footer-container .footer-container-top .bottom-logo .footer-desc {
3687      width: 90%;
3688    }
3689    .footer-container .footer-bottom .contact-us p {
3690      margin-bottom: 0;
3691    }
3692  }
3693  @media only screen and (max-width: 980px) {
3694    .footer-container .footer-bottom {
3695      display: block;
3696      width: 100%;
3697      margin: 30px 0;
3698    }
3699  }
3700
3701  @media only screen and (max-width: 980px) {
3702
3703    .footer-container .footer-bottom .contact-us,
3704    .footer-container .footer-bottom .payment,
3705    .footer-container .footer-bottom .share-sitajabber {
3706      margin-top: 20px;
3707    }
3708
3709    .footer-container .footer-bottom .contact-us::after,
3710    .footer-container .footer-bottom .payment::after,
3711    .footer-container .footer-bottom .share-sitajabber::after {
3712      content: '';
3713      display: block;
3714      clear: both;
3715    }
3716  }
3717
3718  .footer-container .footer-bottom .contact-us .contact-btn {
3719    border: 1px solid #FDAC0E;
3720    border-radius: 20px;
3721    font-size: 18px;
3722    text-align: center;
3723    margin: 7px 0px 18px;
3724    width: 170px;
3725    height: 38px;
3726    line-height: 38px;
3727    overflow: hidden;
3728    color: #FDAC0E;
3729  }
3730  .footer-container .footer-bottom .contact-us .contact-btn:hover {
3731    background-color: #FFF9EE;
3732  }
3733
3734  .footer-container .footer-bottom .contact-us .contact-btn a {
3735    color: #333;
3736    font-size: 16px;
3737  }
3738
3739  .footer-container .footer-bottom .contact-us .contact-btn svg {
3740    vertical-align: -3px;
3741    margin-right: 8px;
3742  }
3743
3744  .footer-container .footer-bottom .contact-us p svg {
3745    display: inline-block;
3746    vertical-align: middle;
3747    margin-right: 8px;
3748  }
3749
3750  .footer-container .footer-bottom .payment .payment-list {
3751    margin-bottom: 0;
3752  }
3753
3754  .footer-container .footer-bottom .payment dl,
3755  .footer-container .footer-bottom .share-sitajabber dl {
3756    display: block;
3757    width: 100%;
3758  }
3759
3760  .footer-container .footer-bottom .payment dl::after,
3761  .footer-container .footer-bottom .share-sitajabber dl::after {
3762    content: '';
3763    display: block;
3764    width: 100%;
3765    clear: both;
3766  }
3767
3768  .footer-container .footer-bottom .payment dt,
3769  .footer-container .footer-bottom .share-sitajabber dt {
3770    font-weight: 600;
3771    font-size: 20px;
3772    line-height: 30px;
3773    color: #000000;
3774    display: block;
3775    margin-bottom: 10px;
3776    width: 100%;
3777  }
3778
3779  .footer-container .footer-bottom .payment .payment-list dd {
3780    float: left;
3781    width: 57px;
3782    margin: 10px 12px 0 0;
3783    display: flex;
3784  }
3785  .footer-container .footer-bottom .payment .payment-list dd:last-child {
3786    margin-right: 0;
3787  }
3788  .footer-container .footer-bottom .share-sitajabber dl {
3789    margin-bottom: 0;
3790  }
3791
3792  .footer-container .footer-bottom .share-sitajabber dl.follow-us dt {
3793    display: block;
3794  }
3795
3796  .footer-container .footer-bottom .share-sitajabber dl.follow-us dd {
3797    margin-right: 15px;
3798    line-height: 0;
3799    margin-bottom: 0;
3800    display: inline;
3801  }
3802
3803  .footer-container .footer-bottom .share-sitajabber dl.follow-us dd:last-child {
3804    margin-right: 0;
3805  }
3806
3807  .footer-container .footer-bottom .share-sitajabber dl.follow-us dd a {
3808    display:inline-block;
3809    line-height:0;
3810  }
3811  .footer-container .footer-bottom .share-sitajabber dl.follow-us dd a:hover svg path {
3812    fill: #fdac0e;
3813  }
3814  .footer-container .footer-bottom .share-sitajabber .platform {
3815    margin-top: 8px !important;
3816  }
3817
3818  .footer-container .footer-bottom .share-sitajabber #___ratingbadge_0 {
3819    overflow: hidden;
3820  }
3821
3822  @media screen and (max-width: 980px) {
3823    .footer-container .footer-bottom .share-sitajabber #___ratingbadge_0 {
3824      position: static !important;
3825      border: 0 !important;
3826      box-shadow: none !important;
3827      width: 100% !important;
3828    }
3829
3830    .footer-container .footer-bottom .share-sitajabber #___ratingbadge_0 iframe {
3831      position: static !important;
3832      width: 100% !important;
3833    }
3834    .footer-container .footer-bottom .share-sitajabber dl.follow-us {
3835      text-align: center;
3836      margin-top: 20px;
3837    }
3838    .footer-container .footer-bottom .payment dl, .footer-container .footer-bottom .share-sitajabber dl {
3839      margin-bottom: 0;
3840    }
3841  }
3842</style>
3843
3844<div class="footer-container page-main">
3845
3846  <div class="footer-container-top">
3847    <div class="bottom-logo">
3848      <a href="/">
3849        <svg class="svg-footer-logo" viewBox="0 0 182 80" fill="none" xmlns="http://www.w3.org/2000/svg">
3850          <path d="M0 21.0362C0 10.3216 7.3535 2.84155 17.629 2.84155C26.3414 2.84155 32.5368 7.5909 34.5517 15.427H26.9974C25.3339 12.0413 22.1107 10.0193 17.9302 10.0193C11.8854 10.0193 7.70494 14.416 7.70494 21.0362C7.70494 27.6564 11.8352 32.0027 17.9302 32.0027C22.4119 32.0027 25.7858 29.7288 27.1982 25.9367H34.7526C32.9887 34.2262 26.5924 39.2308 17.629 39.2308C7.25309 39.2308 0 31.7004 0 21.0362Z" fill="black" />
3851          <path d="M38.2803 21.0362C38.2803 10.3216 45.8848 2.84155 56.5619 2.84155C67.2391 2.84155 74.8436 10.3216 74.8436 21.0362C74.8436 31.7508 67.2391 39.2308 56.5619 39.2308C45.7844 39.2308 38.2803 31.7004 38.2803 21.0362ZM67.0885 21.0362C67.0885 14.4664 62.908 10.0193 56.5619 10.0193C50.2661 10.0193 45.9852 14.416 45.9852 21.0362C45.9852 27.6564 50.2159 32.0027 56.5619 32.0027C62.908 32.0027 67.0885 27.606 67.0885 21.0362Z" fill="black" />
3852          <path d="M79.0781 27.7068H86.4818C86.5822 30.7398 89.0992 32.5099 93.3835 32.5099C97.5138 32.5099 99.9805 30.9413 99.9805 28.3147C99.9805 25.7889 97.564 24.7275 92.4764 24.17C83.4594 23.159 79.5835 19.2157 79.5835 13.2538C79.5835 7.08708 84.9723 2.84155 93.0822 2.84155C101.142 2.84155 106.38 7.28861 106.631 13.9122H99.3747C99.1237 11.1815 97.0084 9.51549 93.0789 9.51549C89.2499 9.51549 87.0843 11.0841 87.0843 13.4083C87.0843 15.9342 88.9486 16.9956 93.7818 17.5531C103.552 18.6145 107.632 22.3058 107.632 28.3685C107.632 34.8879 102.042 39.2342 93.4806 39.2342C84.7179 39.2308 79.2789 34.7838 79.0781 27.7068Z" fill="black" />
3853          <path d="M136.343 3.34537V10.1705H127.024V38.727H119.47V10.1705H110.102V3.34537H136.343Z" fill="black" />
3854          <path d="M108.917 44.3161H116.926V44.8199L105.442 79.9966H102.269L92.5997 58.7186L82.9301 79.9966H79.757L68.1729 44.8199V44.3161H76.0786L79.4525 55.081L82.2238 65.1877L90.9864 45.3237H94.059L103.076 65.0869L105.693 55.081L108.917 44.3161Z" fill="black" />
3855          <path d="M135.864 44.0104L152.535 79.1872V79.691H144.375L141.758 73.8769H126.9L124.283 79.691H116.173V79.1872L132.845 44.0104H135.864ZM134.304 56.1928L129.872 67.2097H138.735L134.304 56.1928Z" fill="black" />
3856          <path d="M173.689 44.3161H182V44.8736L169.609 65.5471V79.6977H162.055V65.5471L149.563 44.8232V44.3194H158.025L162.306 51.5979L165.88 58.6246L169.505 51.4972L173.689 44.3161Z" fill="black" />
3857          <path d="M162.202 0L142.407 11.3528V38.727H182V11.3528L162.202 0Z" fill="#FFC842" />
3858          <path d="M18.1478 44.3161C8.32748 44.3161 0.368164 52.3033 0.368164 62.158C0.368164 72.0128 8.32748 80 18.1478 80H61.6663V44.3161H18.1478Z" fill="#FF5F44" />
3859        </svg>
3860      </a>
3861      <p class="footer-slogan">Más Que Mobiliario Con Comodidad</p>
3862      <p class="footer-desc">Costway cree que cada hogar es versátil, con posibilidades multiestilo de interior. Ofrecemos ideas de remodelación que van más allá del propio mobiliario. Para los amantes del hogar, nuestra tienda no solo les permite disfrutar de un espacio confortable, sino que también les alegra la vida.</p>
3863    </div>
3864    <div class="footer-menu">
3865      <dl>
3866        <dt>Sobre Costway</dt>
3867        <dd>
3868          <a href="/about-costway">¿Quiénes Somos?</a>
3869        </dd>
3870        <dd>
3871          <a href="/why-costway">Porqué Costway</a>
3872        </dd>
3873        <dd>
3874          <a href="/privacy-policy">Política de Privacidad</a>
3875        </dd>
3876        <dd>
3877          <a href="/terms-conditions">Términos y Condiciones</a>
3878        </dd>
3879        <dd>
3880          <a href="/site-map">Mapa del sitio</a>
3881        </dd>
3882        <dd>
3883          <a href="/blog/?entrypoint=footer">Blog</a>
3884        </dd>
3885      </dl>
3886      <dl>
3887        <dt>Soporte</dt>
3888        <dd>
3889          <a href="/payment-methods">Pago</a>
3890        </dd>
3891        <dd>
3892          <a href="/shipping-guide">Envío</a>
3893        </dd>
3894        <dd>
3895          <a href="/shipments">Seguimiento del Pedido</a>
3896        </dd>
3897        <dd>
3898          <a href="/return-policy">Política de Devolución</a>
3899        </dd>
3900        <dd>
3901          <a href="/contact-us">Contacto</a>
3902        </dd>
3903      </dl>
3904      <dl>
3905        <dt>Mi Cuenta</dt>
3906        <dd>
3907          <a href="/customer/account/login">Iniciar Sesión</a>
3908        </dd>
3909        <dd>
3910          <a href="/point">Punto de Recompensa</a>
3911        </dd>
3912        <dd>
3913          <a href="/sales/order/history">Mis Pedidos</a>
3914        </dd>
3915        <dd>
3916          <a href="/review/customer">Mis Reseñas</a>
3917        </dd>
3918        <dd>
3919          <a href="/loyalty-cashback?entrypoint=accountmenu">Mi Reembolso por Fidelidad</a>
3920        </dd>
3921      </dl>
3922      <dl>
3923        <dt>
3923Socio y Programa</dt>
3924        <dd>
3925          <a href="/dropship-with-costway">Dropshipping</a>
3926        </dd>
3927        <dd>
3928          <a href="/programa-de-afiliados">Programa de Afiliados</a>
3929        </dd>
3930      </dl>
3931    </div>
3932  </div>
3933
3934
3935  <div class="footer-bottom">
3936    <div class="share-sitajabber">
3937      <dl>
3938        <dd class="platform">
3939          
3940          <g:ratingbadge merchant_id=127155872></g:ratingbadge>
3941          
3942        </dd>
3943      </dl>
3944      <dl class="follow-us">
3945        <dd><a href="https://www.facebook.com/costway.es" target="_blank"><svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
3946        <path d="M20.9836 4C20.9836 4 18.7382 4 17.2477 4C15.0307 4 12.5648 4.87756 12.5648 7.90205C12.5756 8.9559 12.5648 9.96517 12.5648 11.101H10V14.9421H12.6441V26H17.5029V14.8692H20.7098L21 11.0903H17.4192C17.4192 11.0903 17.4272 9.40926 17.4192 8.92108C17.4192 7.72587 18.7406 7.79432 18.8201 7.79432C19.4489 7.79432 20.6716 7.79604 20.9855 7.79432V4H20.9836Z" fill="#333333"/>
3947        </svg>
3948        </a></dd>
3949          <dd><a href="https://twitter.com/CostwayES" target="_blank">
3950            <svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30" fill="none">
3951              <path d="M16.905 13.4695L24.3512 5H22.5869L16.1184 12.3524L10.9558 5H5L12.8086 16.1192L5 25H6.76429L13.591 17.2338L19.0442 25H25L16.905 13.4695ZM14.4877 16.2168L13.6954 15.1089L7.40053 6.30146H10.1108L15.1925 13.412L15.9815 14.5199L22.5861 23.7619H19.8758L14.4877 16.2168Z" fill="#333333"></path>
3952            </svg>
3953          </a></dd>
3954          <dd><a href="https://www.pinterest.com/CostwayES/" target="_blank"><svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
3955        <path d="M14.8631 4C8.83816 4 4 8.87865 4 14.954C4 19.4644 6.6473 23.2385 10.4813 24.9874C10.4813 24.251 10.4813 23.3305 10.6639 22.5021C10.8465 21.5816 12.0332 16.5188 12.0332 16.5188C12.0332 16.5188 11.6681 15.7824 11.6681 14.7699C11.6681 13.113 12.5809 11.9163 13.7676 11.9163C14.7718 11.9163 15.2282 12.6527 15.2282 13.5732C15.2282 14.5858 14.5892 16.0586 14.3154 17.4393C14.0415 18.636 14.9543 19.5565 16.0498 19.5565C18.1494 19.5565 19.5187 16.887 19.5187 13.7573C19.5187 11.364 17.8755 9.61508 15.0456 9.61508C11.7593 9.61508 9.75102 12.1004 9.75102 14.8619C9.75102 15.7824 10.0249 16.5188 10.4813 16.9791C10.6639 17.2553 10.7552 17.3473 10.6639 17.6234C10.5726 17.8076 10.4813 18.2678 10.4813 18.544C10.39 18.8201 10.2075 18.9122 9.9336 18.8201C8.38173 18.1758 7.74273 16.5189 7.74273 14.6778C7.74273 11.5482 10.2987 7.86613 15.5021 7.86613C19.61 7.86613 22.3485 10.9038 22.3485 14.1255C22.3485 18.4519 19.9751 21.5816 16.5062 21.5816C15.3195 21.5816 14.2241 20.9373 13.8589 20.2009C13.8589 20.2009 13.2199 22.6862 13.1286 23.2385C12.8548 24.0669 12.4896 24.8954 12.0332 25.5398C13.0373 25.8159 14.0415 26 15.1369 26C21.1618 26 26 21.1214 26 15.046C25.7261 8.87867 20.888 4 14.8631 4Z" fill="#333333"/>
3956        </svg>
3957        </i></a></dd>
3958          <dd><a href="https://www.youtube.com/channel/UC9NMSNrWhoUqdQ08h4UMfFA" target="_blank"><svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
3959        <path d="M8.47808 14.4666C6.55712 14.4666 5 16.1105 5 18.1296V21.3281C5 23.3561 6.55712 25 8.47808 25H21.5143C23.4395 25 25 23.3561 25 21.3281V18.1296C25 16.1105 23.4395 14.4666 21.5143 14.4666H8.47808ZM6.87177 15.8782H10.5305V16.8699H9.30243V23.4723H8.04724V16.8699H6.87177V15.8782ZM15.1959 15.8782H16.3748V18.3441C16.8328 17.9152 17.1466 17.7455 17.5028 17.7455C17.7657 17.7455 18.0625 17.8795 18.1982 18.0671C18.3424 18.2636 18.3848 18.4691 18.3848 19.0856V22.2215C18.3848 22.8111 18.3424 23.0166 18.1982 23.2221C18.0625 23.4097 17.7657 23.5527 17.4773 23.5527C17.1296 23.5527 16.8328 23.374 16.3748 22.9362V23.4723H15.1959V15.8782ZM21.2429 17.7455C22.2267 17.7455 22.8289 18.2726 22.8289 19.1571V20.8188H20.7934V22.0517C20.7934 22.4716 20.9121 22.6414 21.2259 22.6414C21.3701 22.6414 21.5058 22.5699 21.5737 22.4716C21.633 22.3644 21.6585 22.2393 21.6585 21.8284V21.4889H22.8289V21.6944C22.8373 21.8373 22.8373 21.9445 22.8373 22.0071C22.8373 23.0077 22.2606 23.5527 21.192 23.5527C20.1828 23.5527 19.6145 22.9809 19.6145 21.9535V19.3268C19.6145 18.2547 20.1573 17.7455 21.2429 17.7455ZM10.7468 17.808H11.9214V22.2215C11.9214 22.4984 12.0147 22.6414 12.2318 22.6414C12.3844 22.6414 12.5117 22.5788 12.7534 22.4091V17.808H13.9322V23.4723H12.8551L12.7534 22.9809C12.2716 23.4008 11.9884 23.5527 11.6508 23.5527C11.3676 23.5527 11.0707 23.4097 10.935 23.231C10.7875 23.0345 10.7468 22.829 10.7468 22.2483V17.808ZM16.9006 18.6567C16.7564 18.6567 16.6207 18.7104 16.3748 18.889V22.4091C16.6207 22.5788 16.7564 22.6414 16.9006 22.6414C17.1211 22.6414 17.2144 22.4984 17.2144 22.2215V19.0856C17.2144 18.7818 17.1211 18.6567 16.9006 18.6567ZM21.2259 18.6567C20.9461 18.6567 20.7934 18.7997 20.7934 19.0677V20.0237H21.6585V19.0677C21.6585 18.7997 21.4888 18.6567 21.2259 18.6567ZM20.1488 13.3409L20.0471 12.8049C19.5128 13.2695 19.199 13.4303 18.8258 13.4303C18.5205 13.4303 18.1897 13.2784 18.0371 13.0818C17.8759 12.8674 17.8335 12.6351 17.8335 11.999V7.12633H19.1311V11.9677C19.1311 12.2778 19.2244 12.4296 19.4704 12.4296C19.623 12.4296 19.7757 12.3671 20.0471 12.1706V7.12633H21.3447V13.3409H20.1488ZM14.6955 7.04413C15.8744 7.04413 16.4681 7.
3959632 16.4681 8.7988V11.6792C16.4681 12.8495 15.8744 13.4303 14.6955 13.4303C13.5336 13.4303 12.9315 12.8495 12.9315 11.6792V8.7988C12.9315 7.632 13.5336 7.04413 14.6955 7.04413ZM14.6955 8.04476C14.3817 8.04476 14.2291 8.25203 14.2291 8.62369V11.8543C14.2291 12.2152 14.4072 12.4296 14.6955 12.4296C15.0008 12.4296 15.179 12.2152 15.179 11.8543V8.62369C15.179 8.25203 15.0008 8.04476 14.6955 8.04476ZM8.3763 5H9.87575L10.0717 5.80497L10.2286 6.41428L10.366 7.00214L10.4932 7.61145L10.6009 8.12785H10.6594L10.7671 7.61145L10.885 7.00214L11.0317 6.41428L11.1793 5.80497L11.3845 5H12.8467L11.2963 9.87269V13.3409H9.91477V9.87269L8.3763 5Z" fill="#333333"/>
3960        </svg>
3961        </a></dd>
3962          <dd><a href="https://www.instagram.com/costwayes/" target="_blank"><svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
3963        <path d="M15.2891 9.645C12.1658 9.645 9.64517 12.1657 9.64517 15.289C9.64517 18.4123 12.1658 20.9329 15.2891 20.9329C18.4124 20.9329 20.9331 18.4123 20.9331 15.289C20.9331 12.1657 18.4124 9.645 15.2891 9.645ZM15.2891 18.9571C13.2693 18.9571 11.621 17.3088 11.621 15.289C11.621 13.2691 13.2693 11.6208 15.2891 11.6208C17.309 11.6208 18.9573 13.2691 18.9573 15.289C18.9573 17.3088 17.309 18.9571 15.2891 18.9571ZM21.1642 8.09848C20.435 8.09848 19.8461 8.68737 19.8461 9.4166C19.8461 10.1458 20.435 10.7347 21.1642 10.7347C21.8935 10.7347 22.4824 10.1486 22.4824 9.4166C22.4796 8.68462 21.8935 8.09848 21.1642 8.09848Z" fill="#333333"/>
3964        <path d="M26.2908 15.289C26.2908 13.77 26.3045 12.2647 26.2192 10.7485C26.1339 8.98734 25.7321 7.42431 24.4443 6.13647C23.1537 4.84587 21.5934 4.44686 19.8323 4.36155C18.3133 4.27624 16.808 4.29 15.2918 4.29C13.7728 4.29 12.2676 4.27624 10.7513 4.36155C8.99015 4.44686 7.42712 4.84862 6.13927 6.13647C4.84868 7.42706 4.44966 8.98734 4.36436 10.7485C4.27905 12.2675 4.29281 13.7727 4.29281 15.289C4.29281 16.8052 4.27905 18.3132 4.36436 19.8295C4.44966 21.5906 4.85143 23.1536 6.13927 24.4415C7.42987 25.7321 8.99015 26.1311 10.7513 26.2164C12.2703 26.3017 13.7755 26.288 15.2918 26.288C16.8108 26.288 18.316 26.3017 19.8323 26.2164C21.5934 26.1311 23.1565 25.7293 24.4443 24.4415C25.7349 23.1509 26.1339 21.5906 26.2192 19.8295C26.3073 18.3132 26.2908 16.808 26.2908 15.289ZM23.8692 21.7777C23.6683 22.2786 23.4261 22.6528 23.0381 23.0381C22.6501 23.4261 22.2786 23.6682 21.7778 23.8691C20.3303 24.4442 16.8933 24.3149 15.289 24.3149C13.6847 24.3149 10.245 24.4442 8.79752 23.8719C8.29669 23.671 7.92245 23.4288 7.53719 23.0408C7.14919 22.6528 6.90703 22.2813 6.70615 21.7805C6.13377 20.3303 6.26311 16.8933 6.26311 15.289C6.26311 13.6847 6.13377 10.2449 6.70615 8.79746C6.90703 8.29664 7.14919 7.92239 7.53719 7.53714C7.9252 7.15188 8.29669 6.90697 8.79752 6.70609C10.245 6.13371 13.6847 6.26305 15.289 6.26305C16.8933 6.26305 20.3331 6.13371 21.7806 6.70609C22.2814 6.90697 22.6556 7.14913 23.0409 7.53714C23.4289 7.92514 23.671 8.29664 23.8719 8.79746C24.4443 10.2449 24.315 13.6847 24.315 15.289C24.315 16.8933 24.4443 20.3303 23.8692 21.7777Z" fill="#333333"/>
3965        </svg>
3966
3967        </a></dd>
3968
3969      </dl>
3970  </div>
3971      <div class="payment">
3972          <dl class="payment-list">
3973              <dt>Forma de Pago</dt>
3974                                                      <dd>
3975                          <img width="57" height="39" class="lazy" data-original="https://www.costway.es/media/orderbenefits/orderbenefits_6a584e597255c.png"
3976                               src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"
3977                               alt="Forma de Pago">
3978                      </dd>
3979                                        <dd>
3980                          <img width="57" height="39" class="lazy" data-original="https://www.costway.es/media/orderbenefits/orderbenefits_6a584e650cde1.png"
3981                               src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"
3982                               alt="Forma de Pago">
3983                      </dd>
3984                                        <dd>
3985                          <img width="57" height="39" class="lazy" data-original="https://www.costway.es/media/orderbenefits/orderbenefits_6a584e684e54a.png"
3986                               src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"
3987                               alt="Forma de Pago">
3988                      </dd>
3989                                        <dd>
3990                          <img width="57" height="39" class="lazy" data-original="https://www.costway.es/media/orderbenefits/orderbenefits_6a584e6b4de16.png"
3991                               src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"
3992                               alt="Forma de Pago">
3993                      </dd>
3994                                        <dd>
3995                          <img width="57" height="39" class="lazy" data-original="https://www.costway.es/media/orderbenefits/orderbenefits_6a584e6e962b5.png"
3996                               src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"
3997                               alt="Forma de Pago">
3998                      </dd>
3999                                        <dd>
4000                          <img width="57" height="39" class="lazy" data-original="https://www.costway.es/media/orderbenefits/orderbenefits_6a584e772333f.png"
4001                               src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"
4002                               alt="Forma de Pago">
4003                      </dd>
4004                                        <dd>
4005                          <img width="57" height="39" class="lazy" data-original="https://www.costway.es/media/orderbenefits/orderbenefits_6a584e7da3512.png"
4006                               src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"
4007                               alt="Forma de Pago">
4008                      </dd>
4009                                        <dd>
4010                          <img width="57" height="39" class="lazy" data-original="https://www.costway.es/media/orderbenefits/orderbenefits_6a584e838b98b.png"
4011                               src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"
4012                               alt="Forma de Pago">
4013                      </dd>
4014                                          </dl>
4015      </div>
4016
4017    <div class="contact-us">
4018      <a href="/contact-us">
4019        <div class="contact-btn">Contáctenos</div>
4020      </a>
4021      <p>
4022        <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none">
4023        <path fill-rule="evenodd" clip-rule="evenodd" d="M3 3C1.75736 3 0.75 4.00736 0.75 5.25V12.75C0.75 13.9926 1.75736 15 3 15H15C16.2426 15 17.25 13.9926 17.25 12.75V5.25C17.25 4.00736 16.2426 3 15 3H3ZM2.25 5.45015V12.75C2.25 13.1642 2.58579 13.5 3 13.5H15C15.4142 13.5 15.75 13.1642 15.75 12.75V5.45021L10.3814 9.62578C9.5689 10.2577 8.43117 10.2577 7.
402361867 9.62578L2.25 5.45015ZM14.5285 4.5H3.47161L8.53958 8.44176C8.81041 8.6524 9.18966 8.6524 9.46049 8.44176L14.5285 4.5Z" fill="#333333"></path>
4024        </svg>
4025        <a href="/cdn-cgi/l/email-protection#9ffcecb1faecdffcf0ecebe8fee6b1fcf0f2"><span class="__cf_email__" data-cfemail="2546560b405665464a565152445c0b464a48">[email&#160;protected]</span></a>
4026      </p>
4027    </div>
4028  </div>
4029
4030
4031
4032</div>
4033
4034
4035
4036
4037
4038
4039        <div class="footer-copyright">
4040        <div class="page-main">
4041            <div class="cus-container">
4042                <div class="copyright-block">
4043                    <small class="copyright">
4044                                                <span>Copyright © 2015-2026 www.costway.es, Todos los derechos reservados.</span>
4045                                            </small>
4046                </div>
4047                            </div>
4048        </div>
4049    </div>
4050</div>
4051
4052    
4053    <!-- Emarsys footer  -->
4054    
4055    
4056    
4057      <!-- 首页Emarsys推荐产品 -->
4058      
4059      
4060      
4061      <!-- 首页 see moreEmarsys推荐产品 -->
4062      
4063      
4064      
4065      
4066      
4067      
4068      
4069       <!-- 产品详情页top推荐产品 -->   
4070      
4071      
4072      
4073      <!-- Emarsys global footer end  -->
4074      
4075      
4076    
4077    
4078    
4079    
4080    <!-- Emarsys Web Push  -->
4081        <style>
4082            .emarsys-permission-popup {
4083                position: fixed;
4084                /* width: 100%;
4085                height: 100%;
4086                background-color: rgba(0, 0, 0, 0.5); */
4087                display: none;
4088                z-index: 999999;
4089            }
4090    
4091            .emarsys-permission-popup.not-bg {
4092                background: none;
4093            }
4094    
4095            .emarsys-permission-popup.hide {
4096                display: none;
4097            }
4098    
4099            .emarsys-permission-popup.flex {
4100                display: flex;
4101                left: 20px;
4102            }
4103    
4104            @media (min-width: 767px) {
4105                .emarsys-permission-popup {
4106                    align-items: flex-start;
4107                    justify-content: left;
4108                    top: 48px;
4109                    left: -400px;
4110                    transition: left 0.3s ease-in-out;
4111                    -webkit-transition: left 0.3s ease-in-out;
4112                    -moz-transition: left 0.3s ease-in-out;
4113                    -ms-transition: left 0.3s ease-in-out;
4114                    -o-transition: left 0.3s ease-in-out;
4115                }
4116    
4117                .emarsys-permission-popup.flex {
4118                    left: 20px;
4119                }
4120            }
4121    
4122            .emarsys-permission-popup .emarsys-permission-popup-content {
4123                margin-top: 0;
4124                background-color: #fff;
4125                padding: 30px;
4126                border-radius: 10px;
4127                text-align: center;
4128                max-width: 310px;
4129                position: relative;
4130                box-shadow: 2px 5px 16px 0px rgba(0, 0, 0, 0.17);
4131    
4132            }
4133    
4134            .emarsys-permission-popup .emarsys-permission-popup-content p {
4135                margin: 0;
4136                padding: 0;
4137                font-size: 14px;
4138                line-height: 21px;
4139                color: #333;
4140            }
4141    
4142            .emarsys-permission-popup .emarsys-permission-popup-icon {
4143                position: absolute;
4144                top: 15px;
4145                right: 15px;
4146                width: 16px;
4147                height: 16px;
4148                cursor: pointer;
4149            }
4150    
4151            .emarsys-permission-popup .button-group {
4152                margin-top: 30px;
4153            }
4154    
4155            .emarsys-permission-popup .button-group button {
4156                padding: 0;
4157                display: inline-block;
4158                width: 120px;
4159                height: 40px;
4160                border-radius: 20px;
4161                font-size: 14px;
4162                cursor: pointer;
4163            }
4164    
4165            .emarsys-permission-popup .emarsys-decline-button {
4166                background-color: #fff;
4167                border: 1px solid #ccc;
4168                color: #333;
4169                line-height: 38px;
4170            }
4171    
4172            .emarsys-permission-popup .emarsys-subscribe-button {
4173                margin: 0 0 0 10px;
4174                background-color: #fdac0e;
4175                border: none;
4176                color: #fff;
4177                line-height: 40px;
4178            }
4179    
4180            @media (max-width: 767px) {
4181                .emarsys-permission-popup {
4182                    width: 100vw;
4183                    top: auto;
4184                    left: auto;
4185                    bottom: -400px;
4186                    justify-content: center;
4187                    align-items: center;
4188                    transition: bottom 0.3s ease-in-out;
4189                    -webkit-transition: bottom 0.3s ease-in-out;
4190                    -moz-transition: bottom 0.3s ease-in-out;
4191                }
4192    
4193                .emarsys-permission-popup.flex {
4194                    bottom: 30px;
4195                    left: 0;
4196                }
4197    
4198                .emarsys-permission-popup .emarsys-permission-popup-content {
4199                    margin-top: 0;
4200                    padding: 5.3333vw;
4201                    border-radius: 2.6666666667vw;
4202                    width: 93.8666666667vw;
4203                    max-width: none;
4204                    box-sizing: border-box;
4205                    box-shadow: 2px 5px 16.1px 0px rgba(86, 86, 86, 0.25);
4206    
4207                }
4208    
4209                .emarsys-permission-popup .emarsys-permission-popup-content p {
4210                    font-size: 3.73333vw;
4211                    line-height: 5.6vw;
4212                    padding: 0 4vw 0 4vw;
4213                }
4214    
4215                .emarsys-permission-popup .emarsys-permission-popup-icon {
4216                    display: none;
4217                    top: 4.666vw;
4218                    right: 4.666vw;
4219                    width: 3.4666666667vw;
4220                    height: 3.4666666667vw;
4221                }
4222    
4223                .emarsys-permission-popup .button-group {
4224                    margin-top: 6.6666666667vw;
4225                }
4226    
4227                .emarsys-permission-popup .button-group button {
4228                    width: 40vw;
4229                    height: 10.6666666667vw;
4230                    border-radius: 5.3333333333vw;
4231                    font-size: 3.4666666667vw;
4232                    box-sizing: border-box;
4233                }
4234    
4235                .emarsys-permission-popup .emarsys-decline-button {
4236                    line-height: 10.6666666667vw;
4237                }
4238    
4239                .emarsys-permission-popup .emarsys-subscribe-button {
4240                    margin: 0 0 0 1.333vw;
4241                    line-height: 10.6666666667vw;
4242                }
4243            }
4244        </style>
4245    
4246        <div class="emarsys-permission-popup" id="emarsys-permission-popup">
4247            <div class="emarsys-permission-popup-content">
4248                <p>
4249                    ¿Desea recibir notificaciones sobre eventos y ofertas especiales?
4250                </p>
4251                <div class="button-group">
4252                    <button class="emarsys-decline-button" onclick="if (!window.__cfRLUnblockHandlers) return false; hideEmarsysPermissionPopup()" data-cf-modified-9506a0549efbd9a352f2d304-="">
4253                        No, gracias
4254                    </button>
4255                    <button class="emarsys-subscribe-button" onclick="if (!window.__cfRLUnblockHandlers) return false; generalSubscribe()" data-cf-modified-9506a0549efbd9a352f2d304-="">
4256                        Sí
4257                    </button>
4258                </div>
4259                <svg onclick="if (!window.__cfRLUnblockHandlers) return false; hideEmarsysPermissionPopup()" class="emarsys-permission-popup-icon" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" data-cf-modified-9506a0549efbd9a352f2d304-="">
4260                    <path
4261                        d="M15.3885 0C15.2258 7.43866e-05 15.0697 0.0647612 14.9547 0.179836L0.179654 14.953C0.122695 15.01 0.0775137 15.0776 0.0466886 15.152C0.0158636 15.2264 -1.12251e-06 15.3061 0 15.3867C1.12263e-06 15.4672 0.0158682 15.547 0.0466953 15.6214C0.0775224 15.6958 0.122706 15.7634 0.179666 15.8204C0.236626 15.8773 0.304247 15.9225 0.378668 15.9533C0.453089 15.9841 0.532853 16 0.613405 16C0.693958 16 0.773721 15.9841 0.848141 15.9533C0.922561 15.9225 0.990181 15.8773 1.04714 15.8204L15.8235 1.04593C15.9083 0.959752 15.9657 0.850498 15.9888 0.73183C16.0118 0.613161 15.9993 0.490342 15.9529 0.378729C15.9064 0.267116 15.8281 0.171661 15.7278 0.1043C15.6274 0.0369387 15.5094 0.000660896 15.3885 0Z"
4262                        fill="#666666" />
4263                    <path
4264                        d="M0.615693 5.72205e-06C0.493991 -0.000541687 0.374881 0.0351591 0.273539 0.102558C0.172197 0.169957 0.093211 0.266004 0.0466438 0.37846C7.66332e-05 0.490916 -0.0119631 0.614694 0.0120583 0.734018C0.0360798 0.853343 0.0950748 0.962814 0.181527 1.04849L14.9723 15.8399C15.0891 15.9463 15.2424 16.0036 15.4004 15.9998C15.5583 15.9961 15.7088 15.9316 15.8204 15.8198C15.9321 15.7079 15.9963 15.5574 15.9998 15.3994C16.0034 15.2414 15.9459 15.0882 15.8393 14.9715L1.04986 0.180064C0.992894 0.122958 0.925221 0.0776587 0.850718 0.0467606C0.776215 0.0158625 0.696347 -2.67029e-05 0.615693 5.72205e-06Z"
4265                        fill="#666666" />
4266                </svg>
4267            </div>
4268        </div>
4269    
4270    
4271        
4272    
4273        <!-- web push END -->
4274
4275    
4276    <a class="scrollup" href="#" title="Volver arriba">
4277        <div class="scrollup-box">
4278                <div>
4279                <div class="svg">
4279<svg width="18" height="11" viewBox="0 0 18 11" fill="none" xmlns="http://www.w3.org/2000/svg">
4280                <path d="M2.01245 10.5191L8.9469 3.00623L15.882 10.5191C15.967 10.6113 16.0694 10.6858 16.1832 10.7383C16.297 10.7909 16.4201 10.8206 16.5453 10.8256C16.6706 10.8306 16.7956 10.8109 16.9133 10.7676C17.031 10.7243 17.1389 10.6583 17.2311 10.5732C17.3232 10.4882 17.3977 10.3859 17.4503 10.272C17.5029 10.1582 17.5325 10.0352 17.5375 9.90989C17.5426 9.78461 17.5229 9.65957 17.4796 9.54191C17.4363 9.42425 17.3702 9.31627 17.2852 9.22414L9.64881 0.951418C9.55942 0.854527 9.45094 0.777201 9.33019 0.724312C9.20944 0.671424 9.07904 0.644119 8.94722 0.644119C8.81539 0.644119 8.685 0.671424 8.56425 0.724312C8.4435 0.777201 8.33501 0.854527 8.24563 0.951419L0.609267 9.22414C0.524236 9.31627 0.458185 9.42425 0.414885 9.54191C0.371585 9.65957 0.351884 9.78461 0.356907 9.90989C0.361929 10.0352 0.391578 10.1582 0.444159 10.272C0.49674 10.3859 0.571224 10.4882 0.663358 10.5732C0.755492 10.6583 0.863472 10.7243 0.981133 10.7676C1.09879 10.8109 1.22383 10.8306 1.34911 10.8256C1.47438 10.8206 1.59744 10.7909 1.71126 10.7383C1.82507 10.6858 1.92742 10.6113 2.01245 10.5191Z" fill="white"/>
4281                </svg></div>
4282                <div class="txt">Top</div>
4283                </div>
4284            </div>
4285    </a>
4286    <style>
4287    .scrollup:visited, .scrollup:active {
4288        color: #FFFFFF;
4289    }
4290    .scrollup{
4291        color: #FFFFFF;
4292        background-color: #000000;
4293        border-color: #000000;
4294    }
4295
4296    .scrollup:hover {
4297        color: #FFFFFF;
4298        background-color: #000000;
4299    }
4300</style>
4301
4302<div class="sidebar-product-wrapper" id="sidebar-product-wrapper"></div></div>
vendor: 113 bytes, lines 4302-4303
4302    
4303<script data-cfasync="false" src="/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script>
4303<script type="9506a0549efbd9a352f2d304-text/javascript">
4304    var BASE_URL = 'https\u003A\u002F\u002Fwww.costway.es\u002F';
4305    var require = {
4306        'baseUrl': 'https\u003A\u002F\u002Fwww.costway.es\u002Fstatic\u002Fversion1791345286\u002Ffrontend\u002Fdefault\u002Fhooya\u002Fes_ES'
4307    };</script>
vendor: 1 bytes, line 4307
4307
4308<script type="9506a0549efbd9a352f2d304-text/javascript" src="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/requirejs/require.min.js"></script>
vendor: 1 bytes, line 4308
4308
4309<script type="9506a0549efbd9a352f2d304-text/javascript" src="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/requirejs-min-resolver.min.js"></script>
vendor: 1 bytes, line 4309
4309
4310<script type="9506a0549efbd9a352f2d304-text/javascript" src="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/js/bundle/bundle0.min.js"></script>
vendor: 1 bytes, line 4310
4310
4311<script type="9506a0549efbd9a352f2d304-text/javascript" src="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/js/bundle/bundle1.min.js"></script>
vendor: 1 bytes, line 4311
4311
4312<script type="9506a0549efbd9a352f2d304-text/javascript" src="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/js/bundle/bundle2.min.js"></script>
vendor: 1 bytes, line 4312
4312
4313<script type="9506a0549efbd9a352f2d304-text/javascript" src="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/js/bundle/bundle3.min.js"></script>
vendor: 1 bytes, line 4313
4313
4314<script type="9506a0549efbd9a352f2d304-text/javascript" src="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/js/bundle/bundle4.min.js"></script>
vendor: 1 bytes, line 4314
4314
4315<script type="9506a0549efbd9a352f2d304-text/javascript" src="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/js/bundle/bundle5.min.js"></script>
vendor: 1 bytes, line 4315
4315
4316<script type="9506a0549efbd9a352f2d304-text/javascript" src="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/js/bundle/bundle6.min.js"></script>
vendor: 1 bytes, line 4316
4316
4317<script type="9506a0549efbd9a352f2d304-text/javascript" src="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/js/bundle/bundle7.min.js"></script>
vendor: 1 bytes, line 4317
4317
4318<script type="9506a0549efbd9a352f2d304-text/javascript" src="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/js/bundle/bundle8.min.js"></script>
vendor: 1 bytes, line 4318
4318
4319<script type="9506a0549efbd9a352f2d304-text/javascript" src="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/mage/requirejs/static.min.js"></script>
vendor: 1 bytes, line 4319
4319
4320<script type="9506a0549efbd9a352f2d304-text/javascript" src="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/mage/requirejs/mixins.min.js"></script>
vendor: 1 bytes, line 4320
4320
4321<script type="9506a0549efbd9a352f2d304-text/javascript" src="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/requirejs-config.min.js"></script>
vendor: 1 bytes, line 4321
4321
4322<script type="9506a0549efbd9a352f2d304-text/javascript" src="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/Solwin_ScrolltoTop/js/scroll.min.js"></script>
vendor: 1 bytes, line 4322
4322
4323<script type="9506a0549efbd9a352f2d304-text/javascript" src="https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/Solwin_Cpanel/js/adbeaut-customjs.min.js"></script>
vendor: 1 bytes, line 4323
4323
4324<script type="9506a0549efbd9a352f2d304-text/javascript" src="https://assets.emarsys.net/web-emarsys-sdk/4.5.0/web-emarsys-sdk.js" async>
4325</script>
vendor: 1 bytes, line 4325
4325
4326<script type="9506a0549efbd9a352f2d304-text/javascript">(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
4327new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
4328j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
4329'/proh/?id='+i+dl;f.parentNode.insertBefore(j,f);
4330})(window,document,'script','dataLayer','GTM-NMBD4CD');</script>
vendor: 1 bytes, line 4330
4330
4331<script type="9506a0549efbd9a352f2d304-text/javascript">
4332        require(['jquery'], function ($) {
4333            var str= $(".page-title").text();
4334            $(".page-title").text(str.replace('- Costway', ''));
4335        })
4336    </script>
vendor: 1 bytes, line 4336
4336
4337<script type="9506a0549efbd9a352f2d304-text/javascript">
4338        require(['jquery'], function ($) {
4339            var str= $(".page-title span").text();
4340            $(".page-title span").text(str.replace('- Costway', ''));
4341        })
4342    </script>
vendor: 1 bytes, line 4342
4342
4343<script type="text/x-magento-init">
4344        {
4345            "*": {
4346                "Magento_PageCache/js/form-key-provider": {}
4347            }
4348        }
4349    </script>
vendor: 1 bytes, line 4349
4349
4350<script data-rocketjavascript="false" type="9506a0549efbd9a352f2d304-text/javascript">
4351    var MagefanWebP = {
4352
4353        _canUseWebP: null,
4354
4355        getUserAgentInfo: function(){
4356            try {
4357                var ua = navigator.userAgent,
4358                    tem,
4359                    M = ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || [];
4360                if (/trident/i.test(M[1])) {
4361                    tem = /\brv[ :]+(\d+)/g.exec(ua) || [];
4362                    return ['IE', (tem[1] || '')];
4363                }
4364                if (M[1] === 'Chrome') {
4365                    tem = ua.match(/\b(OPR|Edge)\/(\d+)/);
4366                    if (tem != null) {
4367                        tem = tem.slice(1);
4368                        tem[0] = tem[0].replace('OPR', 'Opera');
4369                        return tem;
4370                    }
4371                }
4372                M = M[2] ? [M[1], M[2]] : [navigator.appName, navigator.appVersion, '-?'];
4373                if ((tem = ua.match(/version\/(\d+)/i)) != null) M.splice(1, 1, tem[1]);
4374                return M;
4375             } catch (e) {
4376                return ['', 0];
4377             }
4378        },
4379
4380        canUseWebP: function(){
4381
4382            if (null !== this._canUseWebP){
4383                return this._canUseWebP;
4384            }
4385
4386            try {
4387                var elem = document.createElement('canvas');
4388                if (!!(elem.getContext && elem.getContext('2d'))) {
4389                    var r = (elem.toDataURL('image/webp').indexOf('data:image/webp') == 0);
4390                    if (!r) {
4391                        var ua = this.getUserAgentInfo();
4392                        if (ua && ua.length > 1) {
4393                            ua[0] = ua[0].toLowerCase();
4394                            if ('firefox' == ua[0] && parseInt(ua[1]) >= 65) {
4395                                this._canUseWebP = true;
4396                                return this._canUseWebP;
4397                            }
4398                            if ('edge' == ua[0] && parseInt(ua[1]) >= 18) {
4399                                this._canUseWebP = true;
4400                                return this._canUseWebP;
4401                            }
4402                        }
4403                    }
4404
4405                    this._canUseWebP = r;
4406                    return this._canUseWebP;
4407                }
4408                this._canUseWebP = false;
4409                return this._canUseWebP;
4410            } catch (e) {
4411                console.log(e);
4412                this._canUseWebP = false;
4413                return this._canUseWebP;
4414            }
4415        },
4416
4417        getOriginWebPImage: function(src) {
4418
4419            if (src.indexOf('mf_webp') == -1) {
4420                return src;
4421            }
4422
4423            var $array = src.split('/');
4424            var $imageFormat = '';
4425
4426            for (var i = 0; i < $array.length; i++) {
4427                if ($array[i] == "mf_webp") {
4428                    $imageFormat = $array[i + 1];
4429                    $array.splice(i, 3);
4430                    break;
4431                }
4432            }
4433            src = $array.join('/');
4434            return src.replace('.webp', '.' + $imageFormat);
4435        },
4436
4437        getWebUrl: function (imageUrl) {
4438            /* @var string */
4439            imageUrl = imageUrl.trim();
4440            var baseUrl = 'https://www.costway.es/';
4441            var imageFormat = imageUrl.split('.').pop();
4442            var mediaBaseUrl = 'https://www.costway.es/media/';
4443            var staticBaseUrl = 'https://www.costway.es/static/';
4444
4445            if (imageUrl.indexOf(mediaBaseUrl) == -1 && imageUrl.indexOf(staticBaseUrl) == -1) {
4446                return false;
4447            }
4448
4449            var imagePath = imageUrl;
4450            imagePath = imagePath.replace(mediaBaseUrl, 'media/');
4451            imagePath = imagePath.replace(staticBaseUrl, 'static/');
4452            imagePath = imagePath.replace(baseUrl + 'pub/media/', 'media/');
4453            imagePath = imagePath.replace(baseUrl + 'pub/static/', 'static/');
4454            imagePath = imagePath.replace(/\.(jpg|jpeg|png|JPG|JPEG|PNG|gif|GIF)/i, '.webp');
4455            imagePath = mediaBaseUrl + 'mf_webp/' + imageFormat + '/' + imagePath;
4456            imagePath = imagePath.replace('%20', ' ');
4457            imagePath = imagePath.replace(/version\d{10}\//g, '');
4458            return imagePath;
4459        }
4460    };
4461
4462    /* MagicToolboxContainer Fix */
4463    function MagefanWebPMagicToolboxContainerFix()
4464    {
4465        if (!MagefanWebP.canUseWebP()) {
4466            (function(){
4467                var i;
4468                var els = document.querySelectorAll(".MagicToolboxContainer a, .MagicToolboxContainer img");
4469                if (!els) return;
4470                var el;
4471                for (i=0; i<els.length; i++) {
4472                    el = els[i];
4473                    if (el.href) {
4474                        el.href = MagefanWebP.getOriginWebPImage(el.href);
4475                    }
4476
4477                    if (el.getAttribute('webpimg')) {
4478                        el.src = MagefanWebP.getOriginWebPImage(el.getAttribute('webpimg'));
4479                    } else {
4480                        if (el.src) {
4481                            el.src = MagefanWebP.getOriginWebPImage(el.src);
4482                        }
4483                    }
4484
4485                    if (el.dataset && el.dataset.image) {
4486                        el.dataset.image = MagefanWebP.getOriginWebPImage(el.dataset.image);
4487                    }
4488
4489                }
4490            })();
4491        } else {
4492            replacePixelMagicToolbox();
4493            checkIfPixelReplaced();
4494        }
4495    }
4496
4497    function replacePixelMagicToolbox() {
4498        (function() {
4499            var i, els = document.querySelectorAll(".MagicToolboxContainer img");
4500
4501            if (!els) return;
4502            var el;
4503
4504            for (i=0; i<els.length; i++) {
4505                el = els[i];
4506
4507                if (el.getAttribute('webpimg')) {
4508                    el.src = el.getAttribute('webpimg');
4509                }
4510            }
4511        })();
4512    }
4513
4514    function checkIfPixelReplaced() {
4515        var intervalCounter = 0,
4516            waitForMagicToolbox = setInterval(function() {
4517                if (document.querySelectorAll('figure img[src$="/p.jpg"]').length) {
4518                   replacePixelMagicToolbox();
4519                   clearInterval(waitForMagicToolbox);
4520                }
4521
4522                if (intervalCounter > 10) {
4523                    clearInterval(waitForMagicToolbox);
4524                }
4525
4526                intervalCounter++;
4527            }, 500);
4528    }
4529
4530    document.addEventListener("DOMContentLoaded", function(){
4531        if (!MagefanWebP.canUseWebP()) {
4532            document.body.className += ' no-webp ';
4533
4534             (function(){
4535                var i;
4536                var els = document.querySelectorAll('a[href$=".webp"]');
4537                if (!els) return;
4538                var el;
4539                for (i=0; i<els.length; i++) {
4540                    el = els[i];
4541                    if (el.href) {
4542                        el.href = MagefanWebP.getOriginWebPImage(el.href);
4543                    }
4544                }
4545            })();
4546            
4547        } else {
4548            document.body.className += ' webp-supported ';
4549        }
4550    });
4551</script>
vendor: 1 bytes, line 4551
4551
4552<script type="9506a0549efbd9a352f2d304-text/javascript">
4553    require(['jquery', 'domReady!'], function($){
4554        if (!MagefanWebP.canUseWebP()) {
4555            /* Replace some custom webp images with original one if webp is not supported */
4556            /* Can add <a> tag in future as well */
4557            setInterval(function(){
4558                $("img[src$='.webp']:not(.no-origin-webp-img)").each(function(){
4559                    var $t = $(this);
4560                    var scr = $t.attr('src');
4561                    var newScr = MagefanWebP.getOriginWebPImage(scr);
4562
4563                    if (scr != newScr) {
4564                        $t.attr('src', newScr);
4565                    } else {
4566                        $t.addClass('no-origin-webp-img');
4567                    }
4568                });
4569            }, 1000);
4570        }
4571
4572        function processLazyPictureImg()
4573        {
4574            var $t = $(this);
4575            var src = $t.attr('src');
4576            var keys = ['original', 'src', 'lazyload'];
4577            var original, _original;
4578            for (var i=0;i<keys.length;i++) {
4579                _original = $t.data(keys[i]);
4580                if (_original) {
4581                    original = _original;
4582                    break;
4583                }
4584            }
4585            if (original == src) {
4586
4587                if ($t.data('mf-lazy-picture-img')) return;
4588                $t.data('mf-lazy-picture-img', 1);
4589
4590                $t.parent().find('source').each(function(){
4591                    var $s = $(this);
4592                    var srcset = $s.attr('srcset');
4593                    var originalset = $s.data('originalset');
4594                    if (originalset != srcset) {
4595                        $s.attr('srcset', originalset);
4596                        $s.removeClass('lazyload');
4597                    }
4598                });
4599                $t.parents('.lazy-loader').removeClass('lazy-loader');
4600                $("picture img[src='"+src+"']").each(processLazyPictureImg);
4601            }
4602        }
4603
4604        $('picture img[data-original],picture img[data-src],picture img[data-lazyload]')
4605            .on('load', processLazyPictureImg)
4606            .each(processLazyPictureImg);
4607    });
4608</script>
vendor: 1 bytes, line 4608
4608
4609<script type="9506a0549efbd9a352f2d304-text/javascript">
4610        require([
4611            'jquery'
4612        ], function () {
4613            jQuery("body").addClass("bh-type-" +4);
4614        });
4615    </script>
vendor: 1 bytes, line 4615
4615
4616<script type="9506a0549efbd9a352f2d304-text/javascript">
4617    require([
4618    'jquery',
4619    'domReady!'
4620    ], function ($) {
4621        $('.cus-ajax-loader').fadeOut("slow");
4622    });
4623    </script>
vendor: 1 bytes, line 4623
4623
4624<script type="9506a0549efbd9a352f2d304-text/javascript">
4625require(['jquery'], function () {
4626    jQuery(document).ready(function() {
4627        if(jQuery(".block-reorder").find('.block-content.no-display').length > 0) {
4628          jQuery(".block.block-reorder").hide();
4629        }
4630        if (jQuery.trim(jQuery('.sidebar-main .account-nav #account-nav').text()).length == 0 ) {
4631          jQuery(".sidebar-main .account-nav").hide();
4632        }
4633    });
4634});
4635</script>
vendor: 1 bytes, line 4635
4635
4636<script type="9506a0549efbd9a352f2d304-text/javascript">
4637require(['jquery', 'jquery.lazyload.min'], function ($) {
4638    if (typeof $.fn.lazyload !== 'undefined') {
4639        $('img.lazy').lazyload({
4640            failurelimit: 8,
4641        });
4642
4643        $("[data-bg]").lazyload({
4644            effect: "fadeIn", // 可选的淡入效果
4645            appear: function () {
4646                $(this).css("background-image", "url('" + $(this).data("bg") + "')");
4647            }
4648        });
4649    }
4650});
4651</script>
vendor: 1 bytes, line 4651
4651
4652<script type="text&#x2F;javascript">document.querySelector("#cookie-status").style.display = "none";</script>
vendor: 1 bytes, line 4652
4652
4653<script type="text/x-magento-init">
4654    {
4655        "*": {
4656            "cookieStatus": {}
4657        }
4658    }
4659</script>
vendor: 1 bytes, line 4659
4659
4660<script type="text/x-magento-init">
4661    {
4662        "*": {
4663            "mage/cookies": {
4664                "expires": null,
4665                "path": "\u002F",
4666                "domain": ".www.costway.es",
4667                "secure": false,
4668                "lifetime": "604800"
4669            }
4670        }
4671    }
4672</script>
vendor: 1 bytes, line 4672
4672
4673<script type="9506a0549efbd9a352f2d304-text/javascript">    require.config({
4674        map: {
4675            '*': {
4676                wysiwygAdapter: 'mage/adminhtml/wysiwyg/tiny_mce/tinymce4Adapter'
4677            }
4678        }
4679    });</script>
vendor: 1 bytes, line 4679
4679
4680<script type="9506a0549efbd9a352f2d304-text/javascript">
4681    require(['jquery', 'mage/cookies'], function($,cookies) {
4682        //注册
4683        if($.mage.cookies.get('onceCostwayTrackingRegister')){
4684            window.dataLayer = window.dataLayer || [];
4685            window.dataLayer.push({
4686                'event': 'register_success',
4687                'method': 'joinfreebtn'
4688            });
4689            console.log('register_success! ' + 'joinfreebtn');
4690        }
4691        //订阅
4692        if($.mage.cookies.get('NewsletterSubscriberSuccessType')){
4693            var method = $.mage.cookies.get('NewsletterSubscriberSuccessType');
4694            var email = $.mage.cookies.get('NewsletterSubscriberSuccessEmail');
4695            window.dataLayer = window.dataLayer || [];
4696            window.dataLayer.push({
4697                'event' : 'subs_success',
4698                'method': method,
4699                'email' : email
4700            });
4701            console.log('newsletter_success! ' + method);
4702            //清除cookie
4703            $.mage.cookies.clear('NewsletterSubscriberSuccessType');
4704        }
4705   });
4706</script>
vendor: 1 bytes, line 4706
4706
4707<script type="9506a0549efbd9a352f2d304-text/javascript">
4708    var country_code = 'US';
4709
4710    function getLocalStorageItem(key, defaultValue = '') {
4711        return localStorage.getItem(key) || defaultValue;
4712    }
4713    var customer_email = "" ? "" : getLocalStorageItem('subscriber_email');
4714    var customer_id = "" ? "" : getLocalStorageItem('subscriber_customer_id');
4715        var md5_email = "";
4716
4717
4718    // Block Firday 
4719    var blockFirdayServerTime = "2026-10-08 00:33:28";
4720    function isServerTimeInRange(serverTimeString) {
4721        const startTimeString = '2024-10-21 00:00:00';
4722        const endTimeString = '2024-12-09 02:59:59';
4723        const serverTime = new Date(serverTimeString).getTime();
4724        const startTime = new Date(startTimeString).getTime();
4725        const endTime = new Date(endTimeString).getTime();
4726        return serverTime >= startTime && serverTime <= endTime;
4727    }
4728    // Block Firday end
4729    
4730    //安装数据埋点库
4731    window.customGlobalParams = {
4732        email: '' ? '' : getLocalStorageItem('subscriber_email'),
4733        customerId:'' ? '' : getLocalStorageItem('subscriber_customer_id'),
4734        quoteId:''
4735    }; 
4736    var _isLogin =0; //判断是否登陆            
4737    if(_isLogin){
4738        localStorage.removeItem('subscriber_email')
4739        localStorage.removeItem('subscriber_customer_id')
4740    }
4741
4742    require(['jquery', 'mage/cookies'], function($,cookies) {
4743        $(document).ready(function() {
4744            //  登录事件
4745            if($.mage.cookies.get('onceCostwayTrackingLogin') || $.mage.cookies.get('onceCostwayTrackingRegister')){
4746                window.dataLayer = window.dataLayer || [];
4747                dataLayer.push({
4748                    "event": "login",
4749                    "customer_id": customer_id,
4750                    "customer_email": customer_email
4751                });
4752                console.log('login success!');
4753                window.trackCustomEvent('login', {"email":customer_email})
4754                $.mage.cookies.clear('onceCostwayTrackingLogin');
4755            }
4756
4757            //  注册订阅事件
4758            if($.mage.cookies.get('onceCTRegisterSubscriber')){
4759                window.trackCustomEvent('subscription_for_login', {"email":customer_email})
4760                $.mage.cookies.clear('onceCTRegisterSubscriber');
4761            }
4762
4763            //  注册事件
4764            if($.mage.cookies.get('onceCostwayTrackingRegister')){
4765                window.trackCustomEvent('registered', {"email":customer_email})
4766                $.mage.cookies.clear('onceCostwayTrackingRegister');
4767            }
4768
4769            //  个人中心订阅事件 点击update保存手机订阅
4770            const sms_subscription_save_val = $.mage.cookies.get('sms_save_status');
4771            if(sms_subscription_save_val){
4772                const sms_subscription_save = sms_subscription_save_val === "1" ? "success_true" : 'success_false';
4773                window.trackCustomEvent('sms_subscription_save', {"data":sms_subscription_save});
4774                $.mage.cookies.clear('sms_save_status');
4775            }
4776
4777            //  个人中心订阅事件 点击update保存邮件订阅
4778            const email_subscription_save_val = $.mage.cookies.get('subscriber_save_status');
4779            if(email_subscription_save_val){
4780                const email_subscription_save = email_subscription_save_val === "1" ? "success_true" : 'success_false';
4781                window.trackCustomEvent('email_subscription_save', {"data":email_subscription_save});
4782                $.mage.cookies.clear('subscriber_save_status');
4783            }
4784
4785            //  个人中心订阅事件 提交手机号后的接口返回
4786            const customer_phone_save_status_val = $.mage.cookies.get('customer_phone_save_status');
4787            if(customer_phone_save_status_val){
4788                const customer_phone_save_status = customer_phone_save_status_val === "1" ? "submit_success" : 'submit_fail';
4789                window.trackCustomEvent('phone_submit_result', {"data":customer_phone_save_status});
4790                $.mage.cookies.clear('customer_phone_save_status');
4791            }
4792
4793            if (typeof ScarabQueue !== 'undefined' && ScarabQueue.push) {                
4794                if(customer_id){
4795                    ScarabQueue.push(["setCustomerId", `ES_${customer_id}`]);
4796                    ScarabQueue.push(['go']);
4797                }  
4798            }
4799
4800            // 登陆/退出后清除邮箱
4801            if(window._isLogin){
4802                 document.cookie = 'global_subscribe_email=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=' + window.location.hostname;
4803            }else{
4804                document.cookie = 'logged_subscribe_email=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=' + window.location.hostname;
4805            }
4806        })
4807
4808        window.addEventListener('beforeunload', function (event) {
4809            $.mage.cookies.clear('onceCostwayTrackingLogin');
4810            $.mage.cookies.clear('onceCTRegisterSubscriber');
4811        });
4812        
4813    })    
4814</script>
vendor: 1 bytes, line 4814
4814
4815<script type="text/x-magento-init">
4816    {
4817        "*": {
4818            "Magento_Ui/js/core/app": {
4819                "components": {
4820                    "customer": {
4821                        "component": "Magento_Customer/js/view/customer"
4822                    }
4823                }
4824            }
4825        }
4826    }
4827    </script>
vendor: 1 bytes, line 4827
4827
4828<script type="text/x-magento-init">
4829    {
4830        "*": {
4831            "Magento_Ui/js/core/app": {
4832                "components": {
4833                    "wishlist": {
4834                        "component": "Magento_Wishlist/js/view/wishlist"
4835                    }
4836                }
4837            }
4838        }
4839    }
4840
4841</script>
vendor: 1 bytes, line 4841
4841
4842<script type="9506a0549efbd9a352f2d304-text/javascript">
4843        window.checkout = {"shoppingCartUrl":"https:\/\/www.costway.es\/checkout\/cart\/","checkoutUrl":"https:\/\/www.costway.es\/checkout\/","updateItemQtyUrl":"https:\/\/www.costway.es\/checkout\/sidebar\/updateItemQty\/","removeItemUrl":"https:\/\/www.costway.es\/checkout\/sidebar\/removeItem\/","imageTemplate":"Magento_Catalog\/product\/image_with_borders","baseUrl":"https:\/\/www.costway.es\/","minicartMaxItemsVisible":5,"websiteId":"1","maxItemsToDisplay":10,"storeId":"1","storeGroupId":"1","customerLoginUrl":"https:\/\/www.costway.es\/customer\/account\/login\/referer\/aHR0cHM6Ly93d3cuY29zdHdheS5lcy9jdXN0b21lci9hY2NvdW50L2xvZ2luLw%2C%2C\/","isRedirectRequired":false,"autocomplete":"off","captcha":{"user_login":{"isCaseSensitive":false,"imageHeight":50,"imageSrc":"","refreshUrl":"https:\/\/www.costway.es\/captcha\/refresh\/","isRequired":false,"timestamp":1791412408}}};
4844    </script>
vendor: 1 bytes, line 4844
4844
4845<script type="text/x-magento-init">
4846    {
4847        "[data-block='minicart']": {
4848            "Magento_Ui/js/core/app": {"components":{"minicart_content":{"children":{"subtotal.container":{"children":{"subtotal":{"children":{"subtotal.totals":{"config":{"display_cart_subtotal_incl_tax":0,"display_cart_subtotal_excl_tax":1,"template":"Magento_Tax\/checkout\/minicart\/subtotal\/totals"},"children":{"subtotal.totals.msrp":{"component":"Magento_Msrp\/js\/view\/checkout\/minicart\/subtotal\/totals","config":{"displayArea":"minicart-subtotal-hidden","template":"Magento_Msrp\/checkout\/minicart\/subtotal\/totals"}}},"component":"Magento_Tax\/js\/view\/checkout\/minicart\/subtotal\/totals"}},"component":"uiComponent","config":{"template":"Magento_Checkout\/minicart\/subtotal"}}},"component":"uiComponent","config":{"displayArea":"subtotalContainer"}},"item.renderer":{"component":"Magento_Checkout\/js\/view\/cart-item-renderer","config":{"displayArea":"defaultRenderer","template":"Magento_Checkout\/minicart\/item\/default"},"children":{"item.image":{"component":"Magento_Catalog\/js\/view\/image","config":{"template":"Magento_Catalog\/product\/image","displayArea":"itemImage"}},"checkout.cart.item.price.sidebar":{"component":"uiComponent","config":{"template":"Magento_Checkout\/minicart\/item\/price","displayArea":"priceSidebar"}}}},"extra_info":{"component":"uiComponent","config":{"displayArea":"extraInfo"}},"promotion":{"component":"uiComponent","config":{"displayArea":"promotion"}}},"config":{"itemRenderer":{"default":"defaultRenderer","simple":"defaultRenderer","virtual":"defaultRenderer"},"template":"Magento_Checkout\/minicart\/content"},"component":"Magento_Checkout\/js\/view\/minicart"}},"types":[]}        },
4849        "*": {
4850            "Magento_Ui/js/block-loader": "https://www.costway.es/static/version1791345286/frontend/default/hooya/es_ES/images/loader-1.gif"
4851        }
4852    }
4853    </script>
vendor: 1 bytes, line 4853
4853
4854<script type="9506a0549efbd9a352f2d304-text/javascript">
4855    require([
4856        'Amasty_Xsearch/js/form-mini',
4857    ], function (autoComplete, searchClick) {
4858        'use strict';
4859        window.xsearch_options = {"url":"https:\/\/www.costway.es\/amasty_xsearch\/autocomplete\/index\/","isDynamicWidth":true,"isProductBlockEnabled":true,"width":900,"minChars":3,"currentUrlEncoded":"aHR0cHM6Ly93d3cuY29zdHdheS5lcy9jdXN0b21lci9hY2NvdW50L2xvZ2lu"};
4860    })
4861</script>
vendor: 1 bytes, line 4861
4861
4862<script type="text/x-magento-init">
4863    {
4864        "*": {
4865            "amastyXsearchAnalyticsCollector": {}
4866        }
4867    }
4868</script>
vendor: 1 bytes, line 4868
4868
4869<script type="9506a0549efbd9a352f2d304-text/javascript">
4870require(['jquery','swiper.min'], function($, Swiper) {
4871    $(document).ready(function () {
4872        var p_w = $(window).width();
4873        var $headerWidget = $('.header-widget:visible');
4874
4875        if (!$headerWidget.length) {
4876            return;
4877        }
4878
4879        var headerAdWidget = new Swiper($headerWidget[0], {
4880            direction: 'vertical',
4881            wrapperClass: 'header-lb',
4882            slideClass: 'slide-item',
4883
4884            loop: $headerWidget.find('.slide-item').length > 1,
4885
4886            speed: 600,
4887            slidesPerView: 1,
4888            spaceBetween: 0,
4889            mousewheel: false,
4890
4891            autoplay: {
4892                delay: 3000,
4893                disableOnInteraction: false
4894            },
4895
4896            pagination: false,
4897            navigation: false,
4898
4899            lazy: {
4900                loadPrevNext: true,
4901                loadOnTransitionStart: true
4902            }
4903        });
4904
4905        // 初始化后立即停止自动播放
4906        if (headerAdWidget.autoplay) {
4907            headerAdWidget.autoplay.stop();
4908        }
4909
4910        // 浏览器空闲时再开始自动播放
4911        function startAutoplay() {
4912            if (headerAdWidget && headerAdWidget.autoplay) {
4913                headerAdWidget.autoplay.start();
4914            }
4915        }
4916
4917        if ('requestIdleCallback' in window) {
4918            requestIdleCallback(startAutoplay, {
4919                timeout: 1500
4920            });
4921        } else {
4922            setTimeout(startAutoplay, 500);
4923        }
4924
4925        if(p_w >= 768) {
4926            // 鼠标移入暂停
4927            $headerWidget.on('mouseenter', function () {
4928                if (headerAdWidget.autoplay) {
4929                    headerAdWidget.autoplay.stop();
4930                }
4931            });
4932
4933            // 鼠标移出继续
4934            $headerWidget.on('mouseleave', function () {
4935                if (headerAdWidget.autoplay) {
4936                    headerAdWidget.autoplay.start();
4937                }
4938            });
4939        }
4940
4941    });
4942})
4943</script>
vendor: 1 bytes, line 4943
4943
4944<script type="9506a0549efbd9a352f2d304-text/javascript">
4945 require(['jquery', 'domReady!'], function ($) {
4946    var pullCmpConsentView = false; // 是否已经触发过 cmp_consent_view 事件
4947    var eventDelegationBound = false; // 事件委托是否已绑定
4948   
4949    
4950    // 在 shadowRoot 上使用事件委托处理所有点击事件
4951    function bindEventDelegation(shadowRoot) {
4952        if (eventDelegationBound) return;
4953        
4954        shadowRoot.addEventListener('click', (event) => {
4955            const target = event.target;
4956            
4957                       
4958            // 「接受全部」按钮
4959            if (target.id === 'cmpwelcomebtnyes' || target.closest('#cmpwelcomebtnyes')) {
4960                console.log('点击「接受全部」');
4961                window.trackCustomEvent("cmp_consent_accept");
4962                return;
4963            }
4964            
4965            // 「拒绝全部」按钮
4966            if (target.id === 'cmpwelcomebtnno' || target.closest('#cmpwelcomebtnno')) {
4967                console.log('点击「拒绝全部」');
4968                window.trackCustomEvent("cmp_consent_reject");
4969                return;
4970            }
4971            
4972            // 「保存并退出」按钮
4973            if (target.id === 'cmpwelcomebtnsave' || target.closest('#cmpwelcomebtnsave')) {
4974                console.log('点击「保存并退出」',getCustomizeCategories());
4975                window.trackCustomEvent("cmp_consent_save&exit", {                  
4976                    "consent_categories": getCustomizeCategories()
4977                });
4978                return;
4979            }
4980            
4981            // 「设置/自定义」按钮 
4982            if (target.id === 'cmpcustomchoiceslink' ||  target.closest('#cmpcustomchoiceslink') || target.classList.contains('cmptxt_btn_custom') || target.closest('.cmptxt_btn_custom') || target.classList.contains('cmptxt_btn_settings') || target.closest('.cmptxt_btn_settings')) {
4983                console.log('点击「设置/自定义」按钮');
4984                window.trackCustomEvent("cmp_consent_customize");
4985                return;
4986            }
4987            
4988            // 自定义页面的「保存并退出」按钮
4989            if (target.classList.contains('cmptxt_btn_save') || 
4990                target.closest('.cmptxt_btn_save')) {
4991                console.log('自定义 点击「保存并退出」',getCustomizeCategories());
4992                window.trackCustomEvent("cmp_consent_saved", {                  
4993                    "consent_categories": getCustomizeCategories()
4994                });
4995                return;
4996            }
4997            
4998            // 自定义页面的「接受全部」按钮
4999            if (target.classList.contains('cmptxt_btn_yes') || 
5000                target.closest('.cmptxt_btn_yes')) {
5001                console.log('自定义 点击「接受全部」');
5002                window.trackCustomEvent("cmp_consent_accept", {
5003                    "from": "customize"
5004                });
5005                return;
5006            }           
5007
5008
5009        }, true); // 使用捕获阶段,确保能捕获到所有点击
5010        
5011        eventDelegationBound = true;
5012    }
5013
5014    // 获取自定义类别的选择状态
5015    function getCustomizeCategories(){
5016      if(window.cmpmngr && window.cmpmngr.purposes){
5017            const purposes = window.cmpmngr.purposes.reduce((acc, purpose) => {
5018              const key = purpose.nameTrans.toLowerCase();
5019                // consentStatus 为 1 表示 true,0 表示 false
5020                acc[key] = purpose.consentStatus === 1;
5021                return acc;
5022              }, {});
5023            return purposes;
5024      } else{
5025        return {};
5026      }
5027    }
5028    
5029    // 处理 shadowRoot 内部的内容
5030    function handleShadowRootContent(cmpwrapper) {
5031        const shadowRoot = cmpwrapper.shadowRoot;
5032        if (!shadowRoot) return;
5033        
5034        console.log('shadowRoot 已经挂载到 #cmpwrapper');
5035        const cmpbox = shadowRoot.querySelector('#cmpbox');
5036        if (!cmpbox || cmpbox.style.display === 'none') {
5037            // 隐私弹窗关闭后,重置变量,等待下次打开
5038            pullCmpConsentView = true;
5039        }
5040        
5041        // 绑定事件委托(只绑定一次)
5042        bindEventDelegation(shadowRoot);
5043        
5044        // 显示隐私弹窗事件(只触发一次)
5045        if (pullCmpConsentView === false) {
5046            console.log('隐私弹窗展示');
5047            window.trackCustomEvent("cmp_consent_view");
5048            pullCmpConsentView = true;
5049        }
5050    }
5051    
5052    // 观察 #cmpwrapper 元素内部变化
5053    function observeCmpWrapper(cmpwrapper) {
5054        const cmpwrapperObserver = new MutationObserver((mutations) => {
5055            if (cmpwrapper.shadowRoot) {
5056                handleShadowRootContent(cmpwrapper);
5057            }
5058        });       
5059       
5060        cmpwrapperObserver.observe(cmpwrapper, {
5061            attributes: true,
5062            childList: true,
5063            subtree: true
5064        });
5065
5066        if (cmpwrapper.shadowRoot) {
5067            handleShadowRootContent(cmpwrapper);
5068        }
5069    }
5070    
5071    // 查找 #cmpwrapper 元素
5072    const cmpwrapper = document.querySelector('#cmpwrapper');
5073    
5074    if (cmpwrapper) {
5075        observeCmpWrapper(cmpwrapper);
5076    } else {
5077        const bodyObserver = new MutationObserver((mutations) => {
5078            const cmpwrapper = document.querySelector('#cmpwrapper');
5079            if (cmpwrapper) {
5080                bodyObserver.disconnect();
5081                observeCmpWrapper(cmpwrapper);
5082            }
5083        });
5084        
5085        bodyObserver.observe(document.body, {
5086            childList: true,
5087            subtree: true
5088        });
5089    }    
5090});
5091</script>
vendor: 1 bytes, line 5091
5091
5092<script type="9506a0549efbd9a352f2d304-text/javascript">
5093require(['jquery', 'toastr', 'domReady!'], function ($, toastr) {
5094    var heiwuEnd = 1;
5095    var toastrOptions = {
5096        "closeButton": false,
5097        "debug": false,
5098        "newestOnTop": false,
5099        "progressBar": false,
5100        "positionClass": "toast-top-center",
5101        "preventDuplicates": true,
5102        "onclick": null,
5103        "showDuration": "300",
5104        "hideDuration": "1000",
5105        "timeOut": "3000",
5106        "extendedTimeOut": "1000",
5107        "showEasing": "swing",
5108        "hideEasing": "linear",
5109        "showMethod": "fadeIn",
5110        "hideMethod": "fadeOut"
5111    };
5112         
5113    const $html = $('html');
5114    const _hashtag = heiwuEnd ? '#CostwayFinds #costwayes' : '#costwayblackfriday';
5115
5116    var isMobile = $(window).width() <= 750;
5117    let isFirstShare = false;
5118    
5119    // 生成分享模态框HTML --------------------------------------
5120    function generateShareModal(shareData,isHasShare) {
5121        const baseImages = shareData.base_images || [];
5122        const imagesHtml = generateProductImages(baseImages);
5123
5124         const html = heiwuEnd ? `<div class="bfth-share-modal heiwu-end ${isHasShare ? 'no-first-share' : ''} active">
5125            <div class="bfth-share-modal-main">
5126                <button class="bfth-share-modal-close" id="bfthShareCloseBtn">
5127                    <svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
5128                        <path d="M20.1936 0C19.9801 9.72748e-05 19.7754 0.0849991 19.6244 0.236034L0.235752 19.6258C0.161008 19.7006 0.101718 19.7893 0.0612674 19.887C0.0208171 19.9846 -1.47302e-06 20.0893 0 20.195C1.47317e-06 20.3007 0.0208231 20.4054 0.0612762 20.5031C0.101729 20.6007 0.161022 20.6895 0.235768 20.7642C0.310514 20.839 0.39925 20.8983 0.496909 20.9387C0.594569 20.9792 0.699239 21 0.804945 21C0.91065 21 1.01532 20.9792 1.11298 20.9387C1.21064 20.8983 1.29937 20.839 1.37411 20.7642L20.7645 1.37278C20.8757 1.25967 20.9511 1.11628 20.9813 0.960526C21.0115 0.804773 20.9952 0.643574 20.9342 0.49708C20.8733 0.350588 20.7706 0.225304 20.6389 0.136892C20.5071 0.048481 20.3523 0.000865936 20.1936 0Z" fill="white" />
5129                        <path d="M0.807946 7.62939e-06C0.648242 -0.000709534 0.49194 0.0461464 0.358953 0.134607C0.225967 0.223068 0.122317 0.349129 0.0612086 0.496729C0.000100562 0.644327 -0.0156987 0.806786 0.0158236 0.963398C0.0473459 1.12001 0.124763 1.26369 0.23821 1.37614L19.6475 20.7899C19.8008 20.9295 20.002 21.0047 20.2093 20.9998C20.4165 20.9948 20.6139 20.9102 20.7604 20.7634C20.9069 20.6167 20.9913 20.4191 20.9959 20.2117C21.0005 20.0044 20.9251 19.8032 20.7852 19.6501L1.37768 0.236334C1.30293 0.161383 1.21413 0.101927 1.11636 0.0613728C1.01859 0.0208187 0.913785 -3.43323e-05 0.807946 7.62939e-06Z" fill="white" />
5130                    </svg>
5131                </button>
5132                <div class="bfth-share-modal-cen">
5133                    <h3>Comparte y Gana 400 Puntos</h3>
5134                    <p>* Tu amigo también recibe una oferta de bienvenida</p>
5135                    <div class="bfth-sm-product-item ${shareData.items > 1 ? "even": ""}">
5136                        <h4>¡Lo acabo de conseguir en <strong>Costway!</strong></h4>
5137                        <p>Escanea y consigue tu 15% DTO.</p>
5138                        <div class="bfth-sm-product-images">
5139                            ${imagesHtml}
5140                        </div>
5141                        <div class="bfth-sm-product-info">
5142                            <div><span>Número del pedido : </span><span>${shareData.increment_id}</span></div>
5143                            <div><span>${shareData.items} ${shareData.items > 1 ? " Artículos :" : " Artículo :"}
5144                            </span><span>${shareData.grand_total}</span></div>
5145                        </div>
5146                    </div>
5147                    <div class="bfth-sm-bottom-box">
5148                        <button class="bfth-sm-download-btn" id="bfthSmDownloadBtn">Descargar Póster</button>
5149                        <button class="bfth-sm-share-btn" id="bfthSmShareBtn">Compartir</button>
5150                    </div>
5151                </div>
5152            </div>
5153        </div>` : `
5154        <div class="bfth-share-modal ${isHasShare ? 'no-first-share' : ''} active">
5155            <div class="bfth-share-modal-main">
5156                <button class="bfth-share-modal-close" id="bfthShareCloseBtn">
5157                    <svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
5158                        <path d="M20.1936 0C19.9801 9.72748e-05 19.7754 0.0849991 19.6244 0.236034L0.235752 19.6258C0.161008 19.7006 0.101718 19.7893 0.0612674 19.887C0.0208171 19.9846 -1.47302e-06 20.0893 0 20.195C1.47317e-06 20.3007 0.0208231 20.4054 0.0612762 20.5031C0.101729 20.6007 0.161022 20.6895 0.235768 20.7642C0.310514 20.839 0.39925 20.8983 0.496909 20.9387C0.594569 20.9792 0.699239 21 0.804945 21C0.91065 21 1.01532 20.9792 1.11298 20.9387C1.21064 20.8983 1.29937 20.839 1.37411 20.7642L20.7645 1.37278C20.8757 1.25967 20.9511 1.11628 20.9813 0.960526C21.0115 0.804773 20.9952 0.643574 20.9342 0.49708C20.8733 0.350588 20.7706 0.225304 20.6389 0.136892C20.5071 0.048481 20.3523 0.000865936 20.1936 0Z" fill="white" />
5159                        <path d="M0.807946 7.62939e-06C0.648242 -0.000709534 0.49194 0.0461464 0.358953 0.134607C0.225967 0.223068 0.122317 0.349129 0.0612086 0.496729C0.000100562 0.644327 -0.0156987 0.806786 0.0158236 0.963398C0.0473459 1.12001 0.124763 1.26369 0.23821 1.37614L19.6475 20.7899C19.8008 20.9295 20.002 21.0047 20.2093 20.9998C20.4165 20.9948 20.6139 20.9102 20.7604 20.7634C20.9069 20.6167 20.9913 20.4191 20.9959 20.2117C21.0005 20.0044 20.9251 19.8032 20.7852 19.6501L1.37768 0.236334C1.30293 0.161383 1.21413 0.101927 1.11636 0.0613728C1.01859 0.0208187 0.913785 -3.43323e-05 0.807946 7.62939e-06Z" fill="white" />
5160                    </svg>
5161                </button>
5162                <div class="bfth-share-modal-cen">
5163                    <h3>Comparte y Gana 400 Antorchas</h3>
5164                    <p>Invita a tus amigos y recibe <strong>15%</strong> de reembolso</p>
5165                    <div class="bfth-sm-product-item ${shareData.items > 1 ? "even": ""}">
5166                        <h4>¡Lo acabo de conseguir en <strong>Costway !</strong></h4>
5167                        <div class="bfth-sm-product-images">
5168                            ${imagesHtml}
5169                        </div>
5170                        <div class="bfth-sm-product-info">
5171                            <div><span>Número del pedido : </span><span>${shareData.increment_id}</span></div>
5172                            <div><span>${shareData.items} ${shareData.items > 1 ? " Artículos :" : " Artículo :"}
5173                            </span><span>${shareData.grand_total}</span></div>
5174                        </div>
5175                    </div>
5176                    <div class="bfth-sm-bottom-box">
5177                        <button class="bfth-sm-download-btn" id="bfthSmDownloadBtn">Descargar Póster</button>
5178                        <button class="bfth-sm-share-btn" id="bfthSmShareBtn">Compartir</button>
5179                    </div>
5180                </div>
5181            </div>
5182        </div>
5183    `;
5184
5185        return html;
5186    }
5187
5188    // 生成产品图片HTML
5189    function generateProductImages(baseImages) {
5190        // if (!baseImages || baseImages.length === 0) {
5191        //     return '<img src="./pub/images/torch-hunt/p1.png" alt="">';
5192        // }
5193
5194        // 只有一张图时,不显示更多图片容器
5195        if (baseImages.length === 1) {
5196            return `<img src="${baseImages[0]}" alt="">`;
5197        }
5198
5199        // 多张图片的处理
5200        const mainImage = `<img src="${baseImages[0]}" alt="">`;
5201
5202        // 确定何时显示"..."
5203
5204        const showNum =  $(window).width() <= 750 ? 4 :  6
5205        const showMoreDots = baseImages.length > showNum;
5206
5207        // 生成更多图片项
5208        let moreItemsHtml = '';
5209        for (let i = 1; i < showNum ; i++) {
5210            moreItemsHtml += `<div class="bfth-sm-product-more-item"><img src="${baseImages[i]}" alt=""></div>`;
5211        }
5212
5213        if (showMoreDots) {
5214            moreItemsHtml += '<div class="bfth-sm-product-more-item">...</div>';
5215        }
5216
5217        return `
5218        ${mainImage}
5219        <div class="bfth-sm-product-more-img" >
5220            ${moreItemsHtml}
5221        </div>
5222    `;
5223    }
5224
5225    // 绑定事件
5226    function bindShareEvents(shareData, orderId,obj) {
5227        // 关闭按钮
5228        $(document).on('click', '#bfthShareCloseBtn', function () {
5229            $('.bfth-share-modal').remove();
5230             if(isMobile){
5231                $html[0].style.setProperty('overflow', '');
5232             }
5233        });
5234
5235        // 下载poster按钮
5236        $(document).on('click', '#bfthSmDownloadBtn', function () {
5237            handleShareButton("bfthSmDownloadBtn",shareData, orderId,obj);            
5238        });
5239
5240
5241        // 分享按钮
5242        $(document).on('click', '#bfthSmShareBtn', function () {
5243           handleShareButton("bfthSmShareBtn",shareData, orderId,obj);
5244        });
5245    }
5246    function setShareTextTitle(shareData){
5247        let text = '';
5248        if(heiwuEnd){
5249            text = "¡Lo acabo de conseguir en Costway! Mejoras para el hogar fáciles y accesibles.";
5250        }else{
5251            text = shareData.items > 1 ? "¡Lo acabo de conseguir en Costway! Los precios del Black Friday están locos—— cómpralo ahora antes de que se acabe." : "¡Lo acabo de conseguir en Costway! Los precios del Black Friday están locos—— cómpralo ahora antes de que se acabe.";
5252        }
5253
5254        return text;
5255    }   
5256
5257    // 移动端系统分享
5258    async function shareToSystemShare(shareData) {
5259        try {
5260            if (!navigator.share) {
5261                 toastr['warning']("Il tuo browser non supporta l'operazione di condivisione.", '', toastrOptions);
5262                return ;
5263            }
5264           
5265            const imageUrl = shareData.poster_image;
5266                // 请求图片为 blob
5267            const response = await fetch(imageUrl);
5268            const blob = await response.blob();
5269
5270            // 从 URL 提取文件名
5271            const fileName = imageUrl.split('/').pop();
5272            const $name = heiwuEnd ? "¡Lo acabo de conseguir en Costway! Mejoras para el hogar fáciles y accesibles.png" : "Los precios del Black Friday están locos—— cómpralo ahora antes de que se acabe.png";
5273            const file = new File([blob],$name, { type: blob.type });
5274            // 检查浏览器是否支持 share(files)
5275            if (navigator.canShare && navigator.canShare({ files: [file] })) {
5276                await navigator.share({
5277                    title: setShareTextTitle(shareData) + _hashtag,
5278                    text: setShareTextTitle(shareData) + _hashtag,
5279                    files: [file],
5280                });
5281                
5282            } else {
5283                // 不支持文件时,只分享文字和链接
5284                await navigator.share({
5285                    title: setShareTextTitle(shareData) + _hashtag,
5286                    text: setShareTextTitle(shareData) + _hashtag,
5287                });
5288            }
5289        
5290            
5291            removeButtonTips();
5292            // toastr['success']("分享成功", '', toastrOptions);
5293            window.trackCustomEvent("bf_share_invoke", {
5294                type: "webshareapi",
5295                data: "success",
5296            });
5297        } catch (error) {
5298            console.error(error);
5299            if (error.name !== 'AbortError') {
5300                // toastr['error']("分享失败,请重试", '', toastrOptions);
5301            }
5302            window.trackCustomEvent("bf_share_invoke", {
5303                type: "webshareapi",
5304                data: "fail",
5305            });
5306        }
5307        showSharedTipsModal();
5308    }
5309
5310    function removeButtonTips(){
5311        if(/^\/sales\/order\/history\/?$/.test(window.location.pathname)){
5312            $('.order-share').addClass("share")
5313        }
5314        $('.share-my-order-event').addClass("share")
5315    }
5316
5317    function showSharedTipsModal(){
5318        let $title = "";
5319        let $text = "";
5320        let $submitBtn = "";
5321        if(heiwuEnd){
5322            $title ="¡Compartido con éxito!";
5323            $text = isFirstShare ? `<p class="text"><span class="t1">+ </span><span class="t2"><img class="points" src="https://cdn1.costway.de/public/blackfri
5323day/torch-hunt/points-icon.png" alt="" ><span class="color">400</span><span  class="t1"> Puntos</span></span></p>` : "";
5324            $submitBtn = "OK";
5325        }else{
5326            $title = "¡Compartido con éxito!";
5327            $text = isFirstShare ? `<p class="text"><span class="t1">+ </span><span class="t2"><img class="fire" src="https://cdn1.costway.de/public/blackfriday/torch-hunt/fire-icon.png" alt="" ><span class="color">400</span><span  class="t1"> antorchas</span></span></p>` : "";
5328            $submitBtn = "OK";
5329        }
5330        // 弹窗 HTML 代码
5331        const popupHTML = `
5332        <div class="hooya-modal-wrapper shared-success-modal show" id="shared-success-modal">
5333            <div class="hooya-modal-content">      
5334                <div class="shared-success-modal-cen">    
5335                    <div class="icon">
5336                        <svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
5337                        <circle cx="20" cy="20" r="20" fill="#0BC063"/>
5338                        <path d="M9.41406 20.5878L16.809 27.0584L28.2376 14.1172" stroke="white" stroke-width="3.52941"/>
5339                        </svg>
5340                    </div>
5341                    <h4 class="title">${$title}</h4>
5342                    ${$text}
5343                    <button class="ok-button" type="button">${$submitBtn}</button>
5344                </div>
5345            </div>
5346        </div>
5347        `;
5348        $('.bfth-share-modal').remove();
5349        // 将弹窗插入页面
5350        $('body').append(popupHTML);
5351        $html[0].style.setProperty('overflow', 'hidden', 'important');
5352
5353        // 绑定表单提交事件
5354        $('#shared-success-modal .ok-button').on('click', function (e) {
5355            e.preventDefault(); // 阻止默认提交行为
5356            $html[0].style.setProperty('overflow', '');
5357            $('#shared-success-modal').remove();
5358        });
5359    }
5360
5361    // PC端Facebook分享
5362    function shareToFacebook(shareData,orderId) {
5363        const dualScreenLeft = window.screenLeft !== undefined ? window.screenLeft : window.screenX;
5364        const dualScreenTop = window.screenTop !== undefined ? window.screenTop : window.screenY;
5365        const w= 800,h=500;
5366        const width = window.innerWidth || document.documentElement.clientWidth || screen.width;
5367        const height = window.innerHeight || document.documentElement.clientHeight || screen.height;
5368
5369        const left = (width - w) / 2 + dualScreenLeft;
5370        const top = (height - h) / 2 + dualScreenTop;
5371
5372        const _href = window.location.origin + `/activity/order/shareview/incrementid-${orderId}/source-${isMobile ? "mb" : "pc"}`;// 分享中间页面
5373        const shareUrl =
5374            `https://www.facebook.com/dialog/share` +
5375            `?app_id=348494614492027` +
5376            `&display=popup` +
5377            `&href=${encodeURIComponent(_href)}` +
5378            `&redirect_uri=${encodeURIComponent(_href)}`;
5379          
5380        const fbSharePopup =  window.open(
5381            shareUrl,
5382            'fbShareWindow',
5383            `width=${w},height=${h},top=${top},left=${left},scrollbars=yes,resizable=yes`
5384        );
5385
5386        const timer = setInterval(() => {
5387            if (fbSharePopup.closed) {
5388                clearInterval(timer);
5389                showSharedTipsModal();            
5390            }
5391        }, 500);
5392        
5393         window.trackCustomEvent("bf_share_invoke",{
5394                "type":"facebook",
5395                "data":"success"
5396        });
5397
5398    }
5399    /**
5400     * 获取是否成功分享
5401     */
5402     function handleShareButton(buttonType,shareData, orderId,obj){
5403        const buttonObj = $("#" + buttonType);
5404        $.ajax({
5405            url: '/rest/V1/hooya/activity/share',
5406            type: 'POST',
5407            contentType: 'application/json',
5408            beforeSend: function () {
5409                obj.prop("disabled", true);
5410                buttonObj.prop("disabled", true);
5411            },
5412            data: JSON.stringify({
5413                incrementId: orderId
5414            }),
5415            dataType: 'json',
5416            success: function (response) {
5417                if (response.success ) {
5418                    if(buttonType === "bfthSmDownloadBtn"){
5419                            const posterImage = shareData.poster_image;
5420                            if (!posterImage) {
5421                                console.error("海报为空")
5422                                // toastr['warning']("海报暂时不可用", '', toastrOptions);
5423                                return;
5424                            }
5425                            const fileName = posterImage.split('/').pop();
5426                            // 创建隐藏的a标签用于下载
5427                            const link = document.createElement('a');
5428                            link.href = posterImage;
5429                            link.download = fileName;
5430                            document.body.appendChild(link);
5431                            link.click();
5432                            document.body.removeChild(link);
5433                            // 下载海报
5434                            window.trackCustomEvent("bf_poster_download");
5435                            // 显示成功提示                            
5436                            if(!heiwuEnd){
5437                                toastr['success']("Póster del pedido guardado", '', toastrOptions);
5438                            }else{  
5439                                toastr['success']("Póster del pedido guardado", '', toastrOptions);
5440                            }
5441                    }
5442                    
5443                    if(buttonType === "bfthSmShareBtn"){
5444                        // 判断是否为移动端
5445                        if (isMobile) {
5446                            // 移动端:调用系统自带分享功能
5447                          shareToSystemShare(shareData,orderId);
5448                        } else {
5449                            // PC端:保留现有Facebook分享逻辑
5450                            shareToFacebook(shareData,orderId);
5451                        }
5452                    }                   
5453
5454                    if(!heiwuEnd){
5455                        try {
5456                            window.getBfthTorchDetails();
5457                        } catch (error) {
5458                            console.error("火炬详情接口请求失败");
5459                        }
5460                    }
5461
5462                    removeButtonTips()
5463
5464                } else {                   
5465                    // toastr['error']("获取数据失败", '', toastrOptions);
5466                    window.trackCustomEvent("bf_share_invoke",{
5467                        "type":"facebook",
5468                        "data":"fail"
5469                    });
5470                }
5471                obj.prop("disabled", false);
5472                buttonObj.prop("disabled", false);
5473            },
5474            error: function (xhr, status, error) {
5475                obj.prop("disabled", false);
5476                buttonObj.prop("disabled", false);
5477                // toastr['error']("请求失败", '', toastrOptions);
5478                window.trackCustomEvent("bf_share_invoke",{
5479                    "type":"facebook",
5480                    "data":"fail"
5481                });
5482            }
5483        });
5484    }
5485
5486    // POST请求获取分享数据
5487    function requestShareData(orderId, obj) {
5488        if (!orderId) return;
5489        $.ajax({
5490            url: '/rest/V1/hooya/activity/share-info',
5491            type: 'POST',
5492            contentType: 'application/json',
5493            beforeSend: function () {
5494                obj.prop("disabled", true);
5495            },
5496            data: JSON.stringify({
5497                incrementId: orderId
5498            }),
5499            dataType: 'json',
5500            success: function (response) {
5501                if (response.success && response.share_data) {
5502                    const shareData = response.share_data;                  
5503
5504                    // 生成HTML模态框
5505                    const html = generateShareModal(shareData,obj.hasClass("share"));
5506                    // 移除旧的模态框和事件监听
5507                    $('.bfth-share-modal').remove();
5508                    $(document).off('click', '#bfthShareCloseBtn');
5509                    $(document).off('click', '#bfthSmDownloadBtn');
5510                    $(document).off('click', '#bfthSmShareBtn');
5511                    // 插入到body最后面
5512                    $('body').append(html);                    
5513                    
5514                    // 显示模态框
5515                    $('.bfth-share-modal').addClass('active');
5516                    if(isMobile){
5517                        $html[0].style.setProperty('overflow', 'hidden', 'important');
5518                    }                   
5519                    
5520                    obj.prop("disabled", false);
5521                    // 绑定事件
5522                    bindShareEvents(shareData, orderId,obj);
5523
5524                    // 结算成功页、我的订单页 Share 按钮曝光
5525                    
5526                    window.trackCustomEvent("bf_share_cta_click",{
5527                        "location":obj.data("location"),
5528                        "data":obj.hasClass("share") ? "first_share_false":"first_share_true",
5529                        "data1": shareData.poster_image ? "poster_template_success":"poster_template_fail"
5530                    })
5531
5532                } else {
5533                    obj.prop("disabled", false);
5534                    console.error("获取share-info数据失败");
5535                    
5536                    // toastr['error']("获取数据失败", '', toastrOptions);
5537                }
5538            },
5539            error: function (xhr, status, error) {
5540                obj.prop("disabled", false);
5541                console.error("获取share-info数据失败");
5542                // toastr['error']("请求失败", '', toastrOptions);
5543            }
5544        });
5545    }
5546
5547    function showOrderLogInPopup(orderId, btnObj) {
5548        const t1 = heiwuEnd ? `<span class="t1">Compartir & Ganar </span><span class="t2"><img src="https://cdn1.costway.com/media/blackfriday/torch-hunt/points-icon.png" alt="" ><span class="color">400</span> <span> Puntos</span></span>` :`<span class="t1">Compartir & Ganar </span><span class="t2"><img src="https://cdn1.costway.de/public/blackfriday/torch-hunt/fire-icon.png" alt="" ><span class="color">400</span> <span> Antorchas</span></span>`;
5549        const btnText_1 = heiwuEnd ? "Inicia sesión y gana 400 Puntos" :"Inicia sesión y gana 400 Antorchas";
5550        const btnText_2 = "Comparte sin iniciar sesión";
5551        // 弹窗 HTML 代码
5552        const popupHTML = `<div class="hooya-modal-wrapper log-in-modal show" id="log-in-modal">
5553    <div class="hooya-modal-content">
5554        <button class="close-btn">
5555            <svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
5556                <path
5557                    d="M20.1936 0C19.9801 9.72748e-05 19.7754 0.0849991 19.6244 0.236034L0.235752 19.6258C0.161008 19.7006 0.101718 19.7893 0.0612674 19.887C0.0208171 19.9846 -1.47302e-06 20.0893 0 20.195C1.47317e-06 20.3007 0.0208231 20.4054 0.0612762 20.5031C0.101729 20.6007 0.161022 20.6895 0.235768 20.7642C0.310514 20.839 0.39925 20.8983 0.496909 20.9387C0.594569 20.9792 0.699239 21 0.804945 21C0.91065 21 1.01532 20.9792 1.11298 20.9387C1.21064 20.8983 1.29937 20.839 1.37411 20.7642L20.7645 1.37278C20.8757 1.25967 20.9511 1.11628 20.9813 0.960526C21.0115 0.804773 20.9952 0.643574 20.9342 0.49708C20.8733 0.350588 20.7706 0.225304 20.6389 0.136892C20.5071 0.048481 20.3523 0.000865936 20.1936 0Z"
5558                    fill="white" />
5559                <path
5560                    d="M0.807946 7.62939e-06C0.648242 -0.000709534 0.49194 0.0461464 0.358953 0.134607C0.225967 0.223068 0.122317 0.349129 0.0612086 0.496729C0.
5560000100562 0.644327 -0.0156987 0.806786 0.0158236 0.963398C0.0473459 1.12001 0.124763 1.26369 0.23821 1.37614L19.6475 20.7899C19.8008 20.9295 20.002 21.0047 20.2093 20.9998C20.4165 20.9948 20.6139 20.9102 20.7604 20.7634C20.9069 20.6167 20.9913 20.4191 20.9959 20.2117C21.0005 20.0044 20.9251 19.8032 20.7852 19.6501L1.37768 0.236334C1.30293 0.161383 1.21413 0.101927 1.11636 0.0613728C1.01859 0.0208187 0.913785 -3.43323e-05 0.807946 7.62939e-06Z"
5561                    fill="white" />
5562            </svg>
5563        </button>
5564        <div class="log-in-modal-cen">           
5565           <p class="des">${t1}</p>
5566            <button class="log-in-button" type="button">${btnText_1}</button>
5567            <button class="share-button" type="button">${btnText_2}</button>
5568        </div>
5569    </div>
5570</div>
5571    `;
5572
5573        // 将弹窗插入页面
5574        $('body').append(popupHTML);
5575        $html[0].style.setProperty('overflow', 'hidden', 'important');
5576
5577        
5578        $('#log-in-modal .close-btn').on('click', function (e) {
5579            e.preventDefault(); 
5580            $html[0].style.setProperty('overflow', '');
5581            $('#log-in-modal').remove();
5582        });
5583
5584        $('#log-in-modal .log-in-button').on('click', function (e) {
5585            e.preventDefault(); 
5586            if (typeof window.trackCustomEvent === 'function') {
5587                window.trackCustomEvent("guest_share_popup_cta_click", {
5588                    "data": "login_get_400 "
5589                });
5590            }
5591            $(this).prop("disabled", true);
5592            $('#log-in-modal').remove();
5593             window.location.href = '/sales/order/history/?entrypoint=success-share-my-order';
5594        });
5595
5596
5597        $('#log-in-modal .share-button').on('click', function (e) {
5598            e.preventDefault();
5599            if (typeof window.trackCustomEvent === 'function') {
5600                window.trackCustomEvent("guest_share_popup_cta_click", {
5601                    "data": "share_without_login"
5602                });
5603            }
5604            $(this).prop("disabled", true);
5605            $('#log-in-modal').remove();
5606            requestShareData(orderId, btnObj);
5607        });
5608    }
5609
5610    $(".share-my-order-event").on("click", function () {
5611        const orderId = $(this).data("orderid");
5612        isFirstShare = $(this).hasClass("share") ? false : true;
5613        if($(this).data("location") === "pay_result" &&  !window._isLogin){
5614            // window.location.href = '/sales/order/history/?entrypoint=success-share-my-order';
5615            showOrderLogInPopup(orderId, $(this));
5616        }else{
5617            requestShareData(orderId, $(this));
5618        }
5619                
5620    })
5621})
5622</script>
vendor: 1 bytes, line 5622
5622
5623<script type="9506a0549efbd9a352f2d304-text/javascript">
5624    require(['jquery'], function ($) {
5625        $('.share-title').on('click', function() {
5626            $('.mask-share').show();
5627            $('.product-reward-points-share').addClass('show');
5628        })
5629    })
5630</script>
vendor: 1 bytes, line 5630
5630
5631<script type="text/x-magento-init">
5632    {
5633        "*": {
5634            "Magento_Ui/js/core/app": {
5635                "components": {
5636                        "messages": {
5637                            "component": "Magento_Theme/js/view/messages"
5638                        }
5639                    }
5640                }
5641            }
5642    }
5643</script>
vendor: 1 bytes, line 5643
5643
5644<script type="9506a0549efbd9a352f2d304-text/javascript">window.authenticationPopup = {"autocomplete":"off","customerRegisterUrl":"https:\/\/www.costway.es\/customer\/account\/create\/","customerForgotPasswordUrl":"https:\/\/www.costway.es\/customer\/account\/forgotpassword\/","baseUrl":"https:\/\/www.costway.es\/"}</script>
vendor: 1 bytes, line 5644
5644
5645<script type="text/x-magento-init">
5646        {
5647            "#authenticationPopup": {
5648                "Magento_Ui/js/core/app": {"components":{"authenticationPopup":{"component":"Magento_Customer\/js\/view\/authentication-popup","children":{"messages":{"component":"Magento_Ui\/js\/view\/messages","displayArea":"messages"},"captcha":{"component":"Magento_Captcha\/js\/view\/checkout\/loginCaptcha","displayArea":"additional-login-form-fields","formId":"user_login","configSource":"checkout"},"amazon-button":{"component":"Amazon_Login\/js\/view\/login-button-wrapper","sortOrder":"0","displayArea":"additional-login-form-fields","config":{"tooltip":"Inicia sesi\u00f3n con seguridad en tu sitio web utilizando tus credenciales de Amazon.","componentDisabled":true}},"social-buttons":{"component":"Mageplaza_SocialLogin\/js\/view\/social-buttons","displayArea":"before"}}}}}            },
5649            "*": {
5650                "Magento_Ui/js/block-loader": "https\u003A\u002F\u002Fwww.costway.es\u002Fstatic\u002Fversion1791345286\u002Ffrontend\u002Fdefault\u002Fhooya\u002Fes_ES\u002Fimages\u002Floader\u002D1.gif"
5651            }
5652        }
5653    </script>
vendor: 1 bytes, line 5653
5653
5654<script type="text/x-magento-init">
5655    {
5656        "*": {
5657            "Magento_Customer/js/section-config": {
5658                "sections": {"stores\/store\/switch":["*"],"stores\/store\/switchrequest":["*"],"directory\/currency\/switch":["*"],"*":["messages"],"customer\/account\/logout":["*","recently_viewed_product","recently_compared_product","persistent"],"customer\/account\/loginpost":["*"],"customer\/account\/createpost":["*"],"customer\/account\/editpost":["*"],"customer\/ajax\/login":["checkout-data","cart","captcha"],"catalog\/product_compare\/add":["compare-products"],"catalog\/product_compare\/remove":["compare-products"],"catalog\/product_compare\/clear":["compare-products"],"sales\/guest\/reorder":["cart"],"sales\/order\/reorder":["cart"],"checkout\/cart\/add":["cart","directory-data","magepal-gtm-jsdatalayer"],"checkout\/cart\/delete":["cart","magepal-gtm-jsdatalayer"],"checkout\/cart\/updatepost":["cart","magepal-gtm-jsdatalayer"],"checkout\/cart\/updateitemoptions":["cart","magepal-gtm-jsdatalayer"],"checkout\/cart\/couponpost":["cart","magepal-gtm-jsdatalayer"],"checkout\/cart\/estimatepost":["cart","magepal-gtm-jsdatalayer"],"checkout\/cart\/estimateupdatepost":["cart","magepal-gtm-jsdatalayer"],"checkout\/onepage\/saveorder":["cart","checkout-data","last-ordered-items","magepal-gtm-jsdatalayer"],"checkout\/sidebar\/removeitem":["cart","magepal-gtm-jsdatalayer"],"checkout\/sidebar\/updateitemqty":["cart","magepal-gtm-jsdatalayer"],"rest\/*\/v1\/carts\/*\/payment-information":["cart","last-ordered-items","instant-purchase","magepal-gtm-jsdatalayer"],"rest\/*\/v1\/guest-carts\/*\/payment-information":["cart","magepal-gtm-jsdatalayer"],"rest\/*\/v1\/guest-carts\/*\/selected-payment-method":["cart","checkout-data","magepal-gtm-jsdatalayer"],"rest\/*\/v1\/carts\/*\/selected-payment-method":["cart","checkout-data","instant-purchase","magepal-gtm-jsdatalayer"],"customer\/address\/*":["instant-purchase"],"customer\/account\/*":["instant-purchase"],"vault\/cards\/deleteaction":["instant-purchase"],"multishipping\/checkout\/overviewpost":["cart"],"paypal\/express\/placeorder":["cart","checkout-data"],"paypal\/payflowexpress\/placeorder":["cart","checkout-data"],"paypal\/express\/onauthorization":["cart","checkout-data"],"persistent\/index\/unsetcookie":["persistent"],"review\/product\/post":["review"],"wishlist\/index\/add":["wishlist"],"wishlist\/index\/remove":["wishlist"],"wishlist\/index\/updateitemoptions":["wishlist"],"wishlist\/index\/update":["wishlist"],"wishlist\/index\/cart":["wishlist","cart"],"wishlist\/index\/fromcart":["wishlist","cart"],"wishlist\/index\/allcart":["wishlist","cart"],"wishlist\/shared\/allcart":["wishlist","cart"],"wishlist\/shared\/cart":["cart"],"aw_rewardpoints\/cart\/remove":["cart"],"rest\/*\/v1\/carts\/*\/apply-aw-reward-points":["cart"],"rest\/*\/v1\/carts\/*\/remove-aw-reward-points":["cart"],"ammostviewed\/cart\/add":["cart","messages"],"sociallogin\/popup\/create":["checkout-data","cart"],"braintree\/paypal\/placeorder":["cart","checkout-data"],"braintree\/googlepay\/placeorder":["cart","checkout-data"]},
5659                "clientSideSections": ["checkout-data","cart-data","chatData"],
5660                "baseUrls": ["https:\/\/www.costway.es\/","http:\/\/www.costway.es\/"],
5661                "sectionNames": ["messages","customer","compare-products","last-ordered-items","cart","directory-data","captcha","instant-purchase","loggedAsCustomer","persistent","review","wishlist","chatData","recently_viewed_product","recently_compared_product","product_data_storage","paypal-billing-agreement","magepal-gtm-jsdatalayer"]            }
5662        }
5663    }
5664</script>
vendor: 1 bytes, line 5664
5664
5665<script type="text/x-magento-init">
5666    {
5667        "*": {
5668            "Magento_Customer/js/customer-data": {
5669                "sectionLoadUrl": "https\u003A\u002F\u002Fwww.costway.es\u002Fcustomer\u002Fsection\u002Fload\u002F",
5670                "expirableSectionLifetime": 1440,
5671                "expirableSectionNames": ["cart","persistent"],
5672                "cookieLifeTime": "604800",
5673                "updateSessionUrl": "https\u003A\u002F\u002Fwww.costway.es\u002Fcustomer\u002Faccount\u002FupdateSession\u002F"
5674            }
5675        }
5676    }
5677</script>
vendor: 1 bytes, line 5677
5677
5678<script type="text/x-magento-init">
5679    {
5680        "*": {
5681            "Magento_Customer/js/invalidation-processor": {
5682                "invalidationRules": {
5683                    "website-rule": {
5684                        "Magento_Customer/js/invalidation-rules/website-rule": {
5685                            "scopeConfig": {
5686                                "websiteId": "1"
5687                            }
5688                        }
5689                    }
5690                }
5691            }
5692        }
5693    }
5694</script>
vendor: 1 bytes, line 5694
5694
5695<script type="text/x-magento-init">
5696    {
5697        "body": {
5698            "pageCache": {"url":"https:\/\/www.costway.es\/page_cache\/block\/render\/","handles":["default","customer_account_login"],"originalRequest":{"route":"customer","controller":"account","action":"login","uri":"\/customer\/account\/login"},"versionCookieName":"private_content_version"}        }
5699    }
5700</script>
vendor: 1 bytes, line 5700
5700
5701<script type="text/x-magento-init">
5702    {
5703        "body": {
5704            "awRewardPointsAjax": {"url":"https:\/\/www.costway.es\/aw_rewardpoints\/block\/render\/","originalRequest":{"route":"customer","controller":"account","action":"login","uri":"\/customer\/account\/login"}}        }
5705    }
5706</script>
vendor: 1 bytes, line 5706
5706
5707<script type="text/x-magento-init">
5708    {
5709        "*": {
5710            "catalogNewList": {}
5711        }
5712    }
5713</script>
vendor: 1 bytes, line 5713
5713
5714<script type="9506a0549efbd9a352f2d304-text/javascript">
5715    require(['jquery','rememberTooltip'], function($,initRememberMeTooltips) {
5716
5717        // 获取 URL 中的参数值,处理 email 参数中的多个问号情况
5718        function getUrlParameter(name) {
5719            name = name.replace(/[\[]/, '\\[').replace(/[\]]/, '\\]');
5720            var regex = new RegExp('[\\?&]' + name + '=([^&#?]*)');
5721            var results = regex.exec(location.search);
5722            return results === null ? '' : decodeURIComponent(results[1].split('?')[0].replace(/\+/g, ' '));
5723        }
5724
5725        // 检查 URL 中是否有 email 参数
5726        var emailParam = getUrlParameter('email');
5727
5728        // 如果有 email 参数,则将其值赋给相应的 input 元素
5729        if(emailParam !== '') {
5730            $('input[name="login[username]"]').val(emailParam);
5731        }
5732
5733        initRememberMeTooltips();
5734
5735         //  提交时推事件
5736        $('#login-form').on('submit', function(e) {
5737            e.preventDefault();
5738            var remember_me = $('input[name="remember_me"]').filter(':visible').is(':checked');
5739            if (typeof window.trackCustomEvent === 'function' && remember_me !== undefined) {
5740                window.trackCustomEvent('login_rememberme', remember_me ? "true" : "false");
5741            }
5742            this.submit();
5743        });
5744        
5745    });
5746</script>
vendor: 1 bytes, line 5746
5746
5747<script type="text/x-magento-init">
5748        {
5749            "*": {
5750                "Magento_Customer/js/block-submit-on-send": {
5751                    "formId": "login-form"
5752                }
5753            }
5754        }
5755    </script>
vendor: 1 bytes, line 5755
5755
5756<script type="text/x-magento-init">
5757    {
5758        "body": {
5759            "requireCookie": {"noCookieUrl":"https:\/\/www.costway.es\/cookie\/index\/noCookies\/","triggers":[".action.login"],"isRedirectCmsPage":true}        }
5760    }
5761</script>
vendor: 1 bytes, line 5761
5761
5762<script type="9506a0549efbd9a352f2d304-text/javascript">
5763    window.dataLayer = window.dataLayer || [];
5764    window.dataLayer.push({
5765        'event': 'login_path',
5766        'method': 'joinfreebtn'
5767    });
5768</script>
vendor: 1 bytes, line 5768
5768
5769<script type="9506a0549efbd9a352f2d304-text/javascript">
5770  require(["jquery","subscribeModal","Message"], function($){
5771    $(document).ready(function () {
5772      var emailReg = /^([a-z0-9,!\#\$%&'\*\+\/=\?\^_`\{\|\}~-]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z0-9,!\#\$%&'\*\+\/=\?\^_`\{\|\}~-]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*@([a-z0-9-]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z0-9-]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*\.(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]){2,})$/i;
5773      $('#newsletter-validate-detail').submit(function(event) {
5774        event.preventDefault();
5775        var email = $('#newsletter').val();
5776        if (email == '') {
5777          $('.newsletter-errortips').text('Este es un campo obligatorio.');
5778          $('.newsletter_v2 .control,.subscribe-placehoder').addClass('error');
5779          return;
5780        }
5781        if(emailReg.test(email) == false || emailReg.test(email) == 'undefined') {
5782          $('.newsletter-errortips').text('Introduzca una dirección de correo electrónico válida (Ej., [email protected]).');
5783          $('.newsletter_v2 .control,.subscribe-placehoder').addClass('error');
5784          return;
5785        }
5786        
5787          $.ajax({
5788            url:  '/newsletter/subscriber/new/',
5789            data: {
5790              email: email,
5791              type:'subsfrom_foot',
5792              device: $(window).width() >750 ?'pc':'mb'
5793            },
5794            type: 'POST',
5795            async: true,
5796            dataType : "json",
5797            beforeSend:function(){
5798              $('.input-group-btn .subscribe').css('opacity','0.5').attr('disabled',true);
5799              $('.input-group-btn .subscribe').prepend('<span class="ant-btn-loading-icon"><span role="img" aria-label="loading" class="anticon anticon-loading anticon-spin"><svg focusable="false" data-icon="loading" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="0 0 1024 1024"><path d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"></path></svg></span></span>')
5800            },
5801            success: function(data){
5802              window.handleSubscribeModalResult(data,'subsfrom_foot',email)
5803            },
5804            error: function (data) {
5805              $('.input-group-btn .subscribe').css('opacity','1').attr('disabled',false);
5806              console.info("error: " + data.responseText);
5807            },
5808            complete:function(){
5809              $('#newsletter-validate-detail #newsletter').val('');
5810              $('.input-group-btn .subscribe').css('opacity','1').attr('disabled',false);
5811              $('#newsletter-validate-detail .ant-btn-loading-icon').remove();
5812            }
5813          });        
5814      })
5815      $('#newsletter').focus(function() {
5816        $(this).attr("placeholder", "");
5817        $('.subscribe-placehoder').css({"display":"block"});
5818      })
5819      $('#newsletter').blur(function() {
5820        if (!$(this).val()) {
5821          $(this).attr("placeholder", "Correo Electrónico");
5822          $('.subscribe-placehoder').css({"display":"none"});
5823          $('.newsletter_v2 .control,.subscribe-placehoder').removeClass('error');
5824        }
5825      })
5826      $('#newsletter').bind('input propertychange', function() {
5827        $('.newsletter-errortips').text('');
5828        $('.newsletter_v2 .control,.subscribe-placehoder').removeClass('error');
5829        if ($('#newsletter').val() !== '') {
5830          $('.subscribe-close').css({'display':'block'});
5831        } else {
5832          $('.subscribe-close').css({'display':'none'});
5833        }
5834      })
5835      $('.subscribe-close').click(function() {
5836        $('.subscribe-placehoder').css({"display":"none"});
5837        $('#newsletter').attr("placeholder", "Correo Electrónico");
5838        $('#newsletter').val('');
5839        $(this).css({"display":"none"});
5840        $('.newsletter-errortips').text('');
5841        $('.newsletter_v2 .control,.subscribe-placehoder').removeClass('error');
5842      })
5843    });
5844  });
5845</script>
vendor: 1 bytes, line 5845
5845
5846<script src="https://apis.google.com/js/platform.js" async defer type="9506a0549efbd9a352f2d304-text/javascript"></script>
vendor: 1 bytes, line 5846
5846
5847<script type="9506a0549efbd9a352f2d304-text/javascript">
5848            window.___gcfg = {
5849              lang: 'es'
5850            };
5851          </script>
vendor: 1 bytes, line 5851
5851
5852<script type="9506a0549efbd9a352f2d304-text/javascript">
5853  require(['jquery'], function($) {
5854    $(document).ready(function() {
5855      const _pw = $(window).width();
5856      if(_pw<=980){
5857        $('.footer-menu dt').on('click', function () {
5858          $(this).parent().toggleClass('show').siblings().removeClass('show');
5859        })
5860      }
5861      window._isLogin = 0; //判断是否登陆
5862      window._is_subscribe = 0; //判断登陆用户订阅状态
5863
5864      $('.sidebar-popup-wrapper .close, .sidebar-popup-wrapper .cmpboxBG, .attributes-popup-main .confirm-btn').on('click', function() {
5865        hideProdetailCoupons()
5866      })
5867
5868      function hideProdetailCoupons() {
5869        $('.sidebar-popup-wrapper .cmpboxBG').hide();
5870        if (_pw >= 767) {
5871          $(".sidebar-popup-main").animate({
5872            right: '-380px'
5873          });
5874        } else {
5875          $(".sidebar-popup-main").animate({
5876            bottom: '-550px'
5877          });
5878        }
5879      }
5880
5881      $('.common-pop .close').on('click', function () {
5882          $('.common-pop').hide();
5883      });
5884
5885    })
5886
5887  })
5888</script>
vendor: 1 bytes, line 5888
5888
5889<script type="9506a0549efbd9a352f2d304-text/javascript">
5890       require(['jquery', 'jqueryScrollbar', 'domReady!'], function ($) {
5891            $(document).ready(function () {
5892                // 创建弹窗HTML
5893      function createInviteModal() {
5894        const modalHTML = `
5895          <div class="activity-rules-wrapper invite-friends-modal" id="invite-friends-modal">
5896        <div class="activity-rules-content">
5897            <div class="popup-header">
5898                <div class="popup-title"></div>
5899                <button class="close-btn">
5900                    <svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
5901                        <path
5902                            d="M19.6203 0C19.4129 9.72748e-05 19.2139 0.0849991 19.0673 0.236034L0.229059 19.6258C0.156437 19.7006 0.0988299 19.7893 0.059528 19.887C0.0202261 19.9846 -1.4312e-06 20.0893 0 20.195C1.43135e-06 20.3007 0.0202319 20.4054 0.0595365 20.5031C0.098841 20.6007 0.15645 20.6895 0.229074 20.7642C0.301698 20.839 0.387915 20.8983 0.482802 20.9387C0.577689 20.9792 0.679388 21 0.782092 21C0.884796 21 0.986494 20.9792 1.08138 20.9387C1.17627 20.8983 1.26248 20.839 1.3351 20.7642L20.1749 1.37278C20.283 1.25967 20.3563 1.11628 20.3857 0.960526C20.415 0.804773 20.3991 0.643574 20.3399 0.49708C20.2807 0.350588 20.1809 0.225304 20.0529 0.136892C19.9249 0.048481 19.7744 0.000865936 19.6203 0Z"
5903                            fill="#fff" />
5904                        <path
5905                            d="M0.785008 7.62939e-06C0.629838 -0.000709534 0.477974 0.0461464 0.348762 0.134607C0.219551 0.223068 0.118844 0.349129 0.0594709 0.496729C9.77073e-05 0.644327 -0.015253 0.806786 0.0153744 0.963398C0.0460017 1.12001 0.12122 1.26369 0.231448 1.37614L19.0897 20.7899C19.2386 20.9295 19.4341 21.0047 19.6355 20.9998C19.8369 20.9948 20.0287 20.9102 20.171 20.7634C20.3134 20.6167 20.3953 20.4191 20.3998 20.2117C20.4043 20.0044 20.331 19.8032 20.1951 19.6501L1.33857 0.236334C1.26594 0.161383 1.17966 0.101927 1.08467 0.0613728C0.989674 0.0208187 0.887842 -3.43323e-05 0.785008 7.62939e-06Z"
5906                            fill="#fff" />
5907                    </svg>
5908                </button>
5909            </div>
5910            <div class="scrollbar-inner">
5911                <div class="popup-content">
5912                    <div class="invite-friends-main">
5913                        <p>1. Haz tu primer pedido.</p>
5914                        <p>2. Invita a tus amigos a comprar (¡sin límite de invitados!).</p>
5915                        <p>3. El pedido realizado antes será el del <strong>invitador</strong>, el posterior será el del <strong>invitado</strong> (según la fecha y hora del pedido).</p>
5916                        <p>4. Cuando ambos pedidos estén confirmados, envía a nuestro equipo de atención al cliente el correo y el número de pedido de tu amigo. (<a href="mailto:[email protected]">[email protected]</a>)</p>
5917                        <p>5. Tras la verificación, recibirás hasta un <strong>15% de reembolso</strong> sobre el valor del pedido de cada amigo invitado.</p>
5918                        <div class="bf-tips">
5919                          <p><strong>Consejo: </strong>entra en Mis pedidos o toca Compartir mi pedido para mostrarlo fácilmente en redes sociales.</p>
5920                        </div>
5921                    </div>
5922                    <div class="invite-friends-important-notes">
5923                        <h4>Importante:</h4>
5924                        <ul>
5925                            <li>El reembolso se entregará únicamente cuando ambos pedidos estén marcados como “<strong>Completo</strong>”.</li>
5926                            <li><strong>Solo se emitirá el reembolso al invitador después de la primera compra del invitado.</strong></li>
5927                            <li>El invitador no puede recibir un reembolso mayor que el subtotal de su propio pedido válido.</li>
5928                            <li>Si alguno de los pedidos es <strong>cancelado</strong>, no se concederá el reembolso.</li>
5929                            <li>En caso de <strong>devolución</strong>, el reembolso se ajustará de forma proporcional.</li>
5930                            <li>¡Cuantos más amigos invites, más dinero recuperas!</li>
5931                        </ul>
5932                    </div>
5933                </div>
5934            </div>
5935        </div>
5936    </div>
5937            `;
5938            $('body').append(modalHTML);
5939        }
5940
5941       
5942
5943                $(document).on('click', '#invite-friends-modal', function (e) {
5944                    if (!$(e.target).closest('.activity-rules-content').length) {
5945                        $(this).removeClass("show");
5946                    }
5947                });
5948                // 点击触发按钮显示弹窗
5949        $(document).on('click', "a[data-name='invite_friends_banner'],a[data-name='order_inv
5949ite_friends_banner']", function (e) {
5950            e.preventDefault();
5951            var clickType = $(this).data('name');
5952            showInviteFriendsmodal(clickType);
5953        });
5954
5955        // 点击关闭按钮
5956        $(document).on('click', "#invite-friends-modal .close-btn", function () {
5957            $("#invite-friends-modal").removeClass("show");
5958        });
5959
5960                function showInviteFriendsmodal(eventType = 'invite_friends_banner'){
5961                   // 初始化时创建弹窗 如果弹窗不存在,则添加到body
5962          if ($('#invite-friends-modal').length === 0) {
5963            createInviteModal();
5964          }
5965                  $('#invite-friends-modal .scrollbar-inner').scrollbar();
5966                  const images = $(window).width() <= 750  ? [
5967                        "https://cdn1.costway.de/public/blackfriday/torch-hunt/es/es-mb.png"
5968                    ] : [
5969                        "https://cdn1.costway.de/public/blackfriday/torch-hunt/es/es-pc.png"
5970                    ];
5971                    preloadImages(images, function() {
5972                $("#invite-friends-modal").addClass("show");
5973                if (eventType) {
5974                    window.trackCustomEvent(eventType);
5975                }
5976            });
5977                }
5978                window.showInviteFriendsmodal = showInviteFriendsmodal;
5979
5980                // 通用图片预加载函数
5981                function preloadImages(urls, callback) {
5982                    let loaded = 0;
5983                    const total = urls.length;
5984
5985                    urls.forEach(src => {
5986                        const img = new Image();
5987                        img.onload = check;
5988                        img.onerror = check;
5989                        img.src = src;
5990                        if (img.complete) {
5991                            check();
5992                        }
5993                    });
5994
5995                    function check() {
5996                        loaded++;
5997                        if (loaded === total && typeof callback === "function") {
5998                            callback();
5999                        }
6000                    }
6001                }
6002            });
6003        });
6004    </script>
vendor: 1 bytes, line 6004
6004
6005<script type="9506a0549efbd9a352f2d304-text/javascript">
6006  require(['listAddToCart'], function (listAddToCart) {
6007      listAddToCart({});
6008  });
6009</script>
vendor: 1 bytes, line 6009
6009
6010<script type="text/x-magento-init">
6011        {
6012            "*": {
6013                "Magento_Ui/js/core/app": {
6014                    "components": {
6015                        "storage-manager": {
6016                            "component": "Magento_Catalog/js/storage-manager",
6017                            "appendTo": "",
6018                            "storagesConfiguration" : {"recently_viewed_product":{"requestConfig":{"syncUrl":"https:\/\/www.costway.es\/catalog\/product\/frontend_action_synchronize\/"},"lifetime":"1000","allowToSendRequest":null},"recently_compared_product":{"requestConfig":{"syncUrl":"https:\/\/www.costway.es\/catalog\/product\/frontend_action_synchronize\/"},"lifetime":"1000","allowToSendRequest":null},"product_data_storage":{"updateRequestConfig":{"url":"https:\/\/www.costway.es\/rest\/default\/V1\/products-render-info"},"requestConfig":{"syncUrl":"https:\/\/www.costway.es\/catalog\/product\/frontend_action_synchronize\/"},"allowToSendRequest":null}}                        }
6019                    }
6020                }
6021            }
6022        }
6023</script>
vendor: 1 bytes, line 6023
6023
6024<script type="9506a0549efbd9a352f2d304-text/javascript">
6025    
6026      // 公共函数 begin
6027    
6028     var emarsysProductTopRecommendedFunction=function () {
6029      const _limit = 40;
6030            ScarabQueue.push([
6031              "recommend",
6032              {
6033                logic: "RELATED", // unique logic
6034                limit: _limit,
6035                containerId: "amrelated-block-14", // unique container
6036                templateId: "product-top-recommended-tmpl",
6037                success: function (SC, render) {
6038                  const products = SC.page.products;
6039                  //console.log("Emarsys product sku:", products);
6040                  let productIds = SC.page.products.map(function (product) {
6041                    return product.id;
6042                  });
6043                  //console.log("sku:", productIds);
6044                  require([
6045                    "jquery",
6046                    "jquery.lazyload.min",
6047                    "amSearchSlick",
6048                  ], function ($, Swiper) {
6049                    // 没有数据时不显示loading效果
6050                    if (products.length === 0) {
6051                      $("#amrelated-block-14 .costway-loading-box").hide();
6052                      return;
6053                    }
6054                    // 有数据请求搜索数据
6055                    $.ajax({
6056                      url: "https://search-eu.costway.com/searchApi/mobile/search-product",
6057                      type: "POST",
6058                      contentType: "application/json",
6059                      headers: {
6060                        country: 'es',
6061                        client: "pc",
6062                      },
6063                      dataType: "json",
6064                      cache: false,
6065                      data: JSON.stringify({
6066                        page: 1,
6067                        pageSize: _limit,
6068                        skusFilters: productIds,
6069                        isEmarsysSku: true,
6070                      }),
6071                      beforeSend: function () {
6072                        setPositionLoadingBox(productTopRecommended);
6073                      },
6074                      success: function (data) {
6075                        //console.log("search:", data);
6076                        if (data.data?.total > 0) {
6077                          SC.page.products = data.data.datalist.slice(0, 20); // 取前20个
6078                          SC.page.products.forEach((product) => {
6079                            product.specialPrice = formatPrice(product.specialPrice);
6080                            product.rawPrice = formatPrice(product.rawPrice);
6081                            product.url = product.url + '?entrypoint=relatedproducts';
6082                          });
6083                          SC.title = 'Productos Relacionados'; ///详情页顶部标题,需要修改
6084                          render(SC);
6085                          //console.log("render:", SC.page.products);
6086      
6087                          $('#amrelated-block-14 [data-amrelated-js="slider"]').slick(
6088                            {
6089                              dots: false,
6090                              infinite: false,
6091                              slidesToShow: 5,
6092                              slidesToScroll: 5,
6093                              variableWidth: true,
6094                              centerMode: false,
6095                              responsive: [
6096                                {
6097                                  breakpoint: 1280,
6098                                  settings: {
6099                                    slidesToShow: 4,
6100                                    slidesToScroll: 4,
6101                                  },
6102                                },
6103                                {
6104                                  breakpoint: 767,
6105                                  settings: {
6106                                    arrows: false,
6107                                    slidesToShow: 2,
6108                                    slidesToScroll: 2,
6109                                  },
6110                                },
6111                              ],
6112                            }
6113                          );
6114                          $('#amrelated-block-14 [data-amrelated-js="slider"]').on(
6115                            "afterChange",
6116                            function (event, slick, currentSlide) {
6117                              if (typeof $.fn.lazyload !== "undefined") {
6118                                $(window).trigger("scroll");
6119                              }
6120                            }
6121                          );
6122      
6123                          $("#amrelated-block-14 img.lazy").lazyload();
6124                          $(window).trigger("scroll");
6125                          initializeCountdown();
6126                        } else {
6127                          $("#amrelated-block-14 .costway-loading-box").hide();
6128                        }
6129                      },
6130                      error: function (xhr, status, error) {
6131                        //console.log("error:", xhr, status, error);
6132                        $("#amrelated-block-14 .costway-loading-box").hide();
6133                      },
6134                    });
6135                  });
6136                },
6137              },
6138            ]);
6139      }
6140    
6141    var emarsysProductBottomAlsoBoughtFunction = function (){
6142      const _limit = 40;
6143            ScarabQueue.push([
6144              "recommend",
6145              {
6146                logic: "ALSO_BOUGHT", // unique logic
6147                limit: _limit,
6148                containerId: "amrelated-block-4", // unique container
6149                templateId: "product-top-recommended-tmpl",
6150                success: function (SC, render) {
6151                  const products = SC.page.products;
6152                  //console.log("Emarsys product sku:", products);
6153                  let productIds = SC.page.products.map(function (product) {
6154                    return product.id;
6155                  });
6156                  //console.log("sku:", productIds);
6157                  require([
6158                    "jquery",
6159                    "jquery.lazyload.min",
6160                    "amSearchSlick",
6161                  ], function ($, Swiper) {
6162                    // 没有数据时不显示loading效果
6163                    if (products.length === 0) {
6164                      $("#amrelated-block-4 .costway-loading-box").hide();
6165                      return;
6166                    }
6167                    // 有数据请求搜索数据
6168                    $.ajax({
6169                      url: "https://search-eu.costway.com/searchApi/mobile/search-product",
6170                      type: "POST",
6171                      contentType: "application/json",
6172                      headers: {
6173                        country: 'es',
6174                        client: "pc",
6175                      },
6176                      dataType: "json",
6177                      cache: false,
6178                      data: JSON.stringify({                  
6179                        page: 1,
6180                        pageSize: _limit,
6181                        skusFilters: productIds,
6182                        isEmarsysSku: true,
6183                      }),
6184                      beforeSend: function () {
6185                        setPositionLoadingBox(productBottomRecommended);
6186                      },
6187                      success: function (data) {
6188                        //console.log("search:", data);
6189                        if (data.data?.total > 0) {
6190                          SC.page.products = data.data.datalist.slice(0, 20); // 取前20个
6191                          SC.page.products.forEach((product) => {
6192                            product.specialPrice = formatPrice(product.specialPrice);
6193                            product.rawPrice = formatPrice(product.rawPrice);
6194                            product.url = product.url + '?entrypoint=youmightlike';
6195                          });
6196                          SC.title = 'También te puede interesar'; //详情页底部标题,需要修改
6197                          render(SC);
6198                          //console.log("render:", SC.page.products);
6199      
6200                          $('#amrelated-block-4 [data-amrelated-js="slider"]').slick({
6201                            dots: false,
6202                            infinite: false,
6203                            slidesToShow: 5,
6204                            slidesToScroll: 5,
6205                            variableWidth: true,
6206                            centerMode: false,
6207                            responsive: [
6208                              {
6209                                breakpoint: 1280,
6210                                settings: {
6211                                  slidesToShow: 4,
6212                                  slidesToScroll: 4,
6213                                },
6214                              },
6215                              {
6216                                breakpoint: 767,
6217                                settings: {
6218                                  arrows: false,
6219                                  slidesToShow: 2,
6220                                  slidesToScroll: 2,
6221                                },
6222                              },
6223                            ],
6224                          });
6225                          $('#amrelated-block-4 [data-amrelated-js="slider"]').on(
6226                            "afterChange",
6227                            function (event, slick, currentSlide) {
6228                              if (typeof $.fn.lazyload !== "undefined") {
6229                                $(window).trigger("scroll");
6230                              }
6231                            }
6232                          );
6233      
6234                          $("#amrelated-block-4 img.lazy").lazyload();
6235                          $(window).trigger("scroll");
6236                          initializeCountdown();
6237                        } else {
6238                          $("#amrelated-block-4 .costway-loading-box").hide();
6239                        }
6240                      },
6241                      error: function (xhr, status, error) {
6242                        //console.log("error:", xhr, status, error);
6243                        $("#amrelated-block-4 .costway-loading-box").hide();
6244                      },
6245                    });
6246                  });
6247                },
6248              },
6249            ]);
6250      }
6251    // 公共函数 end
6252    </script>
vendor: 1 bytes, line 6252
6252
6253<script type="9506a0549efbd9a352f2d304-text/javascript">
6254        var homeProductRecommended = document.querySelector("#home-product-recommended");
6255        var homeProductSeeMoreRecommended = document.querySelector("#home-recommended-seemores");
6256        var productTopRecommended = document.querySelector("#amrelated-block-14");
6257        var productBottomRecommended = document.querySelector("#amrelated-block-4");
6258        var cartBottomRecommended = document.querySelector("#amrelated-block-15");
6259        var noDataCartBottomRecommended = document.querySelector("#amrelated-block-16");
6260        var searchResultsBottomRecommended = document.querySelector("#amrelated-block-13-delete");
6261        var noSearchResultsBottomRecommended = document.querySelector("#amrelated-block-5-delete");
6262      </script>
vendor: 1 bytes, line 6262
6262
6263<script type="text/html" id="home-product-tmpl" >
6264        <![CDATA[
6265            <div class="swiper-container swiper-container-horizontal">
6266                <ul class="home-product swiper-wrapper">
6267                    {{ for (var i=0; i < SC.page.products.length; i++) { }}
6268                        {{ var p = SC.page.products[i]; }}
6269                            <li class="product-item swiper-slide" data-scarabitem="{{= p.productId }}">
6270                                <div class="product-item-info">
6271                                    <div class="pro-img pro-effect">
6272                                        <a href="{{= p.url}}">
6273                                            <img title="{{= p.title}}" class="product-image-photo default_image lazy" src="/pub/images/default-min.jpg" data-original="{{= p.baseImage}}" width="272" height="272" />
6274                                        </a>
6275                                    </div>
6276                                    <div class="product-item-details">
6277                                        <p class="product-item-name">
6278                                            <a title="{{= p.title}}" href="{{= p.url}}" class="product-item-link">{{= p.title}}</a>
6279                                        </p>
6280                                        <div class="price-box price-final_price" data-role="priceBox">
6281                                            <span class="home-special-price" data-price-amount="{{= p.specialPrice}}" data-price-type="finalPrice">{{= p.specialPrice}} €</span>                                      
6282                                            {{ if(p.specialPrice !== p.rawPrice){ }}
6283                                                  <span class="home-old-price" data-price-amount="{{= p.rawPrice}}" data-price-type="oldPrice">{{= p.rawPrice}} €</span>
6284                                            {{ } }}
6285                                        </div>
6286                                    </div>
6287                                </div>
6288                            </li>
6289                        
6290                    {{ } }}
6291                    
6292                </ul>
6293                <div class="swiper-button-prev"></div>
6294                <div class="swiper-button-next"></div>
6295            </div>
6296            <span class="see-more-button recommended-button">Ver más</span>
6297        ]]>
6298      </script>
vendor: 1 bytes, line 6298
6298
6299<script type="9506a0549efbd9a352f2d304-text/javascript"> 
6300        if (homeProductRecommended) {
6301          // ajax 请求实时数据
6302          const _limit = 24;
6303          ScarabQueue.push(['recommend', {
6304              logic: 'PERSONAL', // unique logic
6305              limit:_limit,
6306              containerId: 'home-product-recommended', // unique container
6307              templateId: 'home-product-tmpl',
6308              success: function(SC, render) {
6309                const products = SC.page.products;
6310                //console.log('Emarsys product sku:',products);
6311                
6312                let productIds = SC.page.products.map(function(product) {
6313                  return product.id;
6314                });
6315                
6316                 //console.log('sku:',productIds);
6317                require(["jquery",'swiper.min',"jquery.lazyload.min"], function ($,Swiper) {
6318                  // 没有数据时不显示loading效果
6319                  if (products.length === 0) {
6320                    $('#home-product-recommended .costway-loading-box').hide();
6321                    return;
6322                  }
6323                  // 有数据请求搜索数据
6324                  $.ajax({
6325                    url: 'https://search-eu.costway.com/searchApi/mobile/search-product',
6326                    type: 'POST',
6327                    contentType: 'application/json',
6328                    headers: {
6329                        'country':'es',
6330                        'client':'pc'
6331                    },
6332                    dataType: 'json',
6333                    cache: false,
6334                    data: JSON.stringify({
6335                        "page":1,
6336                        "pageSize":_limit,
6337                        "skusFilters":productIds,
6338                        "isEmarsysSku": true,
6339                    }),
6340                    beforeSend: function () {
6341                        setPositionLoadingBox(homeProductRecommended);
6342                      },
6343                    success: function(data) {
6344                      //console.log('search:',data);
6345                      if(data.data?.total > 0){
6346                          SC.page.products =data.data.datalist.slice(0, 8); // 取前8个
6347                      }else{
6348                        $('#home-product-recommended .costway-loading-box').hide();
6349                        return;
6350                      }
6351      
6352                      SC.page.products.forEach(product => {
6353                          product.specialPrice = formatPrice(product.specialPrice);
6354                          product.rawPrice = formatPrice(product.rawPrice);
6355                          product.url = product.url + '?entrypoint=recommended_homepage';
6356                      });
6357      
6358                      render(SC);
6359                      //console.log('render:',SC.page.products);                
6360                      
6361                      if($(window).width() > 750){
6362                          new Swiper("#home-product-recommended .swiper-container", {
6363                              observer: true,
6364                              observeParents: true,
6365                              loop: false,
6366                              slidesPerView: "auto",
6367                              slidesPerGroup: 4,
6368                              navigation: { 
6369                                  nextEl: "#home-product-recommended  .swiper-button-next",
6370                                  prevEl: "#home-product-recommended  .swiper-button-prev",
6371                              },
6372                              on: {
6373                                transitionEnd: function () {
6374                                  if (typeof jQuery.fn.lazyload !== "undefined") {
6375                                  $(".home-product-wrap .swiper-container img.lazy").lazyload();
6376                                  }
6377                                },
6378                              }
6379                          });
6380                      }else{
6381                          $("#home-product-recommended .product-item").each(function () {
6382                              if ($(this).index() > 3) {
6383                                  $(this).css("display", "none");
6384                              }
6385                          });
6386                          $(".recommended-button").on('click',function () {
6387                              $(".recommended .home-product .product-item").each(function () {
6388                                if ($(this).is(":hidden")) {
6389                                  $(this).css("display", "block");
6390                                }
6391                              });
6392                              $(this).css("display", "none");
6393                              $(window).trigger("scroll");
6394                            });
6395                      }
6396                      $("#home-product-recommended img.lazy").lazyload();
6397                      $(window).trigger("scroll");
6398                    },
6399                    error: function(xhr, status, error) {
6400                        //console.log('error:',xhr, status, error);
6401                        $('#home-product-recommended .costway-loading-box').hide();
6402                    }
6403                  })
6404                });
6405              }
6406            }]); 
6407          // Send the request only once
6408          ScarabQueue.push(['go']);
6409        }
6410      </script>
vendor: 1 bytes, line 6410
6410
6411<script type="text/html" id="home-recommended-seemores-tmpl" >
6412        <![CDATA[
6413            <div style="font-size:0">
6414              <ol class="products list items product-slider owl-top-btn product-items three_blocks widget-product-grid" >
6415              {{ for (var i=0; i < SC.page.products.length; i++) { }}
6416              {{ var p = SC.page.products[i]; }}
6417      
6418                <li class="product-item" data-scarabitem="{{= p.productId }}">
6419                  <div class="product-item-info">
6420                    <div class="pro-img pro-effect product-item-photo">
6421                      <a href="{{= p.url}}" tabindex="-1" >
6422                        <img
6423                          style="position: relative; display: block"
6424                          title="{{= p.title}}"
6425                          class="product-image-photo default_image lazy"
6426                          src="/pub/images/default-min.jpg" data-original="{{= p.baseImage}}"
6427                          alt="{{= p.title}}"  width="297" height="297"
6428                        />
6429                      </a>
6430                    </div>
6431                    <div class="product-item-details">
6432                      <p class="product-item-name">
6433                        <a title="{{= p.title}}" href="{{= p.url}}" class="product-item-link" > {{= p.title}}</a>
6434                      </p>
6435                      <div
6436                        class="price-box price-final_price"
6437                        data-role="priceBox"
6438                        data-product-id="{{=p.productId}}"
6439                        data-price-box="product-id-{{=p.productId}}"
6440                      >
6441                        <span class="special-price">
6442                          <span class="price-container price-final_price tax weee">
6443                            <span class="price-label">Special Price</span>
6444                            <span
6445                              id="product-price-{{=p.productId}}"
6446                              data-price-amount="{{= p.specialPrice}}"
6447                              data-price-type="finalPrice"
6448                              class="price-wrapper"
6449                              ><span class="price">{{= p.specialPrice}} €</span></span
6450                            >
6451                          </span>
6452                        </span>
6453                        {{ if(p.specialPrice !== p.rawPrice){ }}
6454                        <span class="old-price">
6455                          <span class="price-container price-final_price tax weee">
6456                            <span class="price-label">Regular Price</span>
6457                            <span
6458                              id="old-price-{{=p.productId}}"
6459                              data-price-amount="{{= p.rawPrice}}"
6460                              data-price-type="oldPrice"
6461                              class="price-wrapper"
6462                            >
6463                              <span class="price">{{= p.rawPrice}} €</span></span
6464                            >
6465                          </span>
6466                        </span>
6467                        {{ } }}
6468                      </div>
6469                      
6470                    </div>
6471                  </div>
6472                  <div class="add-wish-list">
6473                    <a href="#" class="action towishlist" title="Añadir a la lista de deseos" aria-label="Añadir a la lista de deseos" data-action="list-wishlist" role="button" data-id="{{=p.productId}}">
6474                        <svg class="wish-svg" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
6475                            <path d="M9.37429 3.42438L9.97507 4.24064L10.58 3.42749C11.5108 2.17652 12.8891 1.44287 14.3474 1.44287C16.966 1.44287 19.2066 3.79577 19.2066 6.82549C19.2066 8.60031 18.4255 9.85817 17.6983 10.9944C16.6977 12.5545 14.9107 14.3529 13.3006 15.8113C11.703 17.2584 10.3414 18.3161 10.2451 18.3883L10.2377 18.3939L10.2304 18.3997C10.151 18.4623 10.0657 18.4886 9.97832 18.4886C9.89095 18.4886 9.80566 18.4623 9.72626 18.3997L9.71896 18.3939L9.71152 18.3883C9.61402 18.3152 8.24955 17.2602 6.65127 15.8151C5.03987 14.3582 3.25413 12.5608 2.25996 10.997L2.25874 10.9951C1.53142 9.85862 0.75 8.60063 0.75 6.82549C0.75 3.79577 2.9906 1.44287 5.60925 1.44289C7.06976 1.44289 8.45716 2.17829 9.37429 3.42438Z" stroke="#FF5F44" stroke-width="1.5"></path>
6476                        </svg>
6477                        <span class="wish-num">{{=p.wishedNum}}</span>
6478                    </a>
6479                  </div>
6480<div class="list-product-add-cart-box">
6481                                            <button class="list-add-to-cart" title="Añadir al Carrito" aria-label="Añadir al Carrito" type="button" data-product-id="{{=p.productId}}" data-product-type="{{= p.configurableType? 'hasAttr' : 'simple'}}" data-track-page-type="acticity">
6482                                                <svg width="23" height="23" viewBox="0 0 23 23" fill="none" xmlns="http://www.w3.org/2000/svg">
6483                                                    <g clip-path="url(#clip0_16312_62084)">
6484                                                        <path d="M20.4963 6.75C21.7992 6.75 22.7552 7.97278 22.4392 9.23507L20.9372 15.2351C20.7143 16.1254 19.9132 16.75 18.9942 16.75L8.42967 16.75C6.97782 16.75 5.73373 15.7131 5.47401 14.2867L3.91977 5.625H1.75137C1.19833 5.625 0.75 5.25 0.75 4.75C0.75 4.19772 1.19833 3.75 1.75137 3.75H3.91977C4.88766 3.75 5.45186 4.29902 5.625 5.25L7.17925 13.7867C7.26582 14.2621 7.5 15 8.42967 15H19.125L20.6271 8.625L9.76234 8.625C9.2093 8.625 8.76097 8.30229 8.76097 7.75C8.76097 7.19772 9.2093 6.75 9.76234 6.75H20.4963Z" fill="#333333"></path>
6485                                                        <circle cx="9.375" cy="19.875" r="1.875" fill="#333333"></circle>
6486                                                        <circle cx="16.875" cy="19.875" r="1.875" fill="#333333"></circle>
6487                                                    </g>
6488                                                    <defs>
6489                                                        <clipPath id="clip0_16312_62084">
6490                                                            <rect width="22.5" height="22.5" fill="white"></rect>
6491                                                        </clipPath>
6492                                                    </defs>
6493                                                </svg>
6494                                            </button>
6495                                        </div>
6496                </li>
6497      
6498                {{ } }}
6499              </ol>
6500            </div>
6501      ]]>
6502      </script>
vendor: 1 bytes, line 6502
6502
6503<script type="9506a0549efbd9a352f2d304-text/javascript">
6504        if (homeProductSeeMoreRecommended) {
6505          // ajax 请求实时数据
6506          const isWhatsappVip = window.location.pathname.indexOf('whatsappvip') !== -1;
6507          const _limit = isWhatsappVip ? 50 : 64;
6508          ScarabQueue.push(['recommend', {
6509              logic: 'PERSONAL', // unique logic
6510              limit:_limit,
6511              containerId: 'home-recommended-seemores', // unique container
6512              templateId: 'home-recommended-seemores-tmpl',
6513              success: function(SC, render) {
6514                const products = SC.page.products;
6515                //console.log('Emarsys product sku:',products);
6516                let productIds = SC.page.products.map(function(product) {
6517                  return product.id;
6518                });
6519                 //console.log('sku:',productIds);
6520                require(["jquery","cmsWishlist","jquery.lazyload.min"], function ($, cmsWishlist) {
6521                  cmsWishlist.init(); 
6522                  // 没有数据时不显示loading效果
6523                  if (productIds.length === 0) {
6524                    $('#home-recommended-seemores .costway-loading-box').hide();
6525                    return;
6526                  }
6527                  // 有数据请求搜索数据
6528                  $.ajax({
6529                    url: 'https://search-eu.costway.com/searchApi/mobile/search-product',
6530                    type: 'POST',
6531                    contentType: 'application/json',
6532                    headers: {
6533                        'country':'es',
6534                        'client':'pc'
6535                    },
6536                    dataType: 'json',
6537                    cache: false,
6538                    data: JSON.stringify({
6539                        "page":1,
6540                        "pageSize":_limit,
6541                        "skusFilters":productIds,
6542                        "isEmarsysSku": true,
6543                    }),
6544                    beforeSend: function () {
6545                        setPositionLoadingBox(homeProductSeeMoreRecommended);
6546                      },
6547                    success: function(data) {
6548                      //console.log('search:',data);
6549                      if(data.data?.total > 0){
6550                        const productLimit = isWhatsappVip ? 20 : 36;
6551                        SC.page.products = data.data.datalist.slice(0, productLimit);
6552                        SC.page.products.forEach(product => {
6553                          product.specialPrice = formatPrice(product.specialPrice);
6554                          product.rawPrice = formatPrice(product.rawPrice);
6555                          product.url = product.url + (
6556                            isWhatsappVip
6557                                ? '?entrypoint=whatsapp'
6558                                : '?entrypoint=recommended_page'
6559                          );
6560                        });
6561        
6562                        render(SC);
6563                        $("#home-recommended-seemores img.lazy").lazyload();
6564                        $(window).trigger("scroll");
6565                        cmsWishlist.sync("#home-recommended-seemores");
6566                      }else{
6567                        $('#home-recommended-seemores .costway-loading-box').hide();
6568                      }
6569                    },
6570                    error: function(xhr, status, error) {
6571                        //console.log('error:',xhr, status, error);
6572                        $('#home-recommended-seemores .costway-loading-box').hide();
6573                    }
6574                  })
6575                });
6576              }
6577            }]); 
6578            // Send the request only once
6579            ScarabQueue.push(['go']);
6580        }
6581      </script>
vendor: 1 bytes, line 6581
6581
6582<script type="text/html" id="product-top-recommended-tmpl" >
6583          <![CDATA[  
6584          <h2 class="block-title" >{{=SC.title}}</h2>
6585          <div class="block-content">
6586            <div class="grid products-grid">
6587              <div class="product-items widget-product-grid" data-amrelated-js="slider">       
6588                  {{ for (var i=0; i < SC.page.products.length; i++) { }}
6589                  {{ var p = SC.page.products[i]; }}
6590                  
6591                        <div class="product-item" style="width:100% !important;" data-scarabitem="{{= p.productId }}">
6592                          <div class="product-item-info">
6593                            <a href="{{= p.url}}" class="product-item-photo">
6594                              <span class="product-image-container">
6595                                <span class="product-image-wrapper">
6596                                  <img class="product-image-photo lazy" src="/pub/images/default-min.jpg" data-original="{{= p.baseImage}}" width="175" height="175" alt="{{= p.title}}" /></span>
6597                                </span>
6598                                {{ if(p.icon.type !== ''){ }}
6599                                <div class="emars-tagwrap">
6600                                {{ if(p.icon.type === 'price_drop' && p.icon.value > 0 ){ }}
6601                                {{ if(isServerTimeInRange(blockFirdayServerTime) === true){ }}
6602                                    <div class="jiabao-tips">Precio Bajado</div>
6603                                    <div class="price-drop-list black-friday">
6604                                        <div class="drop-txt">Precio</div>
6605                                        <div class="price-drop-con">
6606                                            <img class="icon-time" title="Quedan" src="/pub/images/black-friday/black-friday-icon-time.png">
6607                                            <span class="end-days-emarsys" data-countdown="{{= p.icon.value}}"></span>
6608                                        </div>
6609                                    </div>
6610                                {{ } else { }}
6611                                    <div class="price-drop-list">
6612                                    <div class="drop-txt">Oferta Flash</div>
6613                                    <div class="price-drop-con">
6614                                        <img class="icon-time" title="Quedan" src="/pub/images/decline/icon-time.png">
6615                                        <span class="end-in">Quedan</span>
6616                                        <span class="end-days-emarsys" data-countdown="{{= p.icon.value}}"></span>
6617                                    </div>
6618                                    </div>
6619                                    {{ } }}
6620                                    {{ } else if (p.icon.type === 'pre_order') { }}
6621                                <div class="early-bird-warpper list-item emarsys-item">
6622                                  <div class="early-bird-main">
6623                                      <div class="early-left">
6624                                          <div class="early-title">                                             
6625                                              <div class="early-title-cen">
6626                                                  Preventa
6627                                              </div>
6628                                          </div>
6629                                          <div class="early-cen"></div>
6630                                          <div class="early-text">
6631                                              {{= p.icon.label}}
6632                                          </div>
6633                                      </div>
6634                                  </div>
6635                              </div>
6636                                    {{ } else if (p.icon.type === 'out_of_stock') { }}
6637                                    <div class="sold-out">Agotado</div>
6638                                {{ } else { }}
6639                                      {{ if (p.icon.type != 'limited_stock') { }}
6640                                    <span class="on-sale-tips {{= p.icon.type}}">{{= p.icon.label}}</span>
6641                                     {{ } }}
6642                                {{ } }}
6643                                </div>
6644                                {{ } }}
6645                             </a>
6646                            <div class="product-item-details">
6647                              <h3 class="product-item-name">
6648                                <a title="{{= p.title}}" href="{{= p.url}}" class="product-item-link" >{{= p.title}}</a>
6649                              </h3>  
6650                              <div class="price-box range second price-final_price" data-role="priceBox" data-product-id="{{=p.productId}}">
6651                                <span class="special-price">
6652                                  <span class="price-container price-final_price">
6653                                    <span class="price-label">special price</span>
6654                                    <span id="product-price-{{=p.productId}}" data-price-amount="{{= p.specialPrice}}" data-price-type="finalPrice1" class="price-wrapper">
6655                                      <span class="price" ><span class="price">{{= p.specialPrice}} €</span></span>
6656                                    </span>
6657                                  </span>
6658                                </span>
6659                                {{ if(p.specialPrice !== p.rawPrice){ }}
6660                                <span class="old-price">
6661                                  <span class="price-container price-final_price tax weee" >
6662                                    <span class="price-label">special price</span>
6663                                    <span id="product-price-{{=p.productId}}" data-price-amount="{{= p.rawPrice}}" data-price-type="finalPrice1" class="price-wrapper" >
6664                                      <span class="price" ><span class="price">{{= p.rawPrice}} €</span></span>
6665                                    </span>
6666                                  </span>
6667                                </span>
6668                                {{ } }}
6669                              </div>
6670
6671<div class="rating-and-cart">
6672
6673    <div class="product-rating">
6674        {{ if(p.reviewCount > 0 ){ }}
6675        <span class="product-stars"><i style="width: {{=p.reviewScore}}%"></i></span>
6676        <span class="product-rating-num">{{=p.reviewCount}}</span>
6677        {{ } }}
6678    </div>
6679
6680    <div class="list-product-add-cart-box">
6681        <button class="list-add-to-cart" type="button" data-product-id="{{=p.productId}}"
6682            data-product-type="{{=p.configurableType !== "" ? " hasAttr" : "simple" }}"
6683            data-track-page-type="might_like" title="Añadir al Carrito" aria-label="Añadir al Carrito">
6684            <svg width="23" height="23" viewBox="0 0 23 23" fill="none" xmlns="http://www.w3.org/2000/svg">
6685                <g clip-path="url(#clip0_16312_62084)">
6686                    <path
6687                        d="M20.4963 6.75C21.7992 6.75 22.7552 7.97278 22.4392 9.23507L20.9372 15.2351C20.7143 16.1254 19.9132 16.75 18.9942 16.75L8.42967 16.75C6.97782 16.75 5.73373 15.7131 5.47401 14.2867L3.91977 5.625H1.75137C1.19833 5.625 0.75 5.25 0.75 4.75C0.75 4.19772 1.19833 3.75 1.75137 3.75H3.91977C4.88766 3.75 5.45186 4.29902 5.625 5.25L7.17925 13.7867C7.26582 14.2621 7.5 15 8.42967 15H19.125L20.6271 8.625L9.76234 8.625C9.2093 8.625 8.76097 8.30229 8.76097 7.75C8.76097 7.19772 9.2093 6.75 9.76234 6.75H20.4963Z"
6688                        fill="#333333"></path>
6689                    <circle cx="9.375" cy="19.875" r="1.875" fill="#333333"></circle>
6690                    <circle cx="16.875" cy="19.875" r="1.875" fill="#333333"></circle>
6691                </g>
6692                <defs>
6693                    <clipPath id="clip0_16312_62084">
6694                        <rect width="22.5" height="22.5" fill="white"></rect>
6695                    </clipPath>
6696                </defs>
6697            </svg>
6698        </button>
6699    </div>
6700</div>
6701
6702                            </div>
6703                          </div>
6704                        </div>
6705                    
6706                  {{ } }}
6707              </div>
6708            </div>
6709          </div>    
6710        ]]>
6711      </script>
vendor: 1 bytes, line 6711
6711
6712<script type="9506a0549efbd9a352f2d304-text/javascript">
6713        var emarsysBodyElement = document.body;
6714        // 详情页从GTM抽出来,特殊处理
6715        if (emarsysBodyElement.matches(".catalog-product-view:not(.page-product-configurable)")) {
6716          // 获取 sku 元素
6717          const formElement = document.querySelector("form[data-product-sku]");
6718          const productSku = formElement.getAttribute("data-product-sku").trim();
6719          // 测试SKU =“SP37467-M”
6720          ScarabQueue.push(["view", productSku]);
6721          if (customer_id) {
6722            ScarabQueue.push(["setCustomerId", `ES_${customer_id}`]);
6723          }
6724      
6725          // 详情页top推荐
6726      
6727          if (productTopRecommended) {
6728            emarsysProductTopRecommendedFunction();
6729          }
6730      
6731          // ALSO_BOUGHT
6732          if (productBottomRecommended) {
6733            emarsysProductBottomAlsoBoughtFunction();
6734          }
6735          // Send the request only once
6736          ScarabQueue.push(["go"]);
6737        }
6738      
6739        // 搜索页从GTM抽出来,特殊处理
6740        if (emarsysBodyElement.classList.contains("search-result-index")) {
6741          const url = new URL(window.location.href);
6742          const params = new URLSearchParams(url.search);
6743          // 获取参数 q 的值
6744          const qValue = params.get("q");
6745          ScarabQueue.push(["searchTerm", qValue]);
6746          // Search result bottom recommended
6747          if (searchResultsBottomRecommended) {
6748            const _limit = 40;
6749            ScarabQueue.push([
6750              "recommend",
6751              {
6752                logic: "SEARCH", // unique logic
6753                limit: _limit,
6754                containerId: "amrelated-block-13", // unique container
6755                templateId: "product-top-recommended-tmpl",
6756                success: function (SC, render) {
6757                  const products = SC.page.products;
6758                  //console.log("Emarsys product sku:", products);
6759                  let productIds = SC.page.products.map(function (product) {
6760                    return product.id;
6761                  });
6762                  //console.log("sku:", productIds);
6763                  require([
6764                    "jquery",
6765                    "jquery.lazyload.min",
6766                    "amSearchSlick",
6767                  ], function ($, Swiper) {
6768                    // 没有数据时不显示loading效果
6769                    if (products.length === 0) {
6770                      $("#amrelated-block-13 .costway-loading-box").hide();
6771                      return;
6772                    }
6773                    // 有数据请求搜索数据
6774                    $.ajax({
6775                      url: "https://search-eu.costway.com/searchApi/mobile/search-product",
6776                      type: "POST",
6777                      contentType: "application/json",
6778                      headers: {
6779                        country: 'es',
6780                        client: "pc",
6781                      },
6782                      dataType: "json",
6783                      cache: false,
6784                      data: JSON.stringify({                  
6785                        page: 1,
6786                        pageSize: _limit,
6787                        skusFilters: productIds,
6788                        isEmarsysSku: true,
6789                      }),
6790                      beforeSend: function () {
6791                        setPositionLoadingBox(searchResultsBottomRecommended);
6792                      },
6793                      success: function (data) {
6794                        //console.log("search:", data);
6795                        if (data.data?.total > 0) {
6796                          SC.page.products = data.data.datalist.slice(0, 20); // 取前20个
6797                          SC.page.products.forEach((product) => {
6798                            product.specialPrice = formatPrice(product.specialPrice);
6799                            product.rawPrice = formatPrice(product.rawPrice);
6800                            product.url = product.url + '?entrypoint=searchresult_page';
6801                          });
6802                          SC.title = 'También te puede interesar'; //搜索有结果页的标题,需要修改
6803                          render(SC);
6804                          //console.log("render:", SC.page.products);
6805      
6806                          $('#amrelated-block-13 [data-amrelated-js="slider"]').slick(
6807                            {
6808                              dots: false,
6809                              infinite: false,
6810                              slidesToShow: 5,
6811                              slidesToScroll: 5,
6812                              variableWidth: true,
6813                              centerMode: false,
6814                              responsive: [
6815                                {
6816                                  breakpoint: 1280,
6817                                  settings: {
6818                                    slidesToShow: 4,
6819                                    slidesToScroll: 4,
6820                                  },
6821                                },
6822                                {
6823                                  breakpoint: 767,
6824                                  settings: {
6825                                    arrows: false,
6826                                    slidesToShow: 2,
6827                                    slidesToScroll: 2,
6828                                  },
6829                                },
6830                              ],
6831                            }
6832                          );
6833                          $('#amrelated-block-13 [data-amrelated-js="slider"]').on(
6834                            "afterChange",
6835                            function (event, slick, currentSlide) {
6836                              if (typeof $.fn.lazyload !== "undefined") {
6837                                $(window).trigger("scroll");
6838                              }
6839                            }
6840                          );
6841      
6842                          $("#amrelated-block-13 img.lazy").lazyload();
6843                          $(window).trigger("scroll");
6844                          initializeCountdown();
6845                        } else {
6846                          $("#amrelated-block-13 .costway-loading-box").hide();
6847                        }
6848                      },
6849                      error: function (xhr, status, error) {
6850                        //console.log("error:", xhr, status, error);
6851                        $("#amrelated-block-13 .costway-loading-box").hide();
6852                      },
6853                    });
6854                  });
6855                },
6856              },
6857            ]);      
6858          }
6859          // NO Search result bottom recommended
6860          if (noSearchResultsBottomRecommended) {
6861            const _limit = 40;
6862            ScarabQueue.push([
6863              "recommend",
6864              {
6865                logic: "SEARCH", // unique logic
6866                limit: _limit,
6867                containerId: "amrelated-block-5", // unique container
6868                templateId: "product-top-recommended-tmpl",
6869                success: function (SC, render) {
6870                  const products = SC.page.products;
6871                  //console.log("Emarsys product sku:", products);
6872                  let productIds = SC.page.products.map(function (product) {
6873                    return product.id;
6874                  });
6875                  //console.log("sku:", productIds);
6876                  require([
6877                    "jquery",
6878                    "jquery.lazyload.min",
6879                    "amSearchSlick",
6880                  ], function ($, Swiper) {
6881                    // 没有数据时不显示loading效果
6882                    if (products.length === 0) {
6883                      $("#amrelated-block-5 .costway-loading-box").hide();
6884                      return;
6885                    }
6886                    // 有数据请求搜索数据
6887                    $.ajax({
6888                      url: "https://search-eu.costway.com/searchApi/mobile/search-product",
6889                      type: "POST",
6890                      contentType: "application/json",
6891                      headers: {
6892                        country: 'es',
6893                        client: "pc",
6894                      },
6895                      dataType: "json",
6896                      cache: false,
6897                      data: JSON.stringify({
6898                        page: 1,
6899                        pageSize: _limit,
6900                        skusFilters: productIds,
6901                        isEmarsysSku: true,
6902                      }),
6903                      beforeSend: function () {
6904                        setPositionLoadingBox(noSearchResultsBottomRecommended);
6905                      },
6906                      success: function (data) {
6907                        //console.log("search:", data);
6908                        if (data.data?.total > 0) {
6909                          SC.page.products = data.data.datalist.slice(0, 20); // 取前20个
6910                          SC.page.products.forEach((product) => {
6911                            product.specialPrice = formatPrice(product.specialPrice);
6912                            product.rawPrice = formatPrice(product.rawPrice);
6913                            product.url = product.url + '?entrypoint=searchresult_page';
6914                          });
6915                          SC.title = 'También te puede interesar'; //搜索无结果页的标题, 需要修改
6916                          render(SC);
6917                          //console.log("render:", SC.page.products);
6918      
6919                          $('#amrelated-block-5 [data-amrelated-js="slider"]').slick({
6920                            dots: false,
6921                            infinite: false,
6922                            slidesToShow: 5,
6923                            slidesToScroll: 5,
6924                            variableWidth: true,
6925                            centerMode: false,
6926                            responsive: [
6927                              {
6928                                breakpoint: 1280,
6929                                settings: {
6930                                  slidesToShow: 4,
6931                                  slidesToScroll: 4,
6932                                },
6933                              },
6934                              {
6935                                breakpoint: 767,
6936                                settings: {
6937                                  arrows: false,
6938                                  slidesToShow: 2,
6939                                  slidesToScroll: 2,
6940                                },
6941                              },
6942                            ],
6943                          });
6944                          $('#amrelated-block-5 [data-amrelated-js="slider"]').on(
6945                            "afterChange",
6946                            function (event, slick, currentSlide) {
6947                              if (typeof $.fn.lazyload !== "undefined") {
6948                                $(window).trigger("scroll");
6949                              }
6950                            }
6951                          );
6952      
6953                          $("#amrelated-block-5 img.lazy").lazyload();
6954                          $(window).trigger("scroll");
6955                          initializeCountdown();
6956                        } else {
6957                          $("#amrelated-block-5 .costway-loading-box").hide();
6958                        }
6959                      },
6960                      error: function (xhr, status, error) {
6961                        //console.log("error:", xhr, status, error);
6962                        $("#amrelated-block-5 .costway-loading-box").hide();
6963                      },
6964                    });
6965                  });
6966                },
6967              },
6968            ]);            
6969          }
6970          // Send the request only once
6971          ScarabQueue.push(["go"]);
6972        }
6973      
6974        // 购物车页从GTM抽出来,特殊处理
6975        if (emarsysBodyElement.classList.contains("checkout-cart-index")) {
6976          if (
6977            typeof checkoutConfig !== "undefined" &&
6978            checkoutConfig.quoteItemData &&
6979            checkoutConfig.quoteItemData.length > 0
6980          ) {
6981            // 获取当前用户的ID
6982            if (customer_id) {
6983              ScarabQueue.push(["setCustomerId", `ES_${customer_id}`]);
6984            }
6985            const quoteItemData = checkoutConfig.quoteItemData.map((item) => ({
6986              item: item.sku,
6987              price: parseFloat(item.price),
6988              quantity: item.qty,
6989            }));
6990            ScarabQueue.push(["cart", quoteItemData]);
6991          } else {
6992            ScarabQueue.push(["cart", []]);
6993          }
6994          // 购物车有结果页的底部推荐
6995          if (cartBottomRecommended) {
6996            const _limit = 40;
6997            ScarabQueue.push([
6998              "recommend",
6999              {
7000                logic: "CART", // unique logic
7001                limit: _limit,
7002                containerId: "amrelated-block-15", // unique container
7003                templateId: "product-top-recommended-tmpl",
7004                success: function (SC, render) {
7005                  const products = SC.page.products;
7006                  //console.log("Emarsys product sku:", products);
7007                  let productIds = SC.page.products.map(function (product) {
7008                    return product.id;
7009                  });
7010                  //console.log("sku:", productIds);
7011                  require([
7012                    "jquery",
7013                    "jquery.lazyload.min",
7014                    "amSearchSlick",
7015                  ], function ($, Swiper) {
7016                    // 没有数据时不显示loading效果
7017                    if (products.length === 0) {
7018                      $("#amrelated-block-15 .costway-loading-box").hide();
7019                      return;
7020                    }
7021                    // 有数据请求搜索数据
7022                    $.ajax({
7023                      url: "https://search-eu.costway.com/searchApi/mobile/search-product",
7024                      type: "POST",
7025                      contentType: "application/json",
7026                      headers: {
7027                        country: 'es',
7028                        client: "pc",
7029                      },
7030                      dataType: "json",
7031                      cache: false,
7032                      data: JSON.stringify({
7033                        page: 1,
7034                        pageSize: _limit,
7035                        skusFilters: productIds,
7036                        isEmarsysSku: true,
7037                      }),
7038                      beforeSend: function () {
7039                        setPositionLoadingBox(cartBottomRecommended);
7040                      },
7041                      success: function (data) {
7042                        //console.log("search:", data);
7043                        if (data.data?.total > 0) {
7044                          SC.page.products = data.data.datalist.slice(0, 20); // 取前20个
7045                          SC.page.products.forEach((product) => {
7046                            product.specialPrice = formatPrice(product.specialPrice);
7047                            product.rawPrice = formatPrice(product.rawPrice);
7048                            product.url = product.url + '?entrypoint=cart';
7049                          });
7050                          SC.title = 'También te puede interesar'; // 购物车页的标题需要修改
7051                          render(SC);
7052                          //console.log("render:", SC.page.products);
7053      
7054                          $('#amrelated-block-15 [data-amrelated-js="slider"]').slick(
7055                            {
7056                              dots: false,
7057                              infinite: false,
7058                              slidesToShow: 5,
7059                              slidesToScroll: 5,
7060                              variableWidth: true,
7061                              centerMode: false,
7062                              responsive: [
7063                                {
7064                                  breakpoint: 1280,
7065                                  settings: {
7066                                    slidesToShow: 4,
7067                                    slidesToScroll: 4,
7068                                  },
7069                                },
7070                                {
7071                                  breakpoint: 767,
7072                                  settings: {
7073                                    arrows: false,
7074                                    slidesToShow: 2,
7075                                    slidesToScroll: 2,
7076                                  },
7077                                },
7078                              ],
7079                            }
7080                          );
7081                          $('#amrelated-block-15 [data-amrelated-js="slider"]').on(
7082                            "afterChange",
7083                            function (event, slick, currentSlide) {
7084                              if (typeof $.fn.lazyload !== "undefined") {
7085                                $(window).trigger("scroll");
7086                              }
7087                            }
7088                          );
7089      
7090                          $("#amrelated-block-15 img.lazy").lazyload();
7091                          $(window).trigger("scroll");
7092                          initializeCountdown();
7093                        } else {
7094                          $("#amrelated-block-15 .costway-loading-box").hide();
7095                        }
7096                      },
7097                      error: function (xhr, status, error) {
7098                        //console.log("error:", xhr, status, error);
7099                        $("#amrelated-block-15 .costway-loading-box").hide();
7100                      },
7101                    });
7102                  });
7103                },
7104              },
7105            ]);
7106          }
7107          // 购物车无结果页的底部推荐
7108          if (noDataCartBottomRecommended) {
7109            const _limit = 40;
7110            ScarabQueue.push([
7111              "recommend",
7112              {
7113                logic: "CART", // unique logic
7114                limit: _limit,
7115                containerId: "amrelated-block-16", // unique container
7116                templateId: "product-top-recommended-tmpl",
7117                success: function (SC, render) {
7118                  const products = SC.page.products;
7119                  //console.log("Emarsys product sku:", products);
7120                  let productIds = SC.page.products.map(function (product) {
7121                    return product.id;
7122                  });
7123                  //console.log("sku:", productIds);
7124                  require([
7125                    "jquery",
7126                    "jquery.lazyload.min",
7127                    "amSearchSlick",
7128                  ], function ($, Swiper) {
7129                    // 没有数据时不显示loading效果
7130                    if (products.length === 0) {
7131                      $("#amrelated-block-16 .costway-loading-box").hide();
7132                      return;
7133                    }
7134                    // 有数据请求搜索数据
7135                    $.ajax({
7136                      url: "https://search-eu.costway.com/searchApi/mobile/search-product",
7137                      type: "POST",
7138                      contentType: "application/json",
7139                      headers: {
7140                        country: 'es',
7141                        client: "pc",
7142                      },
7143                      dataType: "json",
7144                      cache: false,
7145                      data: JSON.stringify({
7146                        page: 1,
7147                        pageSize: _limit,
7148                        skusFilters: productIds,
7149                        isEmarsysSku: true,
7150                      }),
7151                      beforeSend: function () {
7152                        setPositionLoadingBox(noDataCartBottomRecommended);
7153                      },
7154                      success: function (data) {
7155                        //console.log("search:", data);
7156                        if (data.data?.total > 0) {
7157                          SC.page.products = data.data.datalist.slice(0, 20); // 取前20个
7158                          SC.page.products.forEach((product) => {
7159                            product.specialPrice = formatPrice(product.specialPrice);
7160                            product.rawPrice = formatPrice(product.rawPrice);
7161                            product.url = product.url + '?entrypoint=emptycart';
7162                          });
7163                          SC.title = 'También te puede interesar'; // 购物车页的标题需要修改
7164                          render(SC);
7165                          //console.log("render:", SC.page.products);
7166      
7167                          $('#amrelated-block-16 [data-amrelated-js="slider"]').slick(
7168                            {
7169                              dots: false,
7170                              infinite: false,
7171                              slidesToShow: 5,
7172                              slidesToScroll: 5,
7173                              variableWidth: true,
7174                              centerMode: false,
7175                              responsive: [
7176                                {
7177                                  breakpoint: 1280,
7178                                  settings: {
7179                                    slidesToShow: 4,
7180                                    slidesToScroll: 4,
7181                                  },
7182                                },
7183                                {
7184                                  breakpoint: 767,
7185                                  settings: {
7186                                    arrows: false,
7187                                    slidesToShow: 2,
7188                                    slidesToScroll: 2,
7189                                  },
7190                                },
7191                              ],
7192                            }
7193                          );
7194                          $('#amrelated-block-16 [data-amrelated-js="slider"]').on(
7195                            "afterChange",
7196                            function (event, slick, currentSlide) {
7197                              if (typeof $.fn.lazyload !== "undefined") {
7198                                $(window).trigger("scroll");
7199                              }
7200                            }
7201                          );
7202      
7203                          $("#amrelated-block-16 img.lazy").lazyload();
7204                          $(window).trigger("scroll");
7205                          initializeCountdown();
7206                        } else {
7207                          $("#amrelated-block-16 .costway-loading-box").hide();
7208                        }
7209                      },
7210                      error: function (xhr, status, error) {
7211                        //console.log("error:", xhr, status, error);
7212                        $("#amrelated-block-16 .costway-loading-box").hide();
7213                      },
7214                    });
7215                  });
7216                },
7217              },
7218            ]);
7219          }
7220          // Send the request only once
7221          ScarabQueue.push(["go"]);
7222        }       
7223      </script>
vendor: 1 bytes, line 7223
7223
7224<script type="9506a0549efbd9a352f2d304-text/javascript">
7225            // dummy variable - please replace with your customer ID variable
7226            var webEmarsysSdkCustomerId = typeof customer_id !== "undefined" && customer_id > 0 ? customer_id : "";
7227            var emarsysFieldId = 6696;
7228            var emarsysPopupRootElement = document.querySelector("#emarsys-permission-popup");
7229            var emarsysSubscribePopupShowTimer = null;
7230            var emarsysTimeout = window.innerWidth < 768 ? 120000 : 210000; // PC:三分半  210000,MB:两分钟 120000
7231            var emarsysVisibilityTimeout = 30000; // 30 seconds
7232            var emarsysPopupHideTimer = null; // 定时器,用于隐藏弹窗
7233    
7234    
7235            function emarsysIsChrome() {
7236                var userAgent = navigator.userAgent;
7237                // 检查是否为 Chrome 浏览器,同时排除 Edge 浏览器
7238                var isChrome =
7239                    userAgent.indexOf("Chrome") > -1 && userAgent.indexOf("Edg") === -1;
7240                return isChrome;
7241            }
7242    
7243            function emarsysVisibilityTimeoutCallback() {
7244                //console.log("show popup timeout callback, hide popup")
7245                emarsysPopupHideTimer = setInterval(() => {
7246                    hideEmarsysPermissionPopup()
7247                }, emarsysVisibilityTimeout);
7248            }
7249    
7250            //function - subscribe() - to trigger premission popup by browser and sync browser token to Emarsys - [all pages]
7251            // new subscriber - start
7252            function generalSubscribe() {
7253                WebEmarsysSdk.push(function (res) {
7254                    if (!emarsysIsChrome() && emarsysPopupRootElement.classList.contains("flex")) {
7255                        hideEmarsysPermissionPopup("accept");
7256                    }
7257                    emarsysSubscribe();
7258    
7259                    WebEmarsysSdk.push([
7260                        "onSubscribe",
7261                        function (res) {
7262                            //Result: The user has subscribed web push
7263                            localStorage.setItem("emarsysSubscribe", "subscribe");
7264    
7265                            if (webEmarsysSdkCustomerId) {
7266                                // for user in login status
7267                                WebEmarsysSdk.push(function (res) {
7268                                    WebEmarsysSdk.isSubscribed()
7269                                        .then(function (res) {
7270                                            const contactInfo = {
7271                                                fieldId: Number(emarsysFieldId),
7272                                                fieldValue: webEmarsysSdkCustomerId,
7273                                            };
7274                                            loginResult = WebEmarsysSdk.login(contactInfo).then(
7275                                                function (res) {
7276                                                    if (res) {
7277                                                        localStorage.setItem("emarsysLogin",
7278                                                            "login");
7279                                                    }
7280                                                }
7281                                            );
7282                                        })
7283                                        .catch(function (err) {
7284                                            console.error("Is subscribed error", err);
7285                                        });
7286                                });
7287                            }
7288                        },
7289                    ]);
7290                });
7291            }
7292            // new subscriber - end
7293    
7294            // login / Logout - start
7295    
7296            //login() - map existing contact to this browser - [all pages]
7297            //suggest to run once only
7298            if (webEmarsysSdkCustomerId) {
7299                // for user in login status
7300                if (!localStorage.getItem("emarsysLogin")) {
7301                    WebEmarsysSdk.push(function (res) {
7302                        WebEmarsysSdk.isSubscribed()
7303                            .then(function (res) {
7304                                const contactInfo = {
7305                                    fieldId: Number(emarsysFieldId),
7306                                    fieldValue: webEmarsysSdkCustomerId,
7307                                };
7308                                loginResult = WebEmarsysSdk.login(contactInfo).then(function (
7309                                    res
7310                                ) {
7311                                    //console.log("Login Result: " + res);
7312                                    if (res) {
7313                                        localStorage.setItem("emarsysLogin", "login");
7314                                    }
7315                                });
7316                            })
7317                            .catch(function (err) {
7318                                console.error("Is subscribed error", err);
7319                            });
7320                    });
7321                }
7322            } else {
7323                //for visitor (anonymous)
7324                if (localStorage.getItem("emarsysLogin")) {
7325                    WebEmarsysSdk.push(function (res) {
7326                        WebEmarsysSdk.isSubscribed()
7327                            .then(function (res) {
7328                                logoutResult = WebEmarsysSdk.logout().then(function (res) {
7329                                    //console.log("Logout Result: " + res);
7330                                    if (res) {
7331                                        localStorage.removeItem("emarsysLogin");
7332                                    }
7333                                });
7334                            })
7335                            .catch(function (err) {
7336                                console.error("Is subscribed error", err);
7337                            });
7338                    });
7339                }
7340            }
7341            // login / Logout - end
7342    
7343            // unsubscribe() - [the page after web push opt-out]
7344            // unsubscribe - start
7345            // WebEmarsysSdk.push(function (res) {
7346            // 	WebEmarsysSdk.unsubscribe();
7347            // 	localStorage.removeItem("emarsysSubscribe");
7348            // });
7349            // unsubscribe - end
7350    
7351    
7352            // 设置 cookie 的函数
7353            function emarsysSetCookie(name, value, expires) {
7354                var expiresString = "";
7355                if (expires) {
7356                    expiresString = "; expires=" + expires.toUTCString();
7357                }
7358                document.cookie =
7359                    name + "=" + (value || "") + expiresString + "; SameSite=None; Secure; path=/";
7360            }
7361    
7362            function emarsysGetCookie(name) {
7363                var nameEQ = name + "=";
7364                var ca = document.cookie.split(";");
7365                for (var i = 0; i < ca.length; i++) {
7366                    var c = ca[i];
7367                    while (c.charAt(0) == " ") c = c.substring(1, c.length);
7368                    if (c.indexOf(nameEQ) == 0)
7369                        return c.substring(nameEQ.length, c.length);
7370                }
7371                return null;
7372            }
7373    
7374            // 计算到午夜的时间
7375            function emarsysGetMidnightExpiry() {
7376                var now = new Date();
7377                var midnight = new Date();
7378                midnight.setHours(24, 0, 0, 0); // 设置为今天的24点,即午夜
7379                return midnight;
7380            }
7381    
7382    
7383            function hideEmarsysPermissionPopup(status) {
7384                //console.log("Close popup or set cookie");
7385                clearInterval(emarsysPopupHideTimer);
7386                emarsysPopupHideTimer = null;
7387                clearInterval(emarsysSubscribePopupShowTimer);
7388                emarsysSubscribePopupShowTimer = null;
7389                if (status != "accept") {
7390                    emarsysSetHTMLPopupCookie();
7391                }
7392    
7393                if (emarsysPopupRootElement) {
7394                    emarsysPopupRootElement.classList.remove("flex");
7395                }
7396            }
7397    
7398            function emarsysShowHTMLPopup() {
7399            
7400                //  不在checkout页面显示弹窗且同意或拒绝过弹窗,则不显示弹窗
7401                if (
7402                    emarsysPopupRootElement &&
7403                    !emarsysGetCookie("emarsysClosePopup") &&
7404                    !permissionGrantedRejectedWebPush && !document.body.classList.contains("checkout-index-index")
7405                ) {
7406                    emarsysPopupRootElement.classList.add("flex");
7407                    if (!emarsysIsChrome()) {
7408                        emarsysVisibilityTimeoutCallback()
7409                    }
7410    
7411                }
7412            }
7413    
7414            // logic to display HTML popup
7415    
7416            function isIOS() {
7417                userAgent = window.navigator.userAgent.toLowerCase();
7418                return /iphone|ipad|ipod/.test(userAgent);
7419            }
7420    
7421            function isStandaloneWebApp() {
7422                var isStandaloneWebAppValue = false;
7423    
7424                if (window.matchMedia("(display-mode: standalone)").matches) {
7425                    // The website is being viewed as a standalone web app
7426                    //console.log("Website is being viewed as a web app");
7427                    isStandaloneWebAppValue = true;
7428                }
7429                return isStandaloneWebAppValue;
7430            }
7431    
7432            var permissionGrantedRejectedWebPush = false;
7433            var permissionGrantedWebPush = false;
7434            var isSubscribedStatus = false;
7435    
7436            // If it is not an iOS device, it will run the following logic for HTML pop-up window.
7437            if (isIOS() && !isStandaloneWebApp()) {
7438                //console.log("Not an iOS device or standalone web app");
7439                // no action for iOS and browser			
7440    
7441            } else {
7442                WebEmarsysSdk.push([
7443                    "onReady",
7444                    function (res) {
7445                        WebEmarsysSdk.push([
7446                            "onPermissionGranted",
7447                            function (res) {
7448                                //Result: The user has subscribed web push
7449                                //console.log("EVENT: onPermissionGranted");
7450                                permissionGrantedRejectedWebPush = true;
7451                                permissionGrantedWebPush = true;
7452    //console.log("trackCustomEvent:", typeof window.trackCustomEvent);
7453                            if (typeof window.trackCustomEvent === 'function') {
7454                                window.trackCustomEvent("web_pushmessage_btn",true)
7455                            }
7456                            },
7457                        ]);
7458                        WebEmarsysSdk.push([
7459                            "onPermissionDenied",
7460                            function (res) {
7461                                //result: The user has rejected web push
7462                                //console.log("EVENT: onPermissionDenied");
7463                                permissionGrantedRejectedWebPush = true;
7464    //console.log("trackCustomEvent:", typeof window.trackCustomEvent);
7465                            if (typeof window.trackCustomEvent === 'function') {
7466                                window.trackCustomEvent("web_pushmessage_btn",false)
7467                            }
7468                            },
7469                        ]);
7470                        WebEmarsysSdk.isSubscribed()
7471                            .then(function (e) {
7472                                //result: the user subscribes to Emarsys web push
7473                                isSubscribedStatus = e;
7474                            })
7475                            .catch(function (err) {});
7476    
7477                        //console.log("onReady,", 'The count down began:', emarsysTimeout);
7478                        // emarsysSubscribePopupShowTimer = setTimeout(emrsysFuncHTMLPopup, emarsysTimeout);
7479    
7480                        // 检查 localStorage 中是否已有开始时间
7481                        let startTime = localStorage.getItem('startTime');
7482                        if (!startTime) {
7483                            // 如果没有,设置当前时间为开始时间并存储到 localStorage
7484                            startTime = Date.now();
7485                            localStorage.setItem('startTime', startTime);
7486                        }
7487                        // 计算目标时间
7488                        const targetTime = parseInt(startTime, 10) + emarsysTimeout;
7489                        //console.log('targetTime:', targetTime);
7490                        if (targetTime) {
7491                            const remainingTime = targetTime - Date.now();
7492                            if (remainingTime > 0) {
7493                                //console.log('The count down ended:', remainingTime);
7494                                emarsysSubscribePopupShowTimer = setTimeout(emrsysFuncHTMLPopup, remainingTime);
7495                            } else {
7496                                localStorage.removeItem('startTime');
7497                            }
7498                        }
7499    
7500                        //Since above asynchronous function may take time to call back, it setup to wait for 2 seconds to the next logic.
7501                    },
7502                ]);
7503            }
7504    
7505            function emarsysSetHTMLPopupCookie() {
7506                const expiryDate = emarsysGetMidnightExpiry();
7507                emarsysSetCookie("emarsysClosePopup", "1", expiryDate);
7508            }
7509    
7510            function emarsysSubscribe() {
7511                // 判断是否是执行过WebEmarsysSdk.subscribe() 并且不在checkout页面
7512                if (!emarsysGetCookie("emarsysClosePopup") && !document.body.classList.contains("checkout-index-index")) {
7513                    WebEmarsysSdk.subscribe();
7514                    emarsysSetHTMLPopupCookie();
7515                }
7516            }
7517    
7518    
7519            function emrsysFuncHTMLPopup() {
7520    
7521                //Re-subscribe web push
7522                if (permissionGrantedWebPush == true && isSubscribedStatus == false) {
7523                    //console.log("Resubscribe: WebEmarsysSdk.subscribe()");
7524                    WebEmarsysSdk.subscribe();
7525                }
7526    
7527                if (!permissionGrantedRejectedWebPush) {
7528                    // If the web push has not been subscribed or rejected in this browser, you can run your logic for HTML popup.
7529                    //console.log("Show HTML popup");
7530                    !emarsysIsChrome() ? emarsysShowHTMLPopup() : emarsysSubscribe();
7531                }
7532    
7533                localStorage.removeItem('startTime');
7534            }
7535        </script>
vendor: 1 bytes, line 7535
7535
7536<script type="9506a0549efbd9a352f2d304-text/javascript" id="da7e0e6fd5cf">
7537
7538document.addEventListener('ftr:tokenReady', function(event) {
7539    try {
7540        var xhr = new XMLHttpRequest();
7541        xhr.open("POST", "https://www.costway.es/forter/index/sessions/", true);
7542        xhr.setRequestHeader("Content-type", "application/json");
7543        xhr.setRequestHeader("Forter-Token", event.detail);
7544        xhr.send();
7545    } catch (err) {
7546        console.log(err.message);
7547    }
7548});
7549
7550(function () {
7551        var merchantConfig = {
7552            csp: false
7553        };
7554
7555        var siteId = 'da7e0e6fd5cf';
7556        function t(t,n){for(var e=t.split(""),r=0;r<e.length;++r)e[r]=String.fromCharCode(e[r].charCodeAt(0)+n);return e.join("")}function n(n){return t(n,-S).replace(/%SN%/g,siteId)}function e(){var t="no"+"op"+"fn",n="g"+"a",e="n"+"ame";return window[n]&&window[n][e]===t}function r(){return!(!navigator.brave||"function"!=typeof navigator.brave.isBrave)}function o(){return document.currentScript&&document.currentScript.src}function i(t){try{B.ex=t,e()&&-1===B.ex.indexOf(R.uB)&&(B.ex+=R.uB),r()&&-1===B.ex.indexOf(R.uBr)&&(B.ex+=R.uBr),o()&&-1===B.ex.indexOf(R.nIL)&&(B.ex+=R.nIL),window.ftr__snp_cwc||(B.ex+=R.s),F(B)}catch(t){}}function c(t,n){function e(o){try{o.blockedURI===t&&(n(),document.removeEventListener(r,e))}catch(t){document.removeEventListener(r,e)}}var r="securitypolicyviolation";document.addEventListener(r,e),setTimeout(function(){document.removeEventListener(r,e)},2*60*1e3)}function a(t,n,e,r){var o=!1;t="https://"+t,c(t,function(){r(!0),o=!0});var i=document.createElement("script");i.onerror=function(){if(!o)try{r(!1),o=!0}catch(t){}},i.onload=e,i.type="text/javascript",i.id="ftr__script",i.async=!0,i.src=t;var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(i,a)}function u(t,n,e,r){var o=!1,i=new XMLHttpRequest;if(c("https:"+t,function(){e(new Error("CSP Violation"),!0),o=!0}),"//"===t.slice(0,2)&&(t="https:"+t),"withCredentials"in i)i.open("GET",t,!0);else{if("undefined"==typeof XDomainRequest)return;i=new XDomainRequest,i.open("GET",t)}Object.keys(r).forEach(function(t){i.setRequestHeader(t,r[t])}),i.onload=function(){"function"==typeof n&&n(i)},i.onerror=function(t){if("function"==typeof e&&!o)try{e(t,!1),o=!0}catch(t){}},i.onprogress=function(){},i.ontimeout=function(){"function"==typeof e&&e("tim"+"eo"+"ut",!1)},setTimeout(function(){i.send()},0)}function d(t,siteId,n){function e(t){var n=t.toString(16);return n.length%2?"0"+n:n}function r(t){if(t<=0)return"";for(var n="0123456789abcdef",e="",r=0;r<t;r++)e+=n[Math.floor(Math.random()*n.length)];return e}function o(t){for(var n="",r=0;r<t.length;r++)n+=e(t.charCodeAt(r));return n}function i(t){for(var n=t.split(""),e=0;e<n.length;++e)n[e]=String.fromCharCode(255^n[e].charCodeAt(0));return n.join("")}n=n?"1":"0";var c=[];return c.push(t),c.push(siteId),c.push(n),function(t){var n=40,e="";return t.length<n/2&&(e=","+r(n/2-t.length-1)),o(i(t+e))}(c.join(","))}function f(){function t(){U&&(Q(R.dUAL),setTimeout(s,E,R.dUAL))}function n(t,n){i(n?R.uAS+R.uF+R.cP:R.uAS+R.uF)}window.ftr__fdad(t,n)}function s(t){try{var n=t===R.uDF?C:U;if(!n)return;a(n,void 0,function(){try{X(),i(t+R.uS)}catch(t){}},function(n){try{X(),B.td=1*new Date-B.ts,i(n?t+R.uF+R.cP:t+R.uF),t===R.uDF&&f()}catch(t){i(R.eUoe)}})}catch(n){i(t+R.eTlu)}}var v="22g6otrwjeq6qsu1forxgiurqw1qhw2vwdwxv",h="fort",w="erTo",l="ken";window.ftr__config={m:merchantConfig,s:"19",si:siteId};var m=!1,p=h+w+l,g=10,_={write:function(t,n,e,r){void 0===r&&(r=!0);var o,i;if(e?(o=new Date,o.setTime(o.getTime()+24*e*60*60*1e3),i="; expires="+o.toGMTString()):i="",!r)return void(document.cookie=escape(t)+"="+escape(n)+i+"; path=/");for(var c=1,a=document.domain.split("."),u=g,d=!0;d&&a.length>=c&&u>0;){var f=a.slice(-c).join(".");document.cookie=escape(t)+"="+escape(n)+i+"; path=/; domain="+f;var s=_.read(t);null!=s&&s==n||(f="."+f,document.cookie=escape(t)+"="+escape(n)+i+"; path=/; domain="+f),d=-1===document.cookie.indexOf(t+"="+n),c++,u--}},read:function(t){var n=null;try{for(var e=escape(t)+"=",r=document.cookie.split(";"),o=32,i=0;i<r.length;i++){for(var c=r[i];
7556c.charCodeAt(0)===o;)c=c.substring(1,c.length);0===c.indexOf(e)&&(n=unescape(c.substring(e.length,c.length)))}}finally{return n}}},y=window.ftr__config.s;y+="ck";var T=function(t){var n=!1,e=null,r=function(){try{if(!e||!n)return;e.remove&&"function"==typeof e.remove?e.remove():document.head.removeChild(e),n=!1}catch(t){}};document.head&&(!function(){e=document.createElement("link"),e.setAttribute("rel","pre"+"con"+"nect"),e.setAttribute("cros"+"sori"+"gin","anonymous"),e.onload=r,e.onerror=r,e.setAttribute("href",t),document.head.appendChild(e),n=!0}(),setTimeout(r,3e3))},S=3,x=n(v||"22g6otrwjeq6qsu1forxgiurqw1qhw2vwdwxv"),A=t("[0Uhtxhvw0LG",-S),L=t("[0Fruuhodwlrq0LG",-S),k=t("Li0Qrqh0Pdwfk",-S),U,q="fgq71iruwhu1frp",C=n("(VQ(1"+q+"2vq2(VQ(2vfulsw1mv"),D=n("(VQ(1"+q+"2vqV2(VQ(2vfulsw1mv"),E=10;window.ftr__startScriptLoad=1*new Date;var b=function(t){var n="ft"+"r:tok"+"enR"+"eady";window.ftr__tt&&clearTimeout(window.ftr__tt),window.ftr__tt=setTimeout(function(){try{delete window.ftr__tt,t+="_tt";var e=document.createEvent("Event");e.initEvent(n,!1,!1),e.detail=t,document.dispatchEvent(e)}catch(t){}},1e3)},F=function(t){var n=function(t){return t||""},e=n(t.id)+"_"+n(t.ts)+"_"+n(t.td)+"_"+n(t.ex)+"_"+n(y);_.write(p,e,400,!0),b(e),window.ftr__gt=e},I=function(){var t=_.read(p)||"",n=t.split("_"),e=function(t){return n[t]||void 0};return{id:e(0),ts:e(1),td:e(2),ex:e(3),vr:e(4)}},V=function(){for(var t={},n="fgu",e=[],r=0;r<256;r++)e[r]=(r<16?"0":"")+r.toString(16);var o=function(t,n,r,o,i){var c=i?"-":"";return e[255&t]+e[t>>8&255]+e[t>>16&255]+e[t>>24&255]+c+e[255&n]+e[n>>8&255]+c+e[n>>16&15|64]+e[n>>24&255]+c+e[63&r|128]+e[r>>8&255]+c+e[r>>16&255]+e[r>>24&255]+e[255&o]+e[o>>8&255]+e[o>>16&255]+e[o>>24&255]},i=function(){if(window.Uint32Array&&window.crypto&&window.crypto.getRandomValues){var t=new window.Uint32Array(4);return window.crypto.getRandomValues(t),{d0:t[0],d1:t[1],d2:t[2],d3:t[3]}}return{d0:4294967296*Math.random()>>>0,d1:4294967296*Math.random()>>>0,d2:4294967296*Math.random()>>>0,d3:4294967296*Math.random()>>>0}},c=function(){var t="",n=function(t,n){for(var e="",r=t;r>0;--r)e+=n.charAt(1e3*Math.random()%n.length);return e};return t+=n(2,"0123456789"),t+=n(1,"123456789"),t+=n(8,"0123456789")};return t.safeGenerateNoDash=function(){try{var t=i();return o(t.d0,t.d1,t.d2,t.d3,!1)}catch(t){try{return n+c()}catch(t){}}},t.isValidNumericalToken=function(t){return t&&t.toString().length<=11&&t.length>=9&&parseInt(t,10).toString().length<=11&&parseInt(t,10).toString().length>=9},t.isValidUUIDToken=function(t){return t&&32===t.toString().length&&/^[a-z0-9]+$/.test(t)},t.isValidFGUToken=function(t){return 0==t.indexOf(n)&&t.length>=12},t}(),R={uDF:"UDF",dUAL:"dUAL",uAS:"UAS",mLd:"1",eTlu:"2",eUoe:"3",uS:"4",uF:"9",tmos:["T5","T10","T15","T30","T60"],tmosSecs:[5,10,15,30,60],bIR:"43",uB:"u",uBr:"b",cP:"c",nIL:"i",s:"s"};try{var B=I();try{B.id&&(V.isValidNumericalToken(B.id)||V.isValidUUIDToken(B.id)||V.isValidFGUToken(B.id))?window.ftr__ncd=!1:(B.id=V.safeGenerateNoDash(),window.ftr__ncd=!0),B.ts=window.ftr__startScriptLoad,F(B),window.ftr__snp_cwc=!!_.read(p),window.ftr__snp_cwc||(C=D);for(var G="for"+"ter"+".co"+"m",M="ht"+"tps://c"+"dn9."+G,O="ht"+"tps://"+B.id+"-"+siteId+".cd"+"n."+G,j="http"+"s://cd"+"n3."+G,N=[M,O,j],H=0;H<N.length;H++)T(N[H]);var P=new Array(R.tmosSecs.length),Q=function(t){for(var n=0;n<R.tmosSecs.length;n++)P[n]=setTimeout(i,1e3*R.tmosSecs[n],t+R.tmos[n])},X=function(){for(var t=0;t<R.tmosSecs.length;t++)clearTimeout(P[t])};window.ftr__fdad=function(n,e){if(!m){m=!0;var r={};r[k]=d(window.ftr__config.s,siteId,window.ftr__config.m.csp),u(x,function(e){try{var r=e.getAllResponseHeaders().toLowerCase();if(r.indexOf(L.toLowerCase())>=0){var o=e.getResponseHeader(L);window.ftr__altd2=t(atob(o),-S-1)}if(r.indexOf(A.toLowerCase())<0)return;var i=e.getResponseHeader(A),c=t(atob(i),-S-1);if(c){var a=c.split(":");if(a&&2===a.length){for(var u=a[0],d=a[1],f="",s=0,v=0;s<20;++s)f+=s%3>0&&v<12?siteId.charAt(v++):B.id.charAt(s);var h=d.split(",");if(h.length>1){var w=h[0],l=h[1];U=u+"/"+w+"."+f+"."+l}}}n()}catch(t){}},function(t,n){e&&e(t,n)},r)}},Q(R.uDF),setTimeout(s,E,R.uDF)}catch(t){i(R.mLd)}}catch(t){}}
7557)();
7558
7559</script>
vendor: 1 bytes, line 7559
7559
7560<script type="9506a0549efbd9a352f2d304-text/javascript">
7561        (function () {
7562            require(['jquery'], function ($) {
7563                function riskifiedBeaconLoad() {
7564                    $.ajax(
7565                        "https://www.costway.es/decider/response/session/", {
7566                            success : function(response) {
7567                                var session_id = response.session_id;
7568
7569                                if(!session_id) {
7570                                    return false;
7571                                }
7572
7573                                var store_domain = "www.costway.com_es";
7574                                var version = "1.1.0";
7575
7576                                var url = ('https:' == document.location.protocol ? 'https://' : 'http://')
7577                                    + "beacon.riskified.com?shop=" + store_domain
7578                                    + "&sid=" + session_id
7579                                    + "&v=" + version;
7580
7581                                var s = document.createElement('script');
7582                                s.type = 'text/javascript';
7583                                s.async = true;
7584                                s.src = url;
7585                                var x = document.getElementsByTagName('script')[0];
7586                                x.parentNode.insertBefore(s, x);
7587                            }
7588                        }
7589                    );
7590                }
7591
7592                riskifiedBeaconLoad();
7593                /*
7594                if(window.attachEvent) {
7595                     window.attachEvent('onload', riskifiedBeaconLoad)
7596                 } else{
7597                     window.addEventListener('load', riskifiedBeaconLoad, false);
7598                 }
7599                 */
7600            }) 
7601        })();
7602    </script>
vendor: 1 bytes, line 7602
7602
7603<script type="text/x-magento-init">
7604    {
7605        "body": {
7606            "subscribeModal": {}
7607        }
7608    }
7609</script>
vendor: 1 bytes, line 7609
7609
7610<script type="9506a0549efbd9a352f2d304-text/javascript">
7611require(["jquery", 'toastr'], function ($,toastr) {
7612    'use strict';
7613    // 在页面加载时检查是否有注册成功的标志
7614    $(document).ready(function() {
7615        var toastrOptions  = {
7616        "closeButton": false,
7617        "debug": false,
7618        "newestOnTop": false,
7619        "progressBar": false,
7620        "positionClass": "toast-top-center",
7621        "preventDuplicates": true,
7622        "onclick": null,
7623        "showDuration": "300",
7624        "hideDuration": "1000",
7625        "timeOut": "3000",
7626        "extendedTimeOut": "1000",
7627        "showEasing": "swing",
7628        "hideEasing": "linear",
7629        "showMethod": "fadeIn",
7630        "hideMethod": "fadeOut"
7631    };
7632    
7633        const subscribeRegisterStatus = localStorage.getItem('subscribeRregisterSuccess')
7634        if (subscribeRegisterStatus && subscribeRegisterStatus.trim() !== '') {
7635            const addToastrOptions = {...toastrOptions,toastClass:"toast-subscribe-register-success"}
7636            toastr["success"](subscribeRegisterStatus,'',addToastrOptions)
7637            localStorage.removeItem('subscribeRregisterSuccess');
7638        }
7639    });
7640});
7641</script>
vendor: 143 bytes, lines 7641-7642
7641
7642<script src="/cdn-cgi/scripts/7d0fa10a/cloudflare-static/rocket-loader.min.js" data-cf-settings="9506a0549efbd9a352f2d304-|49" defer></script>
7642<script type="module" src="https://static.cloudflareinsights.com/beacon.min.js/v4bc70e2c01a94c73b74392e4234840661791215815920" integrity="sha512-L0ha0OXavK/8okipN9F8BtP84dg9DUhPERbBXzwI6dgTA55d2+yweo3pn5CSFYs45/r8md2+xvUPtTdvTNRfjA==" data-cf-beacon='{"version":"2024.11.0","token":"af1402b8b4204500a66e15fb6e83ad38","spa":2}' crossorigin="anonymous"></script>
7642
7643</body>
7644</html>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.