/*
Theme Name: Shoptimizer Child Theme
Theme URI: 
Description: Child theme of Shoptimizer
Author: CommerceGurus
Author URI: 
Template: shoptimizer
Version: 1.2.1
License:         	GNU General Public License v2 or later
License URI:     	http://www.gnu.org/licenses/gpl-2.0.html
*/

.home-selected-product .woocommerce.columns-1 ul li {
	display: flex!important;
  align-items: center;
  justify-content: center;
	padding: 15px!important;
}
.woocommerce.columns-1 li img {
	width: 180px!important;
}

body .woocommerce.columns-1 ul.products li.product:hover .button {
	position: relative;
	width: auto;
    opacity: 1;
}

body .woocommerce.columns-1 ul.products li.product:hover 
{
	padding: 15px!important;
	height: auto!important;
}
.woocommerce.columns-1 li .woocommerce-card__header {
	padding: 0px 20px;
}
#selected-parcel-machine {
    min-width: auto;
}
.woocommerce-error {
	margin-top: 20px;
}

/* tmp workaround */
.woocommerce [role=alert]:nth-child(2) {
    display: none;
}

.single-product div.product .single_add_to_cart_button {
    padding: 0px;
}

    .box5 {
        background:#851425 url('https://orbico.bwconcept.co/wp-content/uploads/2022/10/arr-2.png') top 20px right 20px no-repeat;
        display: flex;
        border-radius: 10px;
        padding: 15px;
        color: #fff;
    }
     .box5 h3 {
         color: #fff;
     }
     .box5 .title {
         padding-left: 120px;
     }
    .box5 img {
        margin-left: -30px;
			margin-top: -20px;
						margin-bottom: -20px;
			position: absolute;
width: 120px;
    }
    
    .box5:hover {
         background:#fff url('https://orbico.bwconcept.co/wp-content/uploads/2022/10/arr-1.png') top 20px right 20px no-repeat;
        display: flex;
        border-radius: 10px;

        color: #000;
    }
      .box5:hover h3 {
         color: #000;
     }


.secondary-navigation .menu-item {
  
    border-left: 1px solid #eeeeee3b;
}
.select2-container--default {
	width: auto!important;
}
#menu-item-35798 .icon-wrapper svg, 
#menu-item-35800 .icon-wrapper svg, 
#menu-item-35802 .icon-wrapper svg 
 {
    stroke: none!important;
}

#masthead h1 {
	color: #fff;
}
.cart_totals .shop_table tr.shipping th {
    display: block;
    width: 150%;
}



.woocommerce-shipping-contents ,
.stockupp,
.fast_return,
.woocommerce-shipping-destination,
.outofstock-badge,
.wcmlim_product #globMsg {
	display: none;
}
.woocommerce-shipping-total  th {
	display: none!important;
}
.select2-container--default {
width: auto!important;
}
.page-id-11 .select2-container--default {
width: auto;;
}

div#pickup-location-field-for-0 {
    width: 170px;
}

button#eqasypack_show_geowidget {
    padding: 5px 15px;
    font-size: 14px;
    text-transform: uppercase;
}
.al {
    background: #ffeeee;
    padding: 5px;
    border-radius: 5px;
    font-size: 13px;
    text-align: center;
}
#omnibus-price-data {
font-size: 12px;
    padding: 4px 0px;
}


.lpp-shipping-package-wrapper {
	width: 220px;
}
.page-id-11 .lpp-shipping-package-wrapper {
    width: 125px;
}

@media screen and (max-width: 1200px) {
	
#order_review .shop_table tr.shipping td .woocommerce-Price-amount, .cart_totals .shop_table tr.shipping td span.woocommerce-Price-amount, ul#shipping_method li span.amount {
    float: none;
    padding-left: 20px;
}

}

.lpp-shipping-package-wrapper th,
.lpp-shipping-package-wrapper td{
	border: 0px!important;
}


div#pickup-location-field-for-0 {
    width: 170px;
}

button#eqasypack_show_geowidget {
    padding: 5px 15px;
    font-size: 14px;
    text-transform: uppercase;
}

#shipping_method em {
    color: #fd4755;
    display: block;
    padding: 10px 0px;
}

@media screen and (min-width: 768px) {
	#shipping_method em {
		min-width: 240px!important;
	}
}
	
@media screen and (min-width: 1024px) {
	#shipping_method em {
		min-width: 340px!important;
	}
}

