/* ===== Winter greeting bar ===== */
.aw-bar{position:relative;z-index:400;display:flex;align-items:center;justify-content:center;min-height:38px;padding:0 40px;background:linear-gradient(90deg,#0f3d6e 0%,#1a5f9e 50%,#0f3d6e 100%);color:#eaf6ff;font-size:13.5px;font-weight:500;letter-spacing:.2px;overflow:hidden}
.aw-bar::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.18;background-image:radial-gradient(circle at 10% 30%,#fff 1px,transparent 1.5px),radial-gradient(circle at 30% 70%,#fff 1px,transparent 1.5px),radial-gradient(circle at 55% 25%,#fff 1.2px,transparent 1.7px),radial-gradient(circle at 75% 65%,#fff 1px,transparent 1.5px),radial-gradient(circle at 92% 35%,#fff 1.2px,transparent 1.7px);background-size:220px 38px}
.aw-bar .aw-inner{position:relative;display:flex;align-items:center;gap:10px;color:inherit!important;text-decoration:none!important;max-width:100%}
.aw-bar a.aw-inner:hover .aw-msg.is-on{text-decoration:underline}
.aw-bar .aw-flake{flex:0 0 auto;color:#bfe6ff}
.aw-bar .aw-msgs{display:grid;text-align:center;min-width:0}
.aw-bar .aw-msg{grid-area:1/1;opacity:0;transform:translateY(6px);transition:opacity .5s ease,transform .5s ease;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;visibility:hidden}
.aw-bar .aw-msg.is-on{opacity:1;transform:none;visibility:visible}
.aw-bar .aw-close{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:28px;height:28px;min-height:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#cfe8ff!important;font-size:20px!important;line-height:28px!important;cursor:pointer;box-shadow:none!important}
.aw-bar .aw-close:hover{background:rgba(255,255,255,.12)!important;color:#fff!important}
.aw-bar.is-hidden{display:none}
@media (max-width:768px){.aw-bar{min-height:34px;font-size:12.5px;padding:0 34px 0 12px}.aw-bar .aw-flake:last-of-type{display:none}.aw-bar .aw-msg{white-space:normal;line-height:1.35;padding:6px 0}}
@media (prefers-reduced-motion:reduce){.aw-bar .aw-msg{transition:none}}

/* ===== Subtle icy colour scheme ===== */
body.ambey-winter{
	--wd-primary-color:#1b78c4;
	--btn-accented-bgcolor:#1e6fd9;
	--btn-accented-bgcolor-hover:#1559b8;
	--btn-default-bgcolor:#e3f1fc;
	--aw-ice:#eaf5fd;
	--aw-ice-2:#d8ecfb;
	--aw-frost:#b9dcf6;
	--aw-deep:#0f3d6e;
}
body.ambey-winter .main-page-wrapper,body.ambey-winter .wd-page-content{background-color:#f3f8fc}

/* Header: white with a faint frost line, icy bottom row */
body.ambey-winter .whb-general-header{background:linear-gradient(180deg,#ffffff 0%,#f6fbff 100%)!important;border-bottom:1px solid var(--aw-ice-2)}
body.ambey-winter .whb-header-bottom{background:linear-gradient(90deg,var(--aw-ice) 0%,var(--aw-ice-2) 50%,var(--aw-ice) 100%)!important;border-bottom:1px solid var(--aw-frost)}
body.ambey-winter .whb-header-bottom .whb-row,body.ambey-winter .whb-header-bottom .container{background:transparent!important}
body.ambey-winter .whb-sticked .whb-header-bottom{box-shadow:0 6px 18px rgba(27,120,196,.12)}

/* Buttons: frosty gradient in brand blue */
body.ambey-winter .btn.btn-color-primary,body.ambey-winter .button.alt,body.ambey-winter .single_add_to_cart_button,body.ambey-winter .checkout-button,body.ambey-winter #place_order,body.ambey-winter .wd-add-btn .button,body.ambey-winter .add_to_cart_button{background-image:linear-gradient(135deg,#2a86e0 0%,#1e6fd9 55%,#1a5fc4 100%)!important;border-color:transparent!important;box-shadow:0 4px 14px rgba(30,111,217,.22)}
body.ambey-winter .btn.btn-color-primary:hover,body.ambey-winter .button.alt:hover,body.ambey-winter .single_add_to_cart_button:hover,body.ambey-winter .checkout-button:hover,body.ambey-winter #place_order:hover,body.ambey-winter .add_to_cart_button:hover{box-shadow:0 6px 20px rgba(30,111,217,.32),0 0 0 3px rgba(185,220,246,.55)}

/* Product cards: icy glow on hover */
body.ambey-winter .wd-product .product-wrapper{border-radius:12px;transition:box-shadow .25s ease,transform .25s ease}
body.ambey-winter .wd-product:hover .product-wrapper{box-shadow:0 10px 28px rgba(27,120,196,.14),0 0 0 1px var(--aw-frost);transform:translateY(-2px)}
body.ambey-winter .onsale,body.ambey-winter .product-label.onsale{background:linear-gradient(135deg,#3a9be8,#1b78c4)!important;color:#fff!important}
body.ambey-winter .price,body.ambey-winter .price ins,body.ambey-winter .amount{color:#155e9c}
body.ambey-winter del .amount{color:#8a9aaa}

/* Section titles: small frosty underline */
body.ambey-winter .title-wrapper .title::after,body.ambey-winter .wd-el-title .title::after{content:"";display:block;width:46px;height:3px;margin-top:8px;border-radius:3px;background:linear-gradient(90deg,#1b78c4,#9fd2f5)}
body.ambey-winter .title-wrapper.text-center .title::after,body.ambey-winter .wd-el-title.text-center .title::after{margin-left:auto;margin-right:auto}

/* Footer: icy top edge */
body.ambey-winter .footer-container{border-top:3px solid transparent;border-image:linear-gradient(90deg,#d8ecfb,#1b78c4,#d8ecfb) 1;background:linear-gradient(180deg,#f5faff 0%,#ffffff 60%)!important}

/* Mobile bottom toolbar and inputs */
body.ambey-winter .wd-toolbar{border-top:1px solid var(--aw-ice-2);box-shadow:0 -4px 16px rgba(27,120,196,.08)}
body.ambey-winter input:focus,body.ambey-winter select:focus,body.ambey-winter textarea:focus{border-color:#7bbdee}
body.ambey-winter ::selection{background:#cde7fb;color:#0f3d6e}

/* ================= v1.1 Festive layer ================= */
/* Icicles hanging from the greeting bar */
.aw-bar{overflow:visible}
.aw-bar::after{content:"";position:absolute;left:0;right:0;bottom:-11px;height:12px;pointer-events:none;z-index:2;
background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='12' viewBox='0 0 120 12'%3E%3Cpath fill='%231a5f9e' d='M0 0h120v2l-4 6-3-6-5 10-4-10-3 5-4-5-6 9-3-9-4 4-3-4-5 8-4-8-2 3-3-3-6 10-4-10-3 5-4-5-5 7-3-7-4 3-3-3-6 9-4-9-3 4-3-4-5 8-4-8-3 5-3-5Z'/%3E%3Cpath fill='%23cfeaff' opacity='.55' d='M8 2l-1 4-1-4zM30 2l-1 6-1-6zM58 2l-1 5-1-5zM86 2l-1 6-1-6zM110 2l-1 4-1-4z'/%3E%3C/svg%3E") repeat-x;background-size:120px 12px}
.aw-bar .aw-flake{animation:aw-spin 8s linear infinite}
@keyframes aw-spin{to{transform:rotate(360deg)}}

/* Faint snowflake pattern in the page background */
body.ambey-winter .main-page-wrapper,body.ambey-winter .wd-page-content{
background-color:#f1f7fc;
background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%231b78c4' stroke-opacity='.07' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M30 18v24M19.6 24l20.8 12M19.6 36l20.8-12'/%3E%3Cpath d='M118 92v30M105 99.5l26 15M105 114.5l26-15'/%3E%3Cpath d='M70 130v14M64 133.5l12 7M64 140.5l12-7'/%3E%3C/g%3E%3C/svg%3E")}

/* Snow cap on the menu strip under the header */
body.ambey-winter .whb-header-bottom{position:relative;overflow:visible!important}
body.ambey-winter .whb-header-bottom::after{content:"";position:absolute;left:0;right:0;bottom:-9px;height:12px;pointer-events:none;z-index:5;filter:drop-shadow(0 2px 2px rgba(27,120,196,.18));
background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='12' viewBox='0 0 200 12'%3E%3Cpath fill='%23ffffff' d='M0 0h200v3c-6 0-8 5-14 5s-7-4-13-4-6 7-13 7-8-6-15-6-7 3-12 3-8-5-15-5-8 6-15 6-7-4-13-4-8 5-14 5-7-6-14-6-6 4-12 4S43 3 36 3s-8 6-15 6S13 4 7 4 2 6 0 6z'/%3E%3C/svg%3E") repeat-x;background-size:200px 12px}

/* Frost corners on product cards + snow on hover */
body.ambey-winter .wd-product .product-wrapper{position:relative;background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)}
body.ambey-winter .wd-product .product-wrapper::before{content:"";position:absolute;top:-6px;left:10px;right:10px;height:12px;border-radius:12px 12px 8px 8px;opacity:0;transform:translateY(4px);transition:opacity .3s,transform .3s;pointer-events:none;z-index:3;
background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='12' viewBox='0 0 120 12'%3E%3Cpath fill='%23ffffff' stroke='%23cfe6f8' d='M2 10c0-5 4-8 10-8h96c6 0 10 3 10 8-5 0-6-3-11-3s-6 4-12 4-7-4-13-4-7 3-12 3-8-4-14-4-6 4-12 4-7-3-12-3-6 3-11 3S8 7 2 10z'/%3E%3C/svg%3E") center/100% 100% no-repeat}
body.ambey-winter .wd-product:hover .product-wrapper::before{opacity:1;transform:none}

/* Shine sweep on buttons */
body.ambey-winter .btn.btn-color-primary,body.ambey-winter .add_to_cart_button,body.ambey-winter .single_add_to_cart_button,body.ambey-winter .checkout-button,body.ambey-winter #place_order{position:relative;overflow:hidden}
body.ambey-winter .btn.btn-color-primary::after,body.ambey-winter .add_to_cart_button::after,body.ambey-winter .single_add_to_cart_button::after,body.ambey-winter .checkout-button::after,body.ambey-winter #place_order::after{content:"";position:absolute;top:0;left:-60%;width:40%;height:100%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.45),transparent);transform:skewX(-20deg);transition:left .6s ease;pointer-events:none}
body.ambey-winter .btn.btn-color-primary:hover::after,body.ambey-winter .add_to_cart_button:hover::after,body.ambey-winter .single_add_to_cart_button:hover::after,body.ambey-winter .checkout-button:hover::after,body.ambey-winter #place_order:hover::after{left:120%}

/* Snowflake before section titles */
body.ambey-winter .title-wrapper .title::before,body.ambey-winter .wd-el-title .title::before{content:"";display:inline-block;width:.8em;height:.8em;margin-right:.35em;vertical-align:-.05em;
background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%231b78c4' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17L20.7 7'/%3E%3Cpath d='M9.5 3.8L12 6l2.5-2.2M9.5 20.2L12 18l2.5 2.2M4 10.4l3.2-.9-.8-3.2M20 13.6l-3.2.9.8 3.2M4 13.6l3.2.9-.8 3.2M20 10.4l-3.2-.9.8-3.2'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}

/* Banners: frosty inner edge */
body.ambey-winter .wd-banner,body.ambey-winter .promo-banner,body.ambey-winter rs-module-wrap{border-radius:14px;box-shadow:0 0 0 3px #ffffff,0 0 0 4px #cfe6f8,0 10px 28px rgba(27,120,196,.12)}

/* Snowy hills on top of the footer */
body.ambey-winter .footer-container{position:relative;border-top:0;margin-top:60px}
body.ambey-winter .footer-container::before{content:"";position:absolute;left:0;right:0;top:-58px;height:60px;pointer-events:none;
background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23dceefb' d='M0 38c120-26 260-30 400-10s250 26 380 4 300-36 430-14 180 20 230 12v30H0z'/%3E%3Cpath fill='%23f5faff' d='M0 48c160-18 300-14 460 0s300 10 440-6 320-14 540 8v10H0z'/%3E%3C/svg%3E") bottom/100% 100% no-repeat}

/* Snow canvas */
#aw-snow{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:9990}
@media (prefers-reduced-motion:reduce){#aw-snow{display:none}.aw-bar .aw-flake{animation:none}}
