/* Overweight block (checkout options page variant 08): yellow card + weight bar against the courier
   limit. Shown on the cart (totals aside) and the checkout (Delivery step), so it is its own file,
   enqueued by inc/oil-cart.php and inc/oil-checkout.php. Overrides the old one-line
   .gy-overweight-notice look from customizer.css. */
.gy-overweight-notice.gy-ow { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; margin: 0 0 16px; padding: 18px; border: 1px solid #F3D27A; border-radius: 16px; background: #FFF6D6; color: #23303F; font: 400 14.5px/1.55 'Open Sans', sans-serif; }
.gy-ow__ico { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: #001630; }
.gy-ow__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; }
.gy-ow__title { color: #001630; font: 700 17px/1.3 'Roboto', sans-serif; }
.gy-ow__kg { color: #6B7280; font: 500 15px/1.3 'Roboto', sans-serif; white-space: nowrap; }
.gy-ow__kg strong { color: #001630; font-weight: 700; }
.gy-ow__bar { position: relative; height: 10px; margin-top: 10px; border-radius: 999px; background: repeating-linear-gradient(-45deg, #FBBD00 0 8px, #F5B000 8px 16px); }
.gy-ow__bar i { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #001630; }
.gy-ow__scale { position: relative; height: 18px; margin: 5px 0 10px; color: #6B7280; font-size: 12.5px; line-height: 18px; }
.gy-ow__scale span { position: absolute; top: 0; right: 0; white-space: nowrap; }
.gy-ow__scale span:first-child { right: auto; transform: translateX(-50%); }
.gy-overweight-notice.gy-ow p { margin: 0 0 10px; }
.gy-ow__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.gy-ow__free { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #E6F4EE; color: #0E7A50; font: 700 13px/1.3 'Open Sans', sans-serif; }
.gy-ow__tel, .gy-ow__tel:hover, .gy-ow__tel:focus { display: inline-flex; align-items: center; gap: 8px; color: #001630; font: 700 15px/1.3 'Roboto', sans-serif; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
    .gy-overweight-notice.gy-ow { grid-template-columns: 1fr; }
    .gy-ow__kg { white-space: normal; }
}
/* Cart totals aside: oil-cart.css strips every ".cart_totals > div" (padding, border, background, all !important). */
.woocommerce-cart .gy-ct .cart_totals > .gy-overweight-notice.gy-ow { margin: 14px 0 0; padding: 18px !important; border: 1px solid #F3D27A !important; background: #FFF6D6 !important; }