@media screen and (min-width: 1250px) {
	#shipping_method em {
		min-width: 440px!important;
	}
}
.wclimcol2 {
    display: grid;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 5px 10px;
}
.Wcmlim_sloc_label {
	display: none!important;
}
.rselect_location p:first-child {
    width: 100%!important;
}

.wcmlim_product .loc_dd.Wcmlim_prefloc_sel {
    background: none !important;
}

.Wcmlim_container.wcmlim_product {
    padding: 10px;
    margin-bottom: 15px;
}
.wcmlim_product .Wcmlim_box_title {
    color: #000000 !important;
    font-size: 18px;
    text-transform: uppercase;
    padding-bottom: 10px;
}
.rselect_location .wclimrow input.wclimcol1 {
    transform: translateY(1px);
}
.product-limit-notice {
	
font-size: 14px;
    border: 1px solid #72767c;
    max-width: 100%;
    display: inline-block;
    padding: 0px;
    background: #a6192e;
    border-radius: 10px;
    color: #fff;
    padding: 5px 15px;
	font-size: 12px;
	font-weight:400;
	margin: 10px 0px;
}
.product-limit-notice span {
	font-weight:600!important;
}


.product-limit-notice::before {
    content: "";
    display: inline-block;
	  float: left;
    width: 18px;
    height: 18px;
    margin-right: 10px;
	  color: #fff;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="100" height="100" viewBox="0 0 24 24"%3E%3Cpath d="M 12 2 C 6.4889941 2 2 6.4889982 2 12 C 2 17.511002 6.4889941 22 12 22 C 17.511006 22 22 17.511002 22 12 C 22 6.4889982 17.511006 2 12 2 z M 12 4 C 16.430126 4 20 7.5698765 20 12 C 20 16.430123 16.430126 20 12 20 C 7.5698737 20 4 16.430123 4 12 C 4 7.5698765 7.5698737 4 12 4 z M 11 7 L 11 9 L 13 9 L 13 7 L 11 7 z M 11 11 L 11 17 L 13 17 L 13 11 L 11 11 z"%3E%3C/path%3E%3C/svg%3E') no-repeat center center;
    background-size: contain;
	filter: invert(1);
}
.product-limit-notice p {
	padding: 0px;
	margin: 0px;
	padding-left: 30px;
}

.wcmlim_cart_valid_err {
    border: 1px dotted #ff00003d;
    padding: 6px;
    color: grey;
    background: #ff000014;
    margin: 10px 0;
    font-weight: 600;
    color: #000000c2;
    margin-top: 10px;
    font-size: 12px;
}
@media screen and (min-width: 1280px) {
.Wcmlim_container.wcmlim_product {
    border-style: solid;
    max-width: 100%!important;
    width: 100%;
}
}
.site-content {
	background: #f2f2f2;
}
.price ins {
    display: block;
    font-size: 22px;
    line-height: 20px;
}
.product .product__categories {
	display: none;
}
.site-search input[type="search"] {
    border: 1px solid #909090;
}

.secondary-navigation .icon-wrapper svg {
    stroke: #83061b;
}
.secondary-navigation .menu a, .ri.menu-item:before, .fa.menu-item:before {
    color: #000000;
}


ul.products li.product .button {
	opacity: 1;
}

.woocommerce-card__header a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
	 min-height: 2.8em; /* 2 linie × line-height (1.4) = 2.8em */
    max-height: 2.8em; /* opcjonalnie, dla pewności */
	
}
@media screen and (min-width: 768px) {

    .col-full.main-header {
        padding-top: 15px!important;
        padding-bottom: 15px!important;
    }
}


.secondary-navigation .icon-wrapper svg,
.secondary-navigation .icon-wrapper line,
.secondary-navigation .icon-wrapper circle {
    stroke: #83051b!important;
}
.secondary-navigation .icon-wrapper rect,
.Wcmlim_line_seperator {
	display: none!important;
}


.product-details-wrapper .product-label,
.product-limit-notice {

    width: fit-content;
}

.rselect_location .wclimrow {
    border: 0px;
    padding: 0px;
    border-radius: 0px;
}
.bambi-collapsible__content h2 {
	display: none;
}

.wcmlradio_box.rselect_location {
    gap: 5px;
    padding: 0px;
}

