/* Header and unobtrusive cart confirmation. */
.header__buttons .cart-toggle { width: 4.4rem; height: 4.4rem; }
.header__buttons .cart-toggle svg { width: 3.2rem; height: 3.2rem; }
.header__buttons .cart-toggle .cart-count { top: 0; inset-inline-end: 0; min-width: 1.9rem; height: 1.9rem; line-height: 1.9rem; font-size: 1.1rem; }
.winncoo-cart-toast {
	position: fixed; right: 2.4rem; bottom: 2.4rem; z-index: 1100;
	display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.6rem;
	max-width: min(48rem, calc(100vw - 3.2rem)); padding: 1.8rem 2rem;
	background: #fff; color: rgb(var(--color-foreground)); border: 1px solid rgba(var(--color-foreground), .16);
	border-radius: 1.6rem; box-shadow: 0 6px 28px rgba(79,4,37,.12); font-size: 1.6rem;
}
.winncoo-cart-toast[hidden] { display: none; }
.winncoo-cart-toast a { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.winncoo-cart-toast button { border: 0; background: none; color: inherit; font-size: 2.6rem; min-width: 4.4rem; min-height: 4.4rem; cursor: pointer; }

/* Native block cart / checkout: larger type, uncropped product photos. */
body.woocommerce-cart .wc-block-cart,
body.woocommerce-checkout .wc-block-checkout { font-family: var(--font-body-family); font-size: 1.7rem; line-height: 1.55; color: rgb(var(--color-foreground)); }
body.woocommerce-cart .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row { grid-template-columns: 15rem minmax(0, 1fr) auto; padding: 2.4rem 0; }
body.woocommerce-cart .wc-block-cart table.wc-block-cart-items .wc-block-cart-item__image { width: 15rem; padding-right: 2rem; }
body.woocommerce-cart .wc-block-cart-item__image img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 1.2rem; }
body.woocommerce-cart .wc-block-cart table.wc-block-cart-items .wc-block-components-product-name,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-product-name { font-family: var(--font-heading-family); font-size: 2rem; font-weight: 500; line-height: 1.4; text-decoration: none; overflow-wrap: anywhere; }
body.woocommerce-cart .wc-block-components-product-metadata,
body.woocommerce-checkout .wc-block-components-product-metadata { font-size: 1.5rem; }
body.woocommerce-cart .wc-block-components-product-price,
body.woocommerce-checkout .wc-block-components-product-price { font-size: 1.8rem; font-weight: 600; }
body.woocommerce-cart .wc-block-components-totals-item,
body.woocommerce-checkout .wc-block-components-totals-item { font-size: 1.7rem; padding-block: 1.2rem; }
body.woocommerce-cart .wc-block-components-totals-footer-item,
body.woocommerce-checkout .wc-block-components-totals-footer-item { font-size: 2.2rem; font-weight: 700; }
body.woocommerce-cart .wc-block-cart__sidebar,
body.woocommerce-checkout .wc-block-checkout__sidebar { background: #f7f4f3; border: 1px solid rgba(var(--color-foreground), .12); border-radius: 1.6rem; padding: 2.4rem; }
body.woocommerce-checkout .wc-block-components-order-summary-item { padding-block: 1.8rem; align-items: flex-start; }
body.woocommerce-checkout .wc-block-components-order-summary-item__image { width: 9.6rem; flex: 0 0 9.6rem; margin-right: 1.6rem; }
body.woocommerce-checkout .wc-block-components-order-summary-item__image img { width: 9.6rem; height: 9.6rem; max-width: none; object-fit: contain; border-radius: 1rem; }
body.woocommerce-checkout .wc-block-components-order-summary-item__description { min-width: 0; }
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox input,
body.woocommerce-checkout .wc-block-components-textarea { font-size: 1.7rem; }
body.woocommerce-checkout .wc-block-components-title { font-family: var(--font-heading-family); font-size: 2.4rem; line-height: 1.3; }
body.woocommerce-checkout .wc-block-checkout__terms { font-size: 1.5rem; line-height: 1.6; }
body.woocommerce-checkout .wc-block-checkout__terms a { text-decoration: underline; text-underline-offset: 3px; }
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-components-totals-coupon__button,
body.woocommerce-checkout .wc-block-components-totals-coupon__button,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	min-height: 5.6rem; padding: 1.5rem 2.4rem; border: 0; border-radius: var(--buttons-radius);
	background: rgb(var(--color-button)); color: rgb(var(--color-button-text));
	font-family: var(--font-button-family); font-size: 1.8rem; font-weight: 600; line-height: 1.4; text-decoration: none;
}
body.woocommerce-cart .wc-block-cart__submit-button:hover,
body.woocommerce-cart .wc-block-components-totals-coupon__button:hover,
body.woocommerce-checkout .wc-block-components-totals-coupon__button:hover,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { background: rgb(var(--color-foreground)); color: #fff; }
body.woocommerce-cart .wc-block-components-totals-coupon__button:disabled,
body.woocommerce-checkout .wc-block-components-totals-coupon__button:disabled { opacity: .5; cursor: not-allowed; }
.winncoo-delivery-progress { margin: 2.4rem 0 3.2rem; padding: 2rem 2.4rem; border-radius: 1.6rem; background: #f7f4f3; border: 1px solid rgba(var(--color-foreground), .12); }
.winncoo-delivery-progress p { margin: 0 0 1.2rem; font-size: 1.8rem; font-weight: 600; }
.winncoo-delivery-progress progress { display: block; width: 100%; height: .8rem; border: 0; border-radius: 999px; overflow: hidden; appearance: none; background: rgba(var(--color-foreground), .1); }
.winncoo-delivery-progress progress::-webkit-progress-bar { background: rgba(var(--color-foreground), .1); border-radius: 999px; }
.winncoo-delivery-progress progress::-webkit-progress-value { background: rgb(var(--color-button)); border-radius: 999px; }
.winncoo-delivery-progress progress::-moz-progress-bar { background: rgb(var(--color-button)); border-radius: 999px; }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:disabled { opacity: .5; cursor: not-allowed; }
@media (min-width: 1024px) {
	body.woocommerce-checkout .wc-block-checkout__main { width: 56%; padding-right: 3.2rem; }
	body.woocommerce-checkout .wc-block-checkout__sidebar { width: 44%; }
}
@media (max-width: 767.98px) {
	.winncoo-cart-toast { right: 1.6rem; bottom: 1.6rem; }
	body.single-product .winncoo-cart-toast { bottom: 8.5rem; }
	body.woocommerce-cart .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row { grid-template-columns: 10.4rem minmax(0, 1fr) auto; }
	body.woocommerce-cart .wc-block-cart table.wc-block-cart-items .wc-block-cart-item__image { width: 10.4rem; padding-right: 1.2rem; }
	body.woocommerce-cart .wc-block-cart table.wc-block-cart-items .wc-block-components-product-name,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-product-name { font-size: 1.8rem; }
	body.woocommerce-cart .wc-block-cart__sidebar,
	body.woocommerce-checkout .wc-block-checkout__sidebar { padding: 1.6rem; }
	body.woocommerce-checkout .wc-block-components-order-summary-item__image { width: 8rem; flex-basis: 8rem; margin-right: 1.2rem; }
	body.woocommerce-checkout .wc-block-components-order-summary-item__image img { width: 8rem; height: 8rem; }
}
