/* Test database only, enabled by a scoped QWeb marker. */
body:has([data-ew-retail-preview]) #products_grid>.o_wsale_filmstip_container{display:none!important}
body:has([data-ew-retail-preview]) #category_header{display:none!important}
body:has([data-ew-retail-preview]) #category_header h1,body:has([data-ew-retail-preview]) #category_header h2{font-size:36px!important;line-height:1.3!important;margin-bottom:8px!important}
body:has([data-ew-retail-preview]) #category_header h1 *,body:has([data-ew-retail-preview]) #category_header h2 *{font-size:inherit!important;line-height:inherit!important}
body:has([data-ew-retail-preview]) #category_header img{width:84px!important;height:84px!important;object-fit:contain;padding:0!important}
body:has([data-ew-retail-preview]) #o_wsale_categories .accordion-header{align-items:center;margin:0 0 4px!important}
body:has([data-ew-retail-preview]) #o_wsale_categories .accordion-header>a{flex:1;min-width:0}
body:has([data-ew-retail-preview]) #o_wsale_categories .o_categories_recursive_button{flex:0 0 32px!important;margin-left:0!important;min-height:40px!important;padding:8px!important}
body:has([data-ew-retail-preview]) #o_wsale_categories ul.accordion-collapse{margin:0 0 4px;padding-left:16px!important;border-left:1px solid #e8dfcf}
.ew-home-browser{width:calc(100% - 64px);max-width:1580px;margin:32px auto 48px;display:grid;grid-template-columns:196px minmax(0,1fr);gap:32px;align-items:start}
.ew-home-browser .ew-home-purpose-nav{position:sticky;top:100px;width:100%;padding:20px 14px;border:1px solid #e6ddcf;background:#faf8f3;margin:0}
.ew-home-browser .ew-home-purpose-nav h3{font-size:22px;margin:0 0 16px;padding:0 8px}
.ew-home-browser .ew-home-purpose-links{display:flex;flex-direction:column;gap:4px}
.ew-home-browser .ew-home-purpose-links a{justify-content:flex-start;gap:10px;padding:8px;border:0;min-height:56px;color:#765723;text-decoration:none;font-size:16px}
.ew-home-purpose-links .ew-purpose-thumb{height:42px;width:42px;object-fit:contain;background:white;border-radius:50%;flex-shrink:0}
.ew-home-browser .ew-home-purpose-links a:not(:has(.ew-purpose-thumb))::before{content:'\f0f5';font-family:FontAwesome;display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border-radius:50%;background:#f1ebdf;color:#a49375;font-size:18px}
.ew-home-browser .ew-home-purpose-links a:hover,.ew-home-browser .ew-home-purpose-links a[aria-current=true]{background:#eee4d1;color:#29251f;box-shadow:inset 2px 0 #a47a2b}
.ew-home-browser-content{min-width:0}
.ew-home-browser-content>.ewh-native{padding:0 0 48px!important;scroll-margin-top:104px}
.ew-home-browser-content>.ewh-native>.container{width:100%;max-width:none;padding-inline:0}
body:has([data-ew-retail-preview]) .ew-home-browser-content>.ewh-native:not(#eatwell-home-hero){padding:0 0 48px!important}
body:has([data-ew-retail-preview]) .ew-home-browser-content>.ewh-poster-only:not(#eatwell-home-hero){padding-bottom:24px!important}
.ew-quick-card{position:relative;cursor:pointer}
.ew-quick-media{position:relative}
.ew-quick-media>.o_carousel_product_img_link{display:block}
.ew-quick-card .ew-old-card-cta{display:none!important}
.ew-quick-cart{position:absolute;right:14px;bottom:14px;top:auto;width:56px;height:56px;border:1px solid #a57624;border-radius:50%;background:#b8862b;color:#fff;display:grid;place-items:center;z-index:4;box-shadow:0 4px 14px #34271030;opacity:0;transform:translateY(5px);transition:opacity .15s,transform .15s;cursor:pointer}
.ew-quick-cart svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8}
.ew-quick-card:hover .ew-quick-cart,.ew-quick-card:focus-within .ew-quick-cart{opacity:1;transform:none}
.ew-quick-cart:hover{background:#886020;color:white}
.ew-quick-cart:focus-visible{outline:2px solid #29251f;outline-offset:3px}
.ew-quick-dialog{padding:0;border:1px solid #ded5c7;border-radius:6px;width:min(1160px,calc(100vw - 48px));max-width:1160px;height:min(860px,calc(100dvh - 64px));max-height:calc(100dvh - 64px);color:#29251f;background:#fff;overflow:hidden}
.ew-quick-dialog::backdrop{background:#24211dcc;backdrop-filter:blur(2px)}
.ew-quick-dialog>header{height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 22px;border-bottom:1px solid #e8dfcf}
.ew-quick-dialog>header h2{font-size:22px;margin:0;line-height:1.4}
.ew-quick-close{height:40px;width:40px;background:white;border:1px solid #ded5c7;font:26px/1 system-ui;color:#50483b;flex-shrink:0}
.ew-quick-view-frame{display:block;border:0;width:100%;height:calc(100% - 64px);background:white}
.ew-quick-loading{position:absolute;inset:65px 0 0;display:grid;place-items:center;background:white;color:#886020;pointer-events:none}
.ew-quick-loading[hidden]{display:none}
.ew-quick-loading:has(button){display:flex;flex-wrap:wrap;align-content:center;justify-content:center;gap:12px;padding:24px;text-align:center;pointer-events:auto}
.ew-quick-loading:has(button) p{width:100%;margin:0 0 4px}
.ew-quick-toast{position:fixed;right:24px;bottom:24px;z-index:1055;padding:16px 22px;max-width:calc(100vw - 32px);background:#fbf8f0;border:1px solid #c8ac72;box-shadow:0 6px 24px #29251f26;color:#29251f}
.ew-quick-toast a{margin-left:20px;color:#886020}
html.ew-quick-doc #wrapwrap>header,html.ew-quick-doc #wrapwrap>footer,html.ew-quick-doc .o_frontend_to_backend_nav,html.ew-quick-doc .ew-retail-whatsapp,html.ew-quick-doc .s_dynamic_snippet_products:not(.js_main_product .s_dynamic_snippet_products),html.ew-quick-doc .o_website_sale_breadcrumb{display:none!important}
html.ew-quick-doc #wrapwrap{padding:0!important}
html.ew-quick-doc #product_detail{padding:24px!important;margin-top:0!important}
html.ew-quick-doc #product_detail>.row:not(#product_detail_main),html.ew-quick-doc .zoomodoo-flyout,html.ew-quick-doc .whatsapp-float{display:none!important}
html.ew-quick-doc #product_detail h1{font-size:30px!important;letter-spacing:.02em!important}
html.ew-quick-doc #product_detail .product_price{margin-bottom:20px!important}
html.ew-quick-doc .ew-product-note textarea{min-height:72px}
html.ew-quick-doc .ew-sticky{position:sticky!important;bottom:0}
body:has([data-ew-retail-preview]) #products_grid_before .products_categories{margin:0!important;padding:0!important;border:0!important;border-bottom:1px solid #e7e2da!important}
body:has([data-ew-retail-preview]) #products_grid_before .products_categories .accordion-item{border:0!important}
body:has([data-ew-retail-preview]) #products_grid_before .products_attributes_filters{margin:0!important;padding:0!important;border:0!important}
body:has([data-ew-retail-preview]) #products_grid_before .o_categories_collapse_title,body:has([data-ew-retail-preview]) #o_wsale_price_range_option h6{margin:0!important}
body:has([data-ew-retail-preview]) .ew-shop-ux #products_grid_before .products_categories .o_categories_collapse_title>.accordion-button,body:has([data-ew-retail-preview]) #o_wsale_price_range_option h6>.accordion-button{min-height:52px;padding:12px 0!important}
body:has([data-ew-retail-preview]) #products_grid_before .products_categories .accordion-collapse>ul.nav{margin-bottom:0!important;padding-bottom:12px!important}
@media(hover:none),(pointer:coarse){.ew-quick-cart{opacity:1;transform:none}}
@media(max-width:991px){
 .ew-home-browser{width:calc(100% - 32px);display:block;margin:24px auto}
 .ew-home-browser .ew-home-purpose-nav{position:static;margin-bottom:28px;padding:16px}
 .ew-home-browser .ew-home-purpose-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
 .ew-home-browser .ew-home-purpose-links a{font-size:15px;padding:6px;gap:8px}
 .ew-purpose-thumb{width:34px!important;height:34px!important}
 .ew-quick-cart{opacity:1;transform:none;width:48px;height:48px;right:10px;bottom:10px;top:auto}
 .ew-quick-cart svg{width:26px;height:26px}
 body:has([data-ew-retail-preview]) #products_grid_before.ew-filter-rail{margin-bottom:12px!important}
 .ew-quick-dialog{width:calc(100vw - 16px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);max-width:none}
 .ew-quick-dialog>header{padding:10px 14px;height:58px}
 .ew-quick-dialog>header h2{font-size:19px}
 .ew-quick-view-frame{height:calc(100% - 58px)}
 html.ew-quick-doc #product_detail{padding:16px!important}
 body:has([data-ew-retail-preview]) #category_header h1,body:has([data-ew-retail-preview]) #category_header h2{font-size:28px!important}
}
@media(prefers-reduced-motion:reduce){.ew-quick-cart{transition:none}}

/* Shared retail navigation and card hierarchy, homepage and every catalog route. */
body:has([data-ew-retail-preview]){--ew-rail-bg:#faf8f3;--ew-rail-line:#e7e0d5;--ew-rail-text:#49443b;--ew-rail-active:#f1e6d1;--ew-heading-font:GenKiMin2TC-H,"Odoo Unicode Support Noto",serif}
.ew-home-browser{grid-template-columns:252px minmax(0,1fr);gap:28px}
.ew-home-browser .ew-home-purpose-nav{padding:0 16px;background:var(--ew-rail-bg);border-color:var(--ew-rail-line)}
.ew-home-browser .ew-home-purpose-nav h3{margin:0;padding:0;font-size:18px}
body:has([data-ew-retail-preview]) #products_grid_before .o_wsale_products_grid_before_rail{background:var(--ew-rail-bg);border:1px solid var(--ew-rail-line);padding:0 16px 16px!important;margin:0!important;height:auto!important;max-height:calc(100dvh - 112px);scrollbar-width:thin}
.ew-home-browser .ew-home-purpose-nav .accordion-button,
body:has([data-ew-retail-preview]) .ew-shop-ux #products_grid_before .accordion-header>.accordion-button{min-height:52px;padding:12px 0!important;font-family:var(--ew-heading-font);font-size:18px!important;font-weight:500;color:#29251f;border:0;border-radius:0}
.ew-home-browser .ew-home-purpose-nav .accordion-button b,
body:has([data-ew-retail-preview]) .ew-shop-ux #products_grid_before .accordion-header>.accordion-button b{font-family:var(--ew-heading-font);font-size:18px;line-height:27px;font-weight:500;color:inherit}
.ew-home-browser .ew-home-purpose-nav .accordion-button::after,
body:has([data-ew-retail-preview]) #products_grid_before .accordion-button::after{width:16px;height:16px;background-size:16px}
.ew-home-browser .ew-home-purpose-nav .accordion-button{display:flex;align-items:center;width:100%;text-align:left}
.ew-home-browser .ew-home-purpose-nav .accordion-button::after{content:'';display:block;flex:0 0 16px;margin-left:auto;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23212529' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 5L8 11L14 5'/%3E%3C/svg%3E");transform:rotate(180deg);transition:transform .2s}
.ew-home-browser .ew-home-purpose-nav .accordion-button.collapsed::after{transform:none}
.ew-home-browser .ew-home-purpose-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 6px;padding:0 0 12px}
.ew-home-browser .ew-home-purpose-links a,
body:has([data-ew-retail-preview]) .ew-shop-ux #products_grid_before .products_categories li a{display:flex!important;align-items:center;justify-content:flex-start;gap:10px;min-height:44px;padding:8px 10px!important;margin:0!important;color:var(--ew-rail-text)!important;font-size:16px;line-height:1.65;text-decoration:none!important;border:0;border-radius:0;box-shadow:none}
body:has([data-ew-retail-preview]) #products_grid_before .products_categories .nav-item{margin:0!important}
.ew-home-browser .ew-home-purpose-links a:not(:has(.ew-purpose-thumb))::before{content:none}
.ew-purpose-icon{display:inline-grid;place-items:center;width:20px;height:24px;flex:0 0 20px;color:#947440}.ew-purpose-icon svg{width:20px;height:20px}
body:has([data-ew-retail-preview]) #ew_purpose_categories>ul.nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 6px}
.ew-home-browser .ew-home-purpose-links a,body:has([data-ew-retail-preview]) .ew-shop-ux #ew_purpose_categories li a{padding:8px 6px!important;gap:6px;font-size:15px}
.ew-home-browser .ew-home-purpose-links a,body:has([data-ew-retail-preview]) .ew-shop-ux #products_grid_before #ew_purpose_categories li a{padding:8px 5px!important;gap:6px;font-size:15px;white-space:nowrap}
body:has([data-ew-retail-preview]) #o_wsale_categories .ew-kind-thumb{width:32px;height:32px;flex:0 0 32px;object-fit:contain;background:#fff;border:1px solid #eee8df;border-radius:50%}
body:has([data-ew-retail-preview]) .ew-shop-ux #o_wsale_categories li a:has(.ew-kind-thumb){padding-block:6px!important}
.ew-home-browser .ew-home-purpose-links a:hover,
body:has([data-ew-retail-preview]) .ew-shop-ux #products_grid_before .products_categories li a:hover{background:#f3eee5;box-shadow:none}
.ew-home-browser .ew-home-purpose-links a[aria-current=true],
body:has([data-ew-retail-preview]) .ew-shop-ux #products_grid_before .products_categories li a:is([aria-current=true],.text-decoration-underline){color:#886020!important;background:var(--ew-rail-active);box-shadow:inset 2px 0 #a47a2b}
.ew-home-browser a:focus-visible,body:has([data-ew-retail-preview]) #products_grid_before a:focus-visible{outline:2px solid #a47a2b;outline-offset:-2px}
body:has([data-ew-retail-preview]) #products_grid_before .products_categories .accordion-item{background:transparent}
body:has([data-ew-retail-preview]) #products_grid_before .products_categories .accordion-collapse>ul.nav{padding-bottom:12px!important}
body:has([data-ew-retail-preview]) #products_grid_before #o_wsale_price_range_option{padding-bottom:0!important}
body:has([data-ew-retail-preview]) .ew-home-browser-content .s_dynamic_snippet_title{min-height:78px;padding:12px 18px!important;align-items:center;flex-direction:row!important;gap:16px;background-size:cover;margin:0 0 12px!important}
body:has([data-ew-retail-preview]) .ew-home-browser-content .s_dynamic_snippet_title h2{font-size:34px!important;line-height:1.35;margin:0!important;letter-spacing:.02em}
body:has([data-ew-retail-preview]) .ew-home-browser-content .s_dynamic_snippet_title h2 font{font-size:inherit!important}
body:has([data-ew-retail-preview]) .ew-home-browser-content .s_dynamic_snippet_title .btn{font-size:14px;min-height:44px;padding:10px 16px;white-space:nowrap}
body:has([data-ew-retail-preview]) .ew-home-browser-content .s_dynamic_snippet_content{padding-top:4px!important}
body:has([data-ew-retail-preview]) .ew-home-browser-content>.ewh-native>.container>.row{margin-inline:0}
body:has([data-ew-retail-preview]) .o_carousel_product_card.ew-quick-card{border:1px solid #ece7df!important;border-radius:4px;background:#fff!important;overflow:hidden}
body:has([data-ew-retail-preview]) .ew-quick-card .o_wsale_product_information,
body:has([data-ew-retail-preview]) .ew-quick-card .o_carousel_product_card_body{padding:14px!important;gap:0;justify-content:flex-start!important}
body:has([data-ew-retail-preview]) .ew-quick-card .card-title,
body:has([data-ew-retail-preview]) .ew-quick-card .o_wsale_products_item_title{order:0;flex-grow:0!important;margin:0 0 6px!important;font-size:18px!important;line-height:1.5;letter-spacing:0;font-family:var(--ew-heading-font);color:#765723}
body:has([data-ew-retail-preview]) .ew-quick-card .o_wsale_products_item_title a{color:#765723!important}
body:has([data-ew-retail-preview]) .ew-quick-card small{font-size:14px;line-height:1.5;color:#79746b!important;margin:0 0 8px!important}
body:has([data-ew-retail-preview]) .ew-card-price-row{order:2;margin:2px 0 0!important}
body:has([data-ew-retail-preview]) .ew-card-price-row>.h5{margin:0!important}
body:has([data-ew-retail-preview]) .ew-quick-card .product_price>.h6,
body:has([data-ew-retail-preview]) .ew-quick-card [name=product_price]{font-family:var(--ew-heading-font);font-size:20px!important;line-height:1.4;font-weight:600;color:#29251f}
body:has([data-ew-retail-preview]) .ew-quick-card .oe_product_image,
body:has([data-ew-retail-preview]) .ew-quick-card .ew-quick-media{background:#fff}
body:has([data-ew-retail-preview]) .ew-quick-card .ew-quick-media img{object-fit:contain!important}
body:has([data-ew-retail-preview]) .ew-quick-card .o_carousel_product_img_link img{aspect-ratio:1/1;padding:8px}
@media(min-width:992px){
 body:has([data-ew-retail-preview]) .ew-shop-ux>.container.oe_website_sale{width:calc(100% - 64px);max-width:1580px;padding-inline:0}
 body:has([data-ew-retail-preview]) .ew-shop-ux .o_wsale_products_main_row{display:grid!important;grid-template-columns:252px minmax(0,1fr);gap:28px;margin-inline:0}
 body:has([data-ew-retail-preview]) .ew-shop-ux #products_grid_before,
 body:has([data-ew-retail-preview]) .ew-shop-ux #products_grid{width:auto;padding-inline:0!important;min-width:0}
 body:has([data-ew-retail-preview]) #products_grid_before .o_wsale_products_grid_before_rail{overflow-y:auto!important}
 body:has([data-ew-retail-preview]) #products_grid_before .o_wsale_products_grid_before_rail{scrollbar-width:none;-ms-overflow-style:none;overscroll-behavior-y:contain}
 body:has([data-ew-retail-preview]) #products_grid_before .o_wsale_products_grid_before_rail::-webkit-scrollbar{display:none;width:0;height:0}
 body:has([data-ew-retail-preview]) #products_grid_before .o_wsale_products_grid_before_rail[data-ew-more-below=true]{mask-image:linear-gradient(to bottom,#000 calc(100% - 22px),transparent)}
 body:has([data-ew-retail-preview]) #products_grid_before .o_wsale_products_grid_before_rail:focus-visible{outline:2px solid #a47a2b;outline-offset:2px}
}
@media(max-width:991px){
 .ew-home-browser{display:block;width:calc(100% - 24px);margin:20px auto 32px}
 .ew-home-browser .ew-home-purpose-nav{padding:0 14px;margin-bottom:20px}
 .ew-home-browser .ew-home-purpose-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 6px}
 .ew-home-browser .ew-home-purpose-links a{font-size:15px;gap:7px;padding:7px 6px!important;min-height:44px}
 body:has([data-ew-retail-preview]) #products_grid_before .o_wsale_products_grid_before_rail{padding:0 14px!important;max-height:none}
 body:has([data-ew-retail-preview]) .ew-shop-ux #products_grid_before .products_categories ul.nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 6px}
 body:has([data-ew-retail-preview]) .ew-shop-ux #products_grid_before #o_wsale_categories>ul.nav{grid-template-columns:1fr}
 body:has([data-ew-retail-preview]) .ew-shop-ux #products_grid_before .products_categories li a{font-size:15px;padding:7px 6px!important;gap:7px;min-width:0}
 body:has([data-ew-retail-preview]) #products_grid_before .products_categories .o_categories_recursive_button{flex-basis:30px!important;min-width:30px!important}
 body:has([data-ew-retail-preview]) #products_grid_before #o_wsale_categories ul.accordion-collapse{width:100%}
 body:has([data-ew-retail-preview]) #products_grid_before .products_categories .o_categories_recursive_button{flex-basis:44px!important;min-width:44px!important;min-height:44px!important}
 body:has([data-ew-retail-preview]) .ew-shop-ux .products_header{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:10px!important;align-items:center}
 body:has([data-ew-retail-preview]) .ew-shop-ux .products_header .o_searchbar_form{grid-column:1/-1;width:100%;min-width:0}
 body:has([data-ew-retail-preview]) .ew-shop-ux .products_header .o_sortby_dropdown{display:block!important;justify-self:start;margin:0!important}
 body:has([data-ew-retail-preview]) .ew-shop-ux .products_header .o_sortby_dropdown>a{display:inline-flex;align-items:center;gap:5px;min-height:44px;padding:10px 12px;font-size:14px}
 body:has([data-ew-retail-preview]) .ew-shop-ux .products_header .o_sortby_dropdown>a :is(small,span){display:inline!important;font-size:14px}
 body:has([data-ew-retail-preview]) .ew-shop-ux .products_header .o_sortby_dropdown>a .fa{display:none!important}
 body:has([data-ew-retail-preview]) .ew-shop-ux .products_header .ew-mobile-contact{margin:0!important;min-height:44px;justify-self:end}
 body:has([data-ew-retail-preview]) .ew-home-browser-content .s_dynamic_snippet_title{min-height:64px;padding:10px 12px!important;gap:8px}
 body:has([data-ew-retail-preview]) .ew-home-browser-content .s_dynamic_snippet_title h2{font-size:26px!important}
 body:has([data-ew-retail-preview]) .ew-home-browser-content .s_dynamic_snippet_title .btn{font-size:13px;padding:10px 12px}
 body:has([data-ew-retail-preview]) .ew-quick-card .o_wsale_product_information,
 body:has([data-ew-retail-preview]) .ew-quick-card .o_carousel_product_card_body{padding:10px!important}
 body:has([data-ew-retail-preview]) .ew-quick-card .card-title,
 body:has([data-ew-retail-preview]) .ew-quick-card .o_wsale_products_item_title{font-size:16px!important;margin-bottom:4px!important}
 body:has([data-ew-retail-preview]) .ew-quick-card .product_price>.h6,
 body:has([data-ew-retail-preview]) .ew-quick-card [name=product_price]{font-size:18px!important}
 .ew-home-browser-content>.ewh-native{scroll-margin-top:88px}
}