.product-widget {
    clear: both;
    margin-bottom: 0px;
    padding-top: 0px;
    color: #111;
    font-size: 14px;
}
.product-widget .widget ul li {
    position: relative;
    margin-bottom: 3px;
    margin-left: 0px;
}
div.product .summary form.cart {
    margin: 0px;
}

/* Modal wyboru lokalizacji magazynowych */
.bambi-location-modal {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 0;
    border-radius: 8px;
}

.bambi-modal-content {
    padding: 30px;
}

.bambi-modal-title {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.bambi-modal-product-name {
    margin: 0 0 20px 0;
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.bambi-locations-list {
    margin: 20px 0;
    max-height: 400px;
    overflow-y: auto;
}

.bambi-location-item {
    padding: 15px;
    margin-bottom: 10px;
    border: 2px solid #e6e6e6;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bambi-location-item:hover {
    border-color: #0073aa;
    background-color: #f0f8ff;
}

.bambi-location-item.out-of-stock {
    opacity: 0.6;
    cursor: not-allowed;
}

.bambi-location-item.out-of-stock:hover {
    border-color: #e6e6e6;
    background-color: #fff;
}

.bambi-location-item.unavailable-location {
    opacity: 0.7;
    border-color: #ffc107;
    background-color: #fffbf0;
    cursor: not-allowed;
}

.bambi-location-item.unavailable-location:hover {
    border-color: #ffc107;
    background-color: #fffbf0;
}

.bambi-unavailable-badge {
    display: inline-block;
    padding: 4px 8px;
    background-color: #ffc107;
    color: #856404;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    margin-left: 10px;
    text-transform: uppercase;
}

.bambi-cart-location-info {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    padding: 12px 15px;
    margin: 15px 0;
    font-size: 14px;
    color: #856404;
}

.bambi-cart-location-info strong {
    color: #856404;
}

.bambi-cart-location-info a {
    color: #0073aa;
    text-decoration: underline;
    margin-left: 5px;
}

.bambi-cart-location-info a:hover {
    color: #005177;
}

.bambi-location-name {
    font-size: 18px;
    color: #333;
    display: block;
}

.bambi-location-header {
    margin-bottom: 8px;
}

.bambi-location-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.bambi-location-stock-text {
    display: flex;
    align-items: center;
    gap: 0;
    line-height: 1.2;
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

/* Loader */
.bambi-modal-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    min-height: 200px;
}

.bambi-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    animation: bambi-spin 1s linear infinite;
    margin-bottom: 20px;
}

.bambi-modal-loader p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

@keyframes bambi-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.bambi-location-stock-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    margin-right: 10px;
}

.bambi-location-stock-indicator.high-stock {
    background-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
}

.bambi-location-stock-indicator.medium-stock {
    background-color: #ffc107;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
}

.bambi-location-stock-indicator.low-stock {
    background-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
}

.bambi-location-stock-indicator.out-of-stock {
    background-color: #6c757d;
    box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.2);
}


.bambi-location-item.high-stock .bambi-location-stock-text {
    color: #28a745;
}

.bambi-location-item.medium-stock .bambi-location-stock-text {
    color: #856404;
}

.bambi-location-item.low-stock .bambi-location-stock-text {
    color: #dc3545;
}

