
/* Shopping cart and mini cart */
.headerShopCart{position:relative;align-self:center;margin-left:auto;z-index:40}
.headerShopCart_link{display:flex;align-items:center;gap:8px;color:var(--mainColor);text-decoration:none;font-weight:300}
.isDesktop .headerShopCart_link:hover,.headerShopCart_link:focus-visible{color:var(--secondaryColor)}
.headerShopCart_count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;border-radius:50%;background:var(--secondaryColor);color:#fff;font-size:12px}
.headerShopCart_minicart{position:absolute;right:0;top:100%;width:min(360px,90vw);padding:16px;background:#fff;border:1px solid var(--secondaryColor);box-shadow:0 5px 15px #0002;z-index:41}
.headerShopCart_minicart[hidden]{display:none}
.headerShopCart_item{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--secondaryColor);font-size:14px}
.headerShopCart_total{text-align:right;padding:14px 0}
.headerShopCart_checkout{display:block;padding:12px;background:var(--secondaryColor);color:#fff;text-align:center;text-decoration:none}
.shopCart_wrapper{width:var(--contentWidth);max-width:100%;margin:0 auto;padding:var(--gridDistanceWidth) 0}
.shopCart_item{display:grid;grid-template-columns:minmax(0,1fr) 80px 110px 35px;align-items:center;gap:var(--gridDistanceWidth,16px);padding:15px 0;border-bottom:1px solid var(--secondaryColor);font-weight:300}
.shopCart_item input{width:100%;padding:8px;border:1px solid var(--secondaryColor)}
.shopCart_item button{border:0;background:none;color:var(--secondaryColor);cursor:pointer;font-size:24px}
.shopCart_total{text-align:right;padding:20px 0;font-weight:300}
.shopCart_empty[hidden]{display:none}
@media(max-width:767px){.shopCart_item{grid-template-columns:minmax(0,1fr) 55px 80px 30px;gap:8px}}

/* Header cart – final item in the existing menu */
.headerWrapper_menu .headerShopCart{display:flex;align-items:center;position:relative;flex:none}
.headerShopCart_icon{display:block;width:30px;height:29px;color:var(--mainColor);transition:color 200ms ease}
.headerShopCart_link{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:44px}
body.isDesktop .headerShopCart_link:hover .headerShopCart_icon,.headerShopCart_link:focus-visible .headerShopCart_icon{color:var(--secondaryColor)}
.headerShopCart_count{position:absolute;top:0;right:-7px;min-width:18px;height:18px;padding:0 3px;font-size:11px;line-height:1}
.headerShopCart_minicart{top:calc(100% + 8px);box-sizing:border-box}
.productTeaser_addToBasketForm,.productTeaser_addToBasket--detail{display:block}
.productDetail_basket{display:block;width:100%;cursor:pointer}
@media(hover:none){.productTeaser_addToBasketForm,.productTeaser_addToBasket--detail{opacity:1;pointer-events:auto}}

/* Full-height off-canvas basket: same layout for mobile and desktop. */
.shopBasketOverlay[hidden]{display:none}
.shopBasketOverlay{position:fixed;inset:0;z-index:11000;display:flex;justify-content:flex-end}
.shopBasketOverlay_backdrop{position:absolute;inset:0;background:rgba(0,0,0,.68)}
.shopBasketDrawer{position:relative;display:flex;flex-direction:column;width:min(900px,100%);height:100%;background:#fff;outline:0;color:var(--mainColor);font-weight:300}
.shopBasketDrawer_back{display:flex;align-items:center;justify-content:center;gap:24px;flex:none;min-height:110px;border:0;background:#25312f;color:#fff;font:inherit;font-size:clamp(20px,2vw,30px);cursor:pointer}
.shopBasketDrawer_arrow{width:24px;height:24px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
.shopBasketDrawer_items{flex:1;min-height:0;overflow-y:auto;padding:20px clamp(20px,5vw,70px)}
.shopBasketDrawer_item{display:grid;grid-template-columns:48px minmax(0,1fr) 105px 130px;align-items:center;gap:18px;padding:22px 0;border-bottom:1px solid var(--mainColor)}
.shopBasketDrawer_remove{width:40px;height:40px;border:1px solid var(--mainColor);border-radius:50%;background:#fff;color:var(--mainColor);font:inherit;font-size:25px;cursor:pointer}
.shopBasketDrawer_title{font-size:19px}.shopBasketDrawer_unit{font-size:15px;margin-top:8px}
.shopBasketDrawer_quantity{display:flex;flex-direction:column;gap:8px;font-size:12px}
.shopBasketDrawer_quantity select{width:100%;border:0;background:#fff;color:inherit;font:inherit;font-size:22px;cursor:pointer}
.shopBasketDrawer_price{text-align:right;font-size:18px}
.shopBasketDrawer_empty{font-size:19px;text-align:center}
.shopBasketDrawer_bottom{flex:none;background:#fff}
.shopBasketDrawer_total{display:flex;justify-content:space-between;gap:24px;padding:20px clamp(20px,5vw,70px);font-size:20px}
.shopBasketDrawer_checkout{display:flex;justify-content:center;align-items:center;gap:22px;min-height:112px;background:var(--secondaryColor);color:#fff;text-decoration:none;font-size:clamp(21px,2vw,30px);font-weight:300}
.shopBasketDrawer_checkout svg{width:41px;height:40px}
body.shopBasketOpen{overflow:hidden}
.headerWrapper_menu .headerShopCart_count{position:absolute;right:-11px;top:-8px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:25px;height:25px;min-width:25px;min-height:25px;padding:0;border-radius:50%;font-size:13px;line-height:1;color:#fff;background:var(--secondaryColor)}
@media(max-width:700px){.shopBasketDrawer_back{min-height:75px}.shopBasketDrawer_item{grid-template-columns:36px minmax(0,1fr) 68px;gap:9px}.shopBasketDrawer_price{grid-column:2 / 4;text-align:right}.shopBasketDrawer_remove{width:32px;height:32px;font-size:21px}.shopBasketDrawer_checkout{min-height:86px}}

/* Smooth off-canvas entry and exit, with the overlay remaining mounted during exit. */
.shopBasketOverlay[hidden]{display:flex;visibility:hidden;pointer-events:none}
.shopBasketOverlay[hidden]:not(.shopBasketOverlay--open){display:none}
@media(prefers-reduced-motion:reduce){.shopBasketOverlay,.shopBasketOverlay_backdrop,.shopBasketDrawer{transition-duration:0.01ms!important}}
.shopBasketOverlay{visibility:hidden;pointer-events:none;-webkit-transition:all 200ms ease;-moz-transition:all 200ms ease;-ms-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease}
.shopBasketOverlay--open{visibility:visible;pointer-events:auto}
.shopBasketOverlay_backdrop{opacity:0;-webkit-transition:all 200ms ease;-moz-transition:all 200ms ease;-ms-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease}
.shopBasketOverlay--open .shopBasketOverlay_backdrop{opacity:1}
.shopBasketDrawer{transform:translateX(100%);-webkit-transition:all 200ms ease;-moz-transition:all 200ms ease;-ms-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease}
.shopBasketOverlay--open .shopBasketDrawer{transform:translateX(0)}
body.isDesktop .shopBasketDrawer_checkout:hover,body.isDesktop .shopBasketDrawer_back:hover{filter:brightness(.85)}
.shopBasketDrawer_checkout,.shopBasketDrawer_back{-webkit-transition:all 200ms ease;-moz-transition:all 200ms ease;-ms-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease}

/* Basket page: inherited structure from the established Basket/List.html layout.
   The active shop session/JSON endpoint provides products, quantities and totals. */
.productBasket_wrapper{width:100%;margin:0 auto}
.productBasket_items{width:100%}
.productBasket .basketItem{display:grid;grid-template-columns:48px 110px minmax(0,1fr) 140px 150px;align-items:center;gap:20px;padding:23px 0;border-bottom:1px solid var(--mainColor)}
.productBasket .basketItem_header{font-size:14px;font-weight:400}
.productBasket .basketItem_deleteIcon{display:flex;justify-content:center;align-items:center;width:38px;height:38px;border:1px solid var(--mainColor);border-radius:50%;color:var(--mainColor);background:transparent;cursor:pointer;font:inherit;font-size:22px}
.productBasket .basketItem_title{font-size:24px;font-weight:400}
.productBasket .basketItem_price{margin-top:10px;font-size:16px}
.productBasket .basketItem_operations label{display:block;font-size:13px;margin-bottom:8px}
.productBasket .basketItem_operations select{box-sizing:border-box;width:100%;padding:9px;border:1px solid var(--secondaryColor);background:#fff;font:inherit}
.productBasket .basketItem_totalPrice{text-align:right;font-size:21px}
.productBasket .basketCalculations{display:grid;grid-template-columns:1fr minmax(240px,440px);gap:20px;margin-top:35px}
.productBasket .basketCalculations_row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;border-top:1px solid var(--secondaryColor);font-size:23px}
.productBasket .productBasket_checkout{display:inline-flex;margin-top:30px}
.productBasket .productBasket_empty{padding:35px 0}
body.isDesktop .productBasket .basketItem_deleteIcon:hover{color:#fff;background:var(--secondaryColor);border-color:#000}
.productBasket .basketItem_deleteIcon,.productBasket .productBasket_checkout{-webkit-transition:all 200ms ease;-moz-transition:all 200ms ease;-ms-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease}
@media(max-width:850px){.productBasket .basketItem{grid-template-columns:40px minmax(0,1fr) 92px;gap:12px}.productBasket .basketItem_image,.productBasket .basketItem_header{display:none}.productBasket .basketItem_totalPrice{grid-column:2 / 4;text-align:right}.productBasket .basketCalculations{grid-template-columns:1fr}}

/* Basket and checkout use the established productBasket / basketItem / formGroup layout. */
.shopFrontend.productBasket{max-width:var(--contentWidth);width:calc(100% - 2 * var(--gridDistanceWidth, 16px));margin:0 auto}
.productBasket .basketItem_headerCalculations{margin-top:60px;padding:0 0 12px;border-bottom:1px solid var(--mainColor);font-weight:600;font-size:20px}
.productBasket .basketItem_headerDesktop{font-weight:600;font-size:18px}
.productBasket .basketItem_image{min-width:0}
.productBasket .basketItem_title{font-size:20px}
.productBasket .basketItem_price{font-size:15px}
.productBasket .basketCalculations{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--gridDistanceWidth, 30px);margin-top:25px}
.productBasket .basketCalculations_row{font-size:18px;padding:12px 0}
.productBasket .basketCalculations_right .basketCalculations_row:last-child{font-weight:600;font-size:20px}
.shopCheckout .productBasket_wrapperBottom{margin-top:65px}
.shopCheckout .formGroup{margin-bottom:45px}
.shopCheckout .formTitle{border-bottom:1px solid var(--mainColor);font-size:26px;margin-bottom:30px;padding-bottom:10px}
.shopCheckout .formRow{display:flex;flex-wrap:wrap;gap:20px}
.shopCheckout .formField_half{flex:1 1 calc(50% - 20px)}
.shopCheckout .formField_full{flex:1 1 100%}
.shopCheckout .formField label{display:block;margin-bottom:8px}
.shopCheckout .formField input,.shopCheckout .formField select{width:100%;padding:12px;border:1px solid var(--secondaryColor);box-sizing:border-box;font:inherit}
.shopCheckout_pending{padding:20px;border:1px solid var(--secondaryColor)}
@media(max-width:850px){.productBasket .basketCalculations{grid-template-columns:1fr}.shopCheckout .formField_half{flex-basis:100%}}

/* An empty basket replaces the entire table and summary. */
.productBasket_emptyHeading{margin:0;padding:20px 0;font:inherit;font-size:clamp(24px,2.2vw,36px);font-weight:400}
.productBasket_emptyHeading[hidden],.productBasket_content[hidden]{display:none!important}
[data-shop-cart-checkout][hidden]{display:none!important}

/* Wishlist off-canvas uses the basket's dimensions, transitions and item layout. */
.shopWishlistOverlay[hidden]{display:none}
.shopWishlistOverlay{position:fixed;inset:0;z-index:11000;display:flex;justify-content:flex-end;visibility:hidden;pointer-events:none;transition:visibility 200ms ease}
.shopWishlistOverlay--open{visibility:visible;pointer-events:auto}
.shopWishlistOverlay_backdrop{position:absolute;inset:0;background:rgba(0,0,0,.68);opacity:0;transition:opacity 200ms ease}
.shopWishlistOverlay--open .shopWishlistOverlay_backdrop{opacity:1}
.shopWishlistDrawer{position:relative;display:flex;flex-direction:column;width:min(900px,100%);height:100%;box-sizing:border-box;background:#fff;color:var(--mainColor);font-weight:300;transform:translateX(100%);transition:transform 200ms ease}
.shopWishlistOverlay--open .shopWishlistDrawer{transform:translateX(0)}
.shopWishlistDrawer_back{display:flex;align-items:center;justify-content:center;gap:24px;flex:none;min-height:110px;border:0;background:#25312f;color:#fff;font:inherit;font-size:clamp(20px,2vw,30px);cursor:pointer}
.shopWishlistDrawer_arrow{width:24px;height:24px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
.shopWishlistDrawer_items{flex:1;min-height:0;overflow-y:auto;padding:20px clamp(20px,5vw,70px)}
.shopWishlistDrawer_item{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:18px;padding:22px 0;border-bottom:1px solid var(--mainColor)}
.shopWishlistDrawer_remove{width:40px;height:40px;border:1px solid var(--mainColor);border-radius:50%;background:#fff;color:var(--mainColor);font:inherit;font-size:25px;cursor:pointer}
.shopWishlistDrawer_details{min-width:0}
.shopWishlistDrawer_title{display:block;color:inherit;text-decoration:none;font-size:19px}
.shopWishlistDrawer_unit{font-size:15px;margin-top:8px}
.shopWishlistDrawer_empty{font-size:19px;text-align:center}
body.shopWishlistOpen{overflow:hidden}
.headerWrapper_menu .headerShopWishlist{position:relative;display:flex;align-items:center;flex:none}
.headerWrapper_menu .headerShopWishlist_count{position:absolute;top:-8px;right:-11px;display:flex;align-items:center;justify-content:center;width:25px;height:25px;min-width:25px;padding:0;font-size:13px;line-height:1;z-index:1}
body.isDesktop .shopWishlistDrawer_back:hover{filter:brightness(.85)}
@media(max-width:700px){.shopWishlistDrawer_back{min-height:75px}.shopWishlistDrawer_item{grid-template-columns:36px minmax(0,1fr);gap:9px}.shopWishlistDrawer_remove{width:32px;height:32px;font-size:21px}}
@media(prefers-reduced-motion:reduce){.shopWishlistOverlay,.shopWishlistOverlay_backdrop,.shopWishlistDrawer{transition-duration:0.01ms!important}}
