/* Every visual override is scoped to Impreza's header cart. */
.kokos-shipping { display: none; }
.w-cart.kokos-cart-enabled .kokos-shipping {
    display: block;
    margin: 22px 0 0;
    padding: 18px 16px 16px;
    border: 1px solid #e9e0d9;
    border-radius: 12px;
    background: #faf7f3;
    color: #3d3029;
    text-align: left;
    line-height: 1.5;
    font-size: 14px;
}
.w-cart .kokos-shipping p { margin: 0; }
.w-cart .kokos-shipping__message { font-size: 14px; }
.w-cart .kokos-shipping__message strong { color: var(--kokos-cart-accent, #75432b); white-space: nowrap; }
.w-cart .kokos-shipping__track { height: 8px; margin: 13px 0 8px; border-radius: 20px; background: #e9e0d9; overflow: hidden; }
.w-cart .kokos-shipping__fill { display: block; height: 100%; border-radius: inherit; background: var(--kokos-cart-accent, #75432b); transition: width .3s ease; }
.w-cart .kokos-shipping .kokos-shipping__threshold { font-size: 12px; font-weight: 600; }
.w-cart .kokos-shipping .kokos-shipping__conditions { font-size: 11px; color: #6c5d54; margin-top: 7px; }
.w-cart .kokos-shipping__icon { display: inline-block; color: #346440; font-weight: 700; margin-right: 3px; }
.w-cart .kokos-shipping.is-reached { background: #f3f7f0; border-color: #dae5d4; }
.w-cart .kokos-shipping.is-reached .kokos-shipping__fill { background: #346440; }
.w-cart.kokos-cart-enabled .woocommerce-mini-cart__buttons { display: flex; flex-direction: column; gap: 8px; }
.w-cart.kokos-cart-enabled .woocommerce-mini-cart__buttons > .button { margin: 0 !important; width: 100%; white-space: normal; line-height: 1.35; }
.w-cart.kokos-cart-enabled .woocommerce-mini-cart__buttons > .kokos-cart-continue { cursor: pointer; background: #fff; border: 1px solid #ddd2c9; color: #594437; box-shadow: none; }
.w-cart.kokos-cart-enabled .woocommerce-mini-cart__buttons > .kokos-cart-continue:hover { background: #f7f2ed; color: #3d3029; }
.w-cart .kokos-cart-block { margin-top: 22px; padding-top: 18px; border-top: 1px solid #e9e0d9; width: 100%; min-width: 0; text-align: left; line-height: 1.5; }
.w-cart .kokos-cart-block[hidden], #kokos-cart-block-source[hidden] { display: none !important; }
.w-cart .kokos-cart-block p { margin-bottom: 12px; }
.w-cart .kokos-cart-block h2, .w-cart .kokos-cart-block h3, .w-cart .kokos-cart-block h4 { font-size: 17px; margin-bottom: 14px; line-height: 1.3; }
.w-cart .kokos-cart-block img { max-width: 100%; height: auto; }
.w-cart.kokos-cart-compact .woocommerce-mini-cart-item { min-height: 64px; padding-top: 10px; padding-bottom: 10px; font-size: 13px; line-height: 1.4; }
.w-cart.kokos-cart-compact .woocommerce-mini-cart-item img { width: 56px; height: 56px; object-fit: contain; }
.w-cart.kokos-cart-compact .woocommerce-mini-cart-item .quantity { font-size: 12px; }
.kokos-cart-products { display: grid; gap: 12px; }
.kokos-cart-product { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-width: 0; }
.kokos-cart-product__image img { display: block; width: 48px; height: 48px; object-fit: contain; border-radius: 6px; }
.kokos-cart-product__name { display: block; color: inherit; font-size: 12px; line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; }
.kokos-cart-product__price { font-size: 12px; margin-top: 3px; }
.kokos-cart-product__price del { opacity: .65; }
.w-cart .kokos-cart-product > .kokos-cart-product__add { font-size: 11px; line-height: 1.3; padding: 9px 10px; margin: 0; white-space: normal; text-align: center; border-radius: 6px; }
.kokos-cart-product > .added_to_cart { grid-column: 2 / -1; font-size: 12px; }
.w-cart .kokos-cart-continue:focus-visible, .w-cart .kokos-cart-product__add:focus-visible { outline: 2px solid var(--kokos-cart-accent, #75432b); outline-offset: 3px; }
@media (max-width: 380px) {
    .w-cart .kokos-shipping { padding: 14px 12px; }
    .kokos-cart-product { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 7px; }
    .kokos-cart-product__image img { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    .w-cart .kokos-shipping__fill { transition: none; }
}