.bambi-location-price {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* Mobile styles - bardziej zbite */
@media (max-width: 768px) {
    .bambi-modal-title {
        font-size: 18px;
        margin: 0 0 10px 0;
    }
    
    .bambi-modal-product-name {
        font-size: 13px;
        margin: 0 0 12px 0;
    }
    
    .bambi-cart-location-info {
        font-size: 11px;
        padding: 8px 10px;
        margin: 10px 0;
    }
    
    .bambi-location-item {
        padding: 10px;
        margin-bottom: 8px;
        gap: 6px;
    }
    
    .bambi-location-name {
        font-size: 14px; /* 18px * 0.8 = 14.4px */
    }
    
    .bambi-location-stock-text {
        font-size: 11px; /* 14px * 0.8 = 11.2px */
    }
    
    .bambi-location-price {
        font-size: 14px; /* 18px * 0.8 = 14.4px */
    }
    
    .bambi-unavailable-badge {
        font-size: 9px; /* 11px * 0.8 = 8.8px */
        padding: 3px 6px;
        margin-left: 8px;
    }
    
    .bambi-modal-content {
        padding: 20px;
    }
    
    .bambi-locations-list {
        margin: 12px 0;
        max-height: 350px;
    }
}

.bambi-location-price.sale {
    color: #dc3545;
}

.bambi-modal-actions {
    margin-top: 20px;
    text-align: right;
    padding-top: 20px;
    border-top: 1px solid #e6e6e6;
}

.bambi-modal-close {
    padding: 10px 20px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.bambi-modal-close:hover {
    background: #e6e6e6;
}

/* Magnific Popup overrides */
.mfp-container {
    padding: 20px;
}

.mfp-content {
    position: relative;
}

.mfp-close {
    color: #333;
    font-size: 40px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    right: 10px;
    top: 10px;
}

.mfp-close:hover {
    color: #000;
}



/* Custom product card (PLP/archives) */
.woocommerce ul.products li.product.bambi-product .bambi-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 16px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    overflow: visible;
}

.woocommerce ul.products li.product.bambi-product .bambi-product-card__image-link {
    display: block;
    position: relative;
    margin-bottom: 12px;
}

.woocommerce ul.products li.product.bambi-product .bambi-product-card__image {
    display: block;
    width: 100%;
    max-height: 210px;
    object-fit: contain;
    height: auto;
}

.woocommerce ul.products li.product.bambi-product .bambi-product-card__title {
    display: block;
    color: #2c2d33;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
    min-height: 40px;
    text-decoration: none;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.woocommerce ul.products li.product.bambi-product .bambi-product-card__title:hover {
    color: #111;
    text-decoration: none;
}

.woocommerce ul.products li.product.bambi-product .bambi-product-card__footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 50px;
}

.woocommerce ul.products li.product.bambi-product .bambi-product-card__price .price {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #c3202f;
}

.woocommerce ul.products li.product.bambi-product .bambi-product-card__price .price del {
    color: #a8a8a8;
    font-size: 12px;
    font-weight: 400;
    order: 1;
}

.woocommerce ul.products li.product.bambi-product .bambi-product-card__price .price ins {
    color: #c3202f;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    order: 2;
}

.woocommerce ul.products li.product.bambi-product .bambi-product-card__cta {
    display: flex;
    justify-content: flex-end;
}

.woocommerce ul.products li.product.bambi-product .bambi-product-card__cta .button,
.woocommerce ul.products li.product.bambi-product .bambi-product-card__cta .added_to_cart {
    position: static;
    width: auto;
    height: auto;
    line-height: 1.2;
    padding: 8px 12px;
    border-radius: 6px;
    background: #c3202f;
    color: #fff;
    font-weight: 600;
    opacity: 1;
    box-shadow: none;
}

.woocommerce ul.products li.product.bambi-product .bambi-product-card__cta .button:hover,
.woocommerce ul.products li.product.bambi-product .bambi-product-card__cta .added_to_cart:hover {
    background: #a91b28;
    color: #fff;
}

@media (max-width: 768px) {
    .woocommerce ul.products li.product.bambi-product .bambi-product-card__price .price,
    .woocommerce ul.products li.product.bambi-product .bambi-product-card__price .price ins {
        font-size: 15px;
    }
}

@media (min-width: 769px) {
    div#secondary {
        background: #fff;
        padding: 10px;
        border: 1px solid #e6e6e6;
        border-radius: 6px;
    }
}

@media (min-width: 993px) {
    .woocommerce ul.products li.product:not(.product-category):before {
        content: none;
        box-shadow: none;
        display: none;
    }
}

/* Hide unwanted plugin elements inside product cards */
.woocommerce ul.products li.product.bambi-product .eael-star-rating,
.woocommerce ul.products li.product.bambi-product a.addtocartbutton {
    display: none !important;
}

/* Hide duplicate sale badges - keep only bambi-product-card__sale-badge */
.woocommerce ul.products li.product.bambi-product .sale-item.product-label.type-bubble:not(.bambi-product-card__sale-badge) {
    display: none !important;
}

/* Inline location selector on product cards */
.woocommerce ul.products li.product.bambi-product .bambi-inline-location-selector {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: 0;
    padding: 10px 16px;
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
    border: none;
    border-top: 1px solid #e6e6e6;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    overflow: hidden;
}

.woocommerce ul.products li.product.bambi-product .bambi-inline-location-selector--hidden {
    display: none;
}

.woocommerce ul.products li.product.bambi-product .bambi-location-selector__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #2c2d33;
    letter-spacing: 0.3px;
}

