/* Keep product navigation in normal flow, above gallery and title. */
body.single-product #main .product > .owp-product-nav-wrap {position:relative!important;inset:auto!important;float:none!important;width:100%!important;clear:both;display:block;margin:0 0 24px!important;padding:0 0 16px;border-bottom:1px solid #e4e7e0;text-align:right;}
body.single-product #main .owp-product-nav {display:flex!important;align-items:center;justify-content:flex-end;gap:20px;margin:0!important;}
body.single-product #main .owp-product-nav li {display:flex!important;align-items:center;gap:8px;float:none!important;margin:0!important;}
body.single-product #main .owp-product-nav a.owp-nav-text {display:inline-block!important;padding:0;font-size:13px;color:#424e45;}
body.single-product #main .owp-product-nav a.owp-nav-link {width:36px;height:36px;line-height:32px;background:#fff;border:1px solid #dce2d9;border-radius:50%;}
body.single-product #main .summary .product_title {padding-right:0!important;overflow-wrap:anywhere;line-height:1.3;}
/* Desktop bag dropdown: a balanced panel kept inside the header edge. */
body #site-navigation .current-shop-items-dropdown .total strong {width:auto!important;float:none!important;}
body #site-navigation .current-shop-items-dropdown .total > .amount {width:auto!important;float:none!important;margin-left:auto!important;text-align:right!important;}
body #site-navigation .current-shop-items-dropdown .thumbnail a {border:0!important;}
body #site-navigation .current-shop-items-dropdown .quantity {color:#637066!important;}
body #site-navigation .current-shop-items-dropdown {width:400px!important;max-width:calc(100vw - 32px);right:0!important;left:auto!important;transform:none!important;background:#fff;border:1px solid #e0e5df;border-top:3px solid #f2cf19;border-radius:10px;box-shadow:0 14px 40px rgba(24,35,27,.16);text-align:left;overflow:hidden;}
body #site-navigation .current-shop-items-dropdown .current-shop-items-inner {padding:8px 0 0!important;}
body #site-navigation .current-shop-items-dropdown .widget_shopping_cart {margin:0!important;}
body #site-navigation .current-shop-items-dropdown ul.cart_list {max-height: min(430px,55vh);overflow:auto;padding:0!important;margin:0!important;}
body #site-navigation .current-shop-items-dropdown ul.cart_list li {position:relative;box-sizing:border-box;padding:18px 20px!important;margin:0!important;min-height:0!important;border-bottom:1px solid #edf0e9;float:none!important;width:100%!important;}
body #site-navigation .current-shop-items-dropdown .owp-grid-wrap {display:grid!important;grid-template-columns:68px minmax(0,1fr)!important;gap:16px;align-items:center;width:100%!important;}
body #site-navigation .current-shop-items-dropdown .owp-grid.thumbnail {width:auto!important;float:none!important;padding:0!important;display:flex;align-items:center;justify-content:center;}
body #site-navigation .current-shop-items-dropdown .owp-grid.thumbnail img {width:64px!important;height:64px!important;object-fit:contain;margin:0!important;float:none!important;border:0;}
body #site-navigation .current-shop-items-dropdown .owp-grid.content {width:auto!important;min-width:0;float:none!important;padding:0 28px 0 0!important;border:0!important;}
body #site-navigation .current-shop-items-dropdown .owp-grid.content h3 {margin:0 0 7px!important;font-size:14px!important;line-height:1.45!important;text-align:left;}
body #site-navigation .current-shop-items-dropdown .owp-grid.content h3 a {white-space:normal!important;word-break:normal;overflow-wrap:anywhere;display:block;line-height:inherit;}
body #site-navigation .current-shop-items-dropdown .quantity {display:block;text-align:left;line-height:1.4;font-size:13px;margin:0!important;}
body #site-navigation .current-shop-items-dropdown .remove {position:absolute!important;right:14px!important;top:50%!important;transform:translateY(-50%);width:26px!important;height:26px!important;line-height:24px!important;border:1px solid #e3e7df!important;border-radius:50%;text-align:center;}
body #site-navigation .current-shop-items-dropdown .total {display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 20px!important;margin:0!important;background:#f7f8f4;border:0!important;}
body #site-navigation .current-shop-items-dropdown .buttons {display:grid!important;grid-template-columns:1fr 1fr;gap:12px;padding:18px 20px!important;margin:0!important;}
body #site-navigation .current-shop-items-dropdown .buttons a {display:flex!important;justify-content:center;align-items:center;width:auto!important;float:none!important;margin:0!important;padding:12px 8px!important;min-height:44px;font-size:12px!important;line-height:1.3!important;letter-spacing:.7px;border-radius:5px;text-align:center;}
body #site-navigation .current-shop-items-dropdown .woocommerce-mini-cart__empty-message {padding:26px 20px!important;margin:0!important;text-align:center;color:#637066;}
@media(max-width:767px){body.single-product #main .owp-product-nav {justify-content:space-between;gap:12px;}body.single-product #main .product > .owp-product-nav-wrap {margin-bottom:18px!important;}}

/* Hover previews stay in the navigation row, clear of the product title. */
@media(min-width:768px){
 body.single-product #main .owp-product-nav-wrap .owp-product-nav {width:max-content!important;min-height:64px;margin-left:auto!important;position:relative!important;}
 body.single-product #main .owp-product-nav li {position:static!important;}
 body.single-product #main .owp-product-nav .owp-nav-thumb {left:-84px!important;right:auto!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;width:64px!important;height:64px!important;margin:0!important;padding:4px!important;box-sizing:border-box;background:#fff;border:1px solid #e4e7e0;border-radius:6px;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .15s ease;}
 body.single-product #main .owp-product-nav li:hover .owp-nav-thumb,
 body.single-product #main .owp-product-nav li:focus-within .owp-nav-thumb {visibility:visible!important;opacity:1!important;pointer-events:auto;}
 body.single-product #main .owp-product-nav .owp-nav-thumb a {display:block;width:100%;height:100%;}
 body.single-product #main .owp-product-nav .owp-nav-thumb img {display:block;width:100%!important;height:100%!important;object-fit:contain;}
}