.woocommerce ul.products li.product.bambi-product .bambi-close-location-selector {
    background: transparent;
    border: none;
    color: #6b6f75;
    font-size: 20px;
    line-height: 1;
    padding: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    flex-shrink: 0;
}

.woocommerce ul.products li.product.bambi-product .bambi-close-location-selector:hover {
    color: #2c2d33;
}

.woocommerce ul.products li.product.bambi-product .bambi-location-selector__options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.woocommerce ul.products li.product.bambi-product .bambi-location-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    padding: 4px 0;
}

.woocommerce ul.products li.product.bambi-product .bambi-location-option input[type="radio"] {
    margin: 0;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    cursor: pointer;
}

.woocommerce ul.products li.product.bambi-product .bambi-location-option label {
    flex: 1;
    margin: 0;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.4;
    color: #2c2d33;
}

.woocommerce ul.products li.product.bambi-product .bambi-location-stock {
    font-size: 11px;
    color: #6b6f75;
    margin-left: auto;
    white-space: nowrap;
}

.woocommerce ul.products li.product.bambi-product .bambi-inline-location-selector .bambi-product-card__cta {
    margin-top: 10px;
}

.woocommerce ul.products li.product.bambi-product .bambi-inline-location-selector .bambi-add-to-cart-inline {
    width: 100%;
    padding: 10px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    background: #c3202f;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.woocommerce ul.products li.product.bambi-product .bambi-inline-location-selector .bambi-add-to-cart-inline:hover {
    background: #a91b28;
}

.woocommerce ul.products li.product.bambi-product .bambi-inline-location-selector .bambi-add-to-cart-inline:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.woocommerce ul.products li.product.bambi-product .bambi-no-locations {
    font-size: 11px;
    color: #6b6f75;
    text-align: center;
    padding: 8px;
}

/* Przycisk rozwijający inline selector */
.woocommerce ul.products li.product.bambi-product .bambi-expand-location-selector {
    width: auto;
    height: auto;
    line-height: 1.2;
    padding: 8px 12px;
    border-radius: 6px;
    background: #c3202f;
    color: #fff;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.woocommerce ul.products li.product.bambi-product .bambi-expand-location-selector:hover {
    background: #a91b28;
    color: #fff;
}

/* Sale badge on product card - left top corner */
.woocommerce ul.products li.product.bambi-product .bambi-product-card__sale-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 10;
    display: inline-block !important;
    background: #c3202f;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    line-height: 1.2;
    pointer-events: none;
}

/* Active filters row */
.bambi-active-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    background: #fff;
    margin: 10px 0 16px;
}

.bambi-active-filters__title {
    font-size: 12px;
    font-weight: 600;
    color: #6b6f75;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-right: 8px;
}

.bambi-active-filters ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.bambi-active-filters li.chosen a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 16px;
    background: #f3f4f6;
    color: #2c2d33;
    font-size: 12px;
    line-height: 1;
    text-decoration: none;
}

.bambi-active-filters li.chosen a:hover {
    background: #e7e9ee;
    color: #111;
}

/* Lokalizacja z koszyka - pulsujące zielone tło */
.bambi-active-filters li.bambi-location-filter a {
    background: #28a745 !important;
    color: #fff !important;
    cursor: pointer;
    animation: bambi-location-pulse 2s ease-in-out infinite;
}

.bambi-active-filters li.bambi-location-filter a:hover {
    background: #218838 !important;
    color: #fff !important;
}

@keyframes bambi-location-pulse {
    0%, 100% {
        background-color: #28a745 !important;
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    50% {
        background-color: #34ce57 !important;
        box-shadow: 0 0 0 4px rgba(40, 167, 69, 0);
    }
}

.bambi-active-filters li.chosen a .woocommerce-Price-amount {
    font-weight: 600;
}

.bambi-active-filters a.remove,
.bambi-active-filters .remove {
    display: none;
}

.bambi-active-filters .clear_filters,
.bambi-active-filters .woocommerce-widget-layered-nav-dropdown__submit,
.bambi-active-filters a.clear {
    margin-left: auto;
}

.bambi-active-filters .clear_filters a,
.bambi-active-filters a.clear,
.bambi-active-filters a.clear-all,
.bambi-active-filters .clear_filters {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #c3202f;
    color: #c3202f;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    background: #fff;
}

.bambi-active-filters .clear_filters a:hover,
.bambi-active-filters a.clear:hover,
.bambi-active-filters a.clear-all:hover,
.bambi-active-filters .clear_filters:hover {
    background: #c3202f;
    color: #fff;
}

/* Sorting / results bar */
.woocommerce .shoptimizer-sorting,
.woocommerce .shoptimizer-sorting.sorting-end {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    padding: 8px 12px;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
}

.woocommerce .shoptimizer-sorting .woocommerce-result-count,
.woocommerce .shoptimizer-sorting .woocommerce-ordering {
    margin: 0;
}

.woocommerce .shoptimizer-sorting .woocommerce-products-header__title {
    order: 1;
    width: 100%;
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
}

.woocommerce .shoptimizer-sorting .woocommerce-result-count {
    order: 3;
    padding: 0 !important;
}

.woocommerce .shoptimizer-sorting .woocommerce-ordering {
    order: 2;
    display: flex;
    align-items: center;
    gap: 6px;
}

.woocommerce .shoptimizer-sorting select.orderby {
    display: inline-flex !important;
    margin: 0 !important;
    height: 32px;
    line-height: 32px;
    padding: 0 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 13px;
    background-color: #fff;
    box-shadow: none;
}

.woocommerce .shoptimizer-sorting.sorting-end {
    justify-content: flex-end;
}

.woocommerce .shoptimizer-sorting .woocommerce-pagination {
    order: 4;
    margin: 0;
}

@media (min-width: 769px) {
    .woocommerce .shoptimizer-sorting.sorting-end .woocommerce-pagination {
        margin-left: auto;
    }
}

.bambi-active-filters {
    order: 5;
    width: 100%;
    margin: 0;
}

/* Single product (PDP) compact layout */
.single-product div.product .summary {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.single-product div.product .summary.entry-summary {
    background: #fff;
    padding: 10px;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
}

.single-product div.product .summary.entry-summary {
    padding: 8px;
    font-size: 13px;
    line-height: 1.25;
}

.single-product div.product .summary {
    gap: 6px;
}

.single-product div.product .product_title {
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 1.3;
}

.single-product div.product .summary .price {
    margin: 2px 0;
}

.single-product div.product .summary .price,
.single-product div.product .summary .price ins {
    font-size: 28px;
    line-height: 1.1;
}

.single-product div.product .summary .price del,
.single-product div.product .summary .price del .woocommerce-Price-amount {
    font-size: 12px;
}

.single-product div.product .woocommerce-product-details__short-description {
    margin: 0;
}

.single-product div.product form.cart {
    margin: 0rem 0 1rem;
}

/* Hide product_meta */
.single-product .product_meta {
    display: none;
}

/* Move sale badge to the top of summary */
.single-product div.product .summary .sale-item.product-label.type-bubble {
    order: -1;
    margin-bottom: 4px;
}

.single-product div.product .variations {
    margin: 0;
}

.single-product div.product .variations th,
.single-product div.product .variations td {
    padding: 4px 0;
}

.single-product div.product .single_add_to_cart_button {
    padding: 9px 12px;
    font-size: 13px;
    line-height: 1.1;
}

.single-product div.product .woocommerce-variation-add-to-cart {
    margin-top: 4px;
}

/* Back to shop CTA */
.bambi-back-to-shop {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #2c2d33;
    text-decoration: none;
    margin-bottom: 2px;
}

/* PDP: limit notice + stock tighter */
.single-product div.product .summary .product-limit-notice {
    font-size: 12px;
    line-height: 1.25;
    background: #f3f4f6;
    border-radius: 6px;
    width: 100%;
    border: 0;
    padding: 0 8px 6px;
    color: #111;
}

.single-product div.product .summary .product-limit-notice::before {
    filter: invert(0) !important;
}

.single-product div.product .summary .product-limit-notice p {
    margin: 0;
}

.single-product div.product .summary p.stock {
    font-size: 12px;
    margin: 0;
    padding-top: 0 !important;
    border-top: 0 !important;
    text-transform: uppercase;
}

/* PDP: plugin warehouse box (Wcmlim) compact */
.single-product div.product .summary .Wcmlim_container.wcmlim_product {
    max-width: none;
    border-color: #e6e6e6 !important;
    border-radius: 6px !important;
}

.single-product div.product .summary .wcmlim_product .Wcmlim_box_title {
    font-size: 13px !important;
    margin: 0 !important;
}

.single-product div.product .summary .wcmlim_product .Wcmlim_line_seperator {
    margin: 4px 0 !important;
}

.single-product div.product .summary .wcmlim_product .wcmlradio_box p,
.single-product div.product .summary .wcmlim_product .wclimrow p {
    font-size: 12px !important;
    margin: 0 !important;
    line-height: 1.25 !important;
}

.bambi-back-to-shop:hover {
    color: #111;
    text-decoration: none;
}

/* PDP: hide prev/next + back to shop CTA (per request) */
.single-product div.product .shoptimizer-product-prevnext,
.single-product div.product .bambi-back-to-shop {
    display: none !important;
}

/* PDP gallery - thumbnails on the left if they exist */
.single-product div.product .woocommerce-product-gallery {
    display: flex;
    gap: 12px;
}

.single-product div.product .woocommerce-product-gallery__wrapper {
    order: 2;
    flex: 1 1 auto;
    overflow: hidden;
}

.single-product div.product .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    /* Ograniczamy bezpośrednio wysokość obrazka, żeby nie był ucinany przez wrapper */
    max-height: 500px;
    object-fit: contain;
}

.single-product div.product .flex-control-thumbs {
    order: 1;
    width: 84px;
    margin: 0;
}

.single-product div.product .flex-control-thumbs li {
    width: 100%;
    margin: 0 0 8px;
}

.single-product div.product .flex-control-thumbs img {
    width: 100%;
    height: auto;
}

/* PDP details section (description + additional info) */
.bambi-product-details {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    font-size: 14px;
    max-width: calc(1859px + 5.2325em);
    margin-left: auto;
    margin-right: auto;
}

.bambi-product-details__col {
    flex: 1 1 0;
    min-width: 0;
}

.bambi-product-details__title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.bambi-collapsible {
    border: 1px solid #c3202f;
    border-radius: 6px;
    background: #fff;
    padding: 0 12px;
}

.bambi-collapsible__summary {
    cursor: pointer;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 700;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #c3202f;
    position: relative;
    padding-left: 24px;
    padding-right: 24px;
}

.bambi-collapsible__summary::-webkit-details-marker {
    display: none;
}

/* Plusik po lewej */
.bambi-collapsible__summary::before {
    content: "+";
    position: absolute;
    left: 0;
    font-size: 18px;
    font-weight: 700;
    color: #c3202f;
    line-height: 1;
}

/* Chevron po prawej */
.bambi-collapsible__summary::after {
    content: "›";
    position: absolute;
    right: 0;
    font-size: 16px;
    font-weight: 700;
    color: #6b6f75;
    line-height: 1;
    transition: transform 0.2s;
}

/* Gdy otwarte - zmień plusik na minus i obróć chevron */
.bambi-collapsible[open] .bambi-collapsible__summary::before {
    content: "−";
}

.bambi-collapsible[open] .bambi-collapsible__summary::after {
    transform: rotate(90deg);
    color: #c3202f;
}

.bambi-collapsible__content {
    padding: 6px 0 12px;
}

.bambi-collapsible__content p {
    margin: 0 0 10px;
}

.bambi-product-details__description,
.bambi-product-details__additional,
.bambi-product-details__additional h2,
.bambi-product-details__additional table,
.bambi-product-details__additional table th,
.bambi-product-details__additional table td,
.bambi-collapsible__content,
.bambi-collapsible__summary {
    font-size: 14px;
}

/* Widget: shipping info list */
.bambi-shipping-info {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.bambi-shipping-info__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    line-height: 1.3;
}

.bambi-shipping-info__item::before {
    content: none !important;
    display: none !important;
}

.bambi-shipping-info__item br {
    display: none;
}

.bambi-shipping-info__icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    color: #2c2d33;
}

.bambi-product-details__additional table.shop_attributes {
    margin: 0;
}

.bambi-product-details__additional table.shop_attributes th,
.bambi-product-details__additional table.shop_attributes td {
    padding: 6px 0;
}

@media (max-width: 768px) {
    .bambi-product-details {
        flex-direction: column;
    }

    .single-product div.product .woocommerce-product-gallery {
        flex-direction: column;
    }

    .single-product div.product .flex-control-thumbs {
        width: 100%;
        display: flex;
        gap: 8px;
    }

    .single-product div.product .flex-control-thumbs li {
        width: 64px;
        margin: 0;
    }
}