/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.2
 Text Domain:  woodmart
*/

@media (max-width: 767px) {

    .wd-cat-inner::before,
    .wd-cat-image::before,
    .wd-cat-thumb::before {
        display: none !important;
        content: none !important;
        background: transparent !important;
    }

}

/* ==================================================
   PRZYCISKI ZAKUPU W JEDNYM WIERSZU
   Tylko formularz na pojedynczej stronie produktu.
   ================================================== */
.single-product form.cart:not(.uwa_auction_form):not(.buy-now) {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    width: 100% !important;
    gap: 8px !important;
}

.single-product form.cart:not(.uwa_auction_form):not(.buy-now) > .quantity {
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
}

.single-product form.cart:not(.uwa_auction_form):not(.buy-now) > :is(.single_add_to_cart_button, .wd-buy-now-btn) {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

@media (max-width: 767px) {
    .single-product form.cart:not(.uwa_auction_form):not(.buy-now) {
        flex-wrap: wrap !important;
    }

    .single-product form.cart:not(.uwa_auction_form):not(.buy-now) > .quantity {
        flex: 0 0 100% !important;
        display: flex !important;
        justify-content: center !important;
    }

    .single-product form.cart:not(.uwa_auction_form):not(.buy-now) > :is(.single_add_to_cart_button, .wd-buy-now-btn) {
        flex: 1 1 calc(50% - 4px) !important;
    }
}
.wd-nav li > a[href*="/sklep/licytacje/"] {
    background: #CDE6FD!important;
    border-radius: 90px !important;
	border: none !important;
}

.wd-nav li > a[href*="/sklep/licytacje/"] .nav-link-text {
    color: red !important;
	font-weight: bold;
	text-transform: uppercase;
}

body.woocommerce div.quantity {
    justify-content: center;
}

.add-uwa.uwa-watchlist-action::before {
    transform: translateY(-4px);
	font-size: 14px;
}

.winner-name, span.uwa_winning, .uwa_auction_reserve_met {
	display: none !important;
}

/* Dodaj do listy obserwowanych */
#auction-product-type .add-uwa,
.add-uwa.uwa-watchlist-action {
    padding: 2px 15px !important; 
	font-weight: normal !important;
	border: 2px solid rgba(19, 141, 245, 0.15);
    border-radius: 90px;
    color: var(--auction-blue, #138df5) !important;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

#auction-product-type .add-uwa:hover,
.add-uwa.uwa-watchlist-action:hover {
    background: var(--auction-blue, #138df5);
    border-color: var(--auction-blue, #138df5);
    color: var(--auction-white, #ffffff) !important;
    transform: translateY(-1px);
}

/* Licznik aukcji na listingu / kafelkach produktów */
.wd-el-hook .uwa_auction_product_countdown,
.uwa-main-auction-product-loop.uwa_auction_product_countdown {
    width: 100%;
    margin: 10px 0 12px;
    background: transparent !important;
    box-shadow: none !important;
}

.wd-el-hook .countdown_row,
.uwa-main-auction-product-loop .countdown_row {
    display: flex !important;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

.wd-el-hook .countdown_section,
.uwa-main-auction-product-loop .countdown_section {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 58px;
    padding: 8px 7px;
    background: #ebf6ff;
    border: 1px solid rgba(19, 141, 245, 0.12);
    border-radius: 12px;
    color: #6f7480;
    font-size: 8px;
    font-weight: 600;
    line-height: 1.1;
}

.wd-el-hook .countdown_section br,
.uwa-main-auction-product-loop .countdown_section br {
    display: none;
}

.wd-el-hook .countdown_amount,
.uwa-main-auction-product-loop .countdown_amount {
    display: block;
    margin-bottom: 4px;
    color: #07164f;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

@media (max-width: 767px) {

    .wd-el-hook .countdown_section,
    .uwa-main-auction-product-loop .countdown_section {
        min-width: 0;
        min-height: 48px;
        border-radius: 9px;
        font-size: 6px;
        line-height: 1;
    }

    .wd-el-hook .countdown_amount,
    .uwa-main-auction-product-loop .countdown_amount {
        margin-bottom: 3px;
        font-size: 12px;
        line-height: 1;
    }
}

/* ==================================================
   SEKCJA LICYTACJI
================================================== */

#auction-product-type {
    --auction-navy: #07164f;
    --auction-blue: #138df5;
    --auction-light-blue: #ebf6ff;
    --auction-border: #e7e9ed;
    --auction-text: #171717;
    --auction-muted: #6f7480;
    --auction-white: #ffffff;

    width: 100%;
    color: var(--auction-text);
}


/* ==================================================
   CZAS DO KOŃCA LICYTACJI
================================================== */

#auction-product-type .uwa_auction_time {
    margin-top: 0;
}

#auction-product-type .uwa_auction_time > strong {
    display: block;
    margin-bottom: 14px;
    font-size: 16px;
    font-weight: 700;
}

#auction-product-type .uwa_auction_product_countdown {
    width: 100%;
    margin: 0 0 18px;
    background-color: transparent !important;
    box-shadow: none !important;
}

#auction-product-type .countdown_row {
    display: flex !important;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
}

#auction-product-type .countdown_section {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    min-height: 76px;
    padding: 10px 12px;
    background: var(--auction-light-blue);
    border: 1px solid rgba(19, 141, 245, 0.12);
    border-radius: 14px;
    color: var(--auction-muted);
    font-size: 11px;
    line-height: 1.2;
    text-transform: uppercase;
}

#auction-product-type .countdown_section br {
    display: none;
}

#auction-product-type .countdown_amount {
    display: block;
    margin-bottom: 5px;
    color: var(--auction-navy);
    font-size: 25px;
    font-weight: 800;
    line-height: 1;
}


/* ==================================================
   DATA ZAKOŃCZENIA
================================================== */

#auction-product-type .uwa-timezone {
    margin: 0 0 12px;
}

#auction-product-type .uwa_auction_end_time {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    color: var(--auction-muted);
    font-size: 13px;
    font-weight: 400;
}

#auction-product-type .uwa_auction_end_time strong {
    color: var(--auction-text);
    font-weight: 700;
}


/* ==================================================
   CENA MINIMALNA
================================================== */

#auction-product-type .checkreserve {
    margin: 14px 0 18px;
}

#auction-product-type .uwa_auction_reserve_not_met {
    position: relative;
    margin: 0;
    padding: 13px 16px 13px 42px;
    background: #fff5f2;
    border: 1px solid #ffd9d1;
    border-radius: 12px;
    color: #d8492f;
    font-size: 13px;
    line-height: 1.4;
}

#auction-product-type .uwa_auction_reserve_not_met::before {
    content: "!";
    position: absolute;
    top: 50%;
    left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    transform: translateY(-50%);
}

#auction-product-type .uwa_auction_reserve_not_met strong {
    font-weight: 700;
}


/* ==================================================
   LISTA OBSERWOWANYCH
================================================== */

#auction-product-type .uwa-watchlist-button {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
}

#auction-product-type .uwa-watchlist-button a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 15px;
    border-radius: 90px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

#auction-product-type .uwa-watchlist-button a:hover {
    transform: translateY(-1px);
}

#auction-product-type .remove-uwa {
    background: #f3f4f6;
    border: 1px solid #e4e6ea;
    color: #34363b;
}

#auction-product-type .remove-uwa:hover {
    background: #e9ebef;
    color: #111;
}

#auction-product-type .view_watchlist {
    background: var(--auction-light-blue);
    border: 1px solid rgba(19, 141, 245, 0.15);
    color: var(--auction-blue);
}

#auction-product-type .view_watchlist:hover {
    background: var(--auction-blue);
    color: var(--auction-white);
}


/* ==================================================
   FORMULARZ LICYTACJI
================================================== */

#auction-product-type .uwa-custom-bid {
    margin: 0;
}

#auction-product-type .uwa-custom-bid h5 {
    margin: 0 0 12px !important;
    color: var(--auction-navy);
    font-size: 19px;
    font-weight: 800;
}

#auction-product-type .uwa_auction_form {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(180px, 202px);
    gap: 10px 20px;
    width: 100%;
    margin: 0;
}

#auction-product-type .uwa_auction_form .quantity {
    position: relative;
    display: flex;
    align-items: center;
    width: 100% !important;
    min-width: 0;
    height: 58px;
    margin: 0 !important;
    padding: 0;
    background: var(--auction-white);
    border: 2px solid var(--auction-light-blue) !important;
    border-radius: 90px !important;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

#auction-product-type .uwa_auction_form .quantity:focus-within {
    border-color: var(--auction-blue) !important;
    box-shadow: 0 0 0 4px rgba(31, 151, 247, 0.12);
}

#auction-product-type .uwa_auction_form .quantity::before,
#auction-product-type .uwa_auction_form .quantity::after {
    display: none !important;
    content: none !important;
}

#auction-product-type .uwa_currency {
    position: absolute !important;
    top: 50%;
    right: 17px;
    left: auto !important;
    z-index: 2;
    background: transparent !important;
    color: var(--auction-navy);
    font-size: 15px;
    font-weight: 800;
    pointer-events: none;
    transform: translateY(-50%);
}

#auction-product-type #uwa_bid_value {
    width: 100% !important;
    max-width: none !important;
    height: 100%;
    margin: 0 !important;
    padding: 0 50px 0 17px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 90px !important;
    box-shadow: none !important;
    color: var(--auction-navy);
    font-size: 18px;
    font-weight: 800;
    text-align: left;
    appearance: textfield;
}

#auction-product-type #uwa_bid_value:focus {
    outline: none;
}

#auction-product-type #uwa_bid_value::-webkit-inner-spin-button,
#auction-product-type #uwa_bid_value::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

#auction-product-type .uwa_inc_price_hint {
    grid-column: 1 / -1;
    margin: 0 !important;
    padding: 0 3px !important;
    color: #626874;
    font-size: 12px;
    line-height: 1.4;
}

#auction-product-type .uwa_inc_price_hint small {
    font-size: inherit !important;
}


/* ==================================================
   PRZYCISK LICYTUJ
================================================== */

#auction-product-type .bid_button {
    position: relative;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-width: 190px;
    height: 58px !important;
    margin: 0;
    padding: 0 25px;
    background: linear-gradient(
        100deg,
        #173bb4 0%,
        #118efa 62%,
        #74d5ff 100%
    ) !important;
    border: 0 !important;
    border-radius: 90px !important;
    box-shadow: 0 8px 22px rgba(19, 105, 221, 0.2);
    color: #fff !important;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
    pointer-events: auto !important;
    transition:
        box-shadow 0.25s ease,
        filter 0.25s ease,
        transform 0.25s ease;
}

#auction-product-type .bid_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(26, 113, 221, 0.3);
    filter: brightness(1.04);
}

#auction-product-type .bid_button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
}


/* ==================================================
   TELEFON
================================================== */

@media (max-width: 767px) {
    #auction-product-type .countdown_row {
        gap: 6px;
    }

    #auction-product-type .countdown_section {
        flex: 1;
        min-width: 0;
        min-height: 67px;
        padding: 9px 5px;
        border-radius: 10px;
        font-size: 9px;
    }

    #auction-product-type .countdown_amount {
        font-size: 20px;
    }

    #auction-product-type .uwa_auction_form {
        grid-template-columns: 1fr;
    }

    #auction-product-type .bid_button {
        width: 100% !important;
        min-width: 0;
    }

    #auction-product-type .uwa_inc_price_hint {
        grid-column: 1;
    }

    #auction-product-type .uwa-watchlist-button {
        flex-direction: column;
    }

    #auction-product-type .uwa-watchlist-button a {
        width: 100%;
    }
}


    .elementor-widget-wd_single_product_add_to_cart form.buy-now
    .single_add_to_cart_button {
        width: 100%;
    }

@media (max-width: 767px) {

  .wd-sub-menu .wd-mob-nav-html-block,
  .wd-sub-menu .elementor-1412,
  .wd-sub-menu .elementor-1412 .e-con-inner,
  .wd-sub-menu .elementor-1412 .e-con {
    width: 100% !important;
    max-width: 100% !important;
  }

  .wd-sub-menu .elementor-1412 .e-con-inner {
		padding-left: 15px !important;
    padding-right: 15px !important;
    margin: 0 !important;
  }
	
}

	.wd-sub-menu .elementor-1412 .wd-nav > li:not(:first-child) > a, .wd-dropdown-inner .elementor-1412 .wd-nav > li:not(:first-child) > a {
    padding-left: 14px !important;
 	}	

.wd-nav>li:is(.wd-has-children,.menu-item-has-children)>a:after {
    font-weight: bold;
    color: white;
    background-color: #ffffff33;
    padding: 2px 3px 0px 3px;
    border-radius: 90px;
}

.wd-dropdown-menu.wd-design-full-width.wd-scroll,
.wd-dropdown-menu.wd-design-full-width.wd-scroll .wd-scroll-content {
    height: auto !important;
    max-height: calc(100vh - 120px) !important;

}

.wd-nav-vertical.wd-design-simple>li>a {
    min-height: 35px;
}

.wd-header-search .wd-tools-icon:before, .wd-header-search .wd-tools-icon:after {
    color: #333333 !important;
}

@media (max-width: 768px) {
	.wd-side-hidden {
		width: 100%;
	}
	

	.wd-heading {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.wd-heading::before {
    content: "";
    display: block;
    width: 190px;
    height: 50px;
    background-image: url("/wp-content/uploads/2026/06/pyroking.pl_.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
}
}

.wd-heading::after {
    content: none !important;
}

.wd-nav-opener
{
    border: none !important;
}

.elementor-element.elementor-element-9653885 :is(.btn,.button,button,[type=submit],[type=button])
{
    gap: 0px !important;
}

.wd-side-hidden.wd-opened, .wd-search-full-screen.wd-opened, .wd-dropdown-menu.wd-scroll>.wd-scroll-content {
    background-color: #F7F7F7;
}

/* Koszyk */

.cart-widget-side .wd-heading .title {
    font-weight: 400;
    font-size: 20px;
    letter-spacing: .3px;
}

.cart-widget-side .wd-entities-title {
    font-weight: 400;
    font-size: 14px !important;
    color: #333;
}

.cart-widget-side .woocommerce-mini-cart__total strong {
    font-weight: 500;
    font-size: 18px;
}

.cart-widget-side .woocommerce-mini-cart__total .amount {
    font-weight: 800;
	color: #1F97F7 !important;
}

.cart-widget-side .amount {
    color: #C99149;
    font-weight: 600;
}

.cart-widget-side .progress-msg {
    font-size: 13px;
    font-weight: 400;
    color: #2c2c2c;
}

.cart-widget-side .close-side-widget .wd-action-text {
    font-weight: 400;
    font-size: 13px;
    text-transform: lowercase;
}

.wd-progress-bar .progress-bar {
    background-color: #1F97F7 !important;
}

.woocommerce-product-gallery__image {
    background: #fff;
    overflow: hidden;
}

.woocommerce-product-gallery__image img {
    transform: scale(0.85);
    transform-origin: center center;
}

@media (max-width: 768px) {
    .products .wd-add-btn {
        justify-content: center !important;
    }
}

.products .wd-product {
    display: flex;
}

.products .wd-product-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.products .wd-loop-prod-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
}

.products .wd-loop-prod-thumb img {
x    width: auto;
    object-fit: contain;
}

.products .wd-loop-prod-title {
    min-height: 48px;
}

.products .wd-loop-prod-price {
    min-height: 28px;
}

.products .wd-add-btn-wrapp {
    margin-top: auto;
}

.wd-loop-prod-thumb,
.woocommerce-product-gallery__image, .wd-product-img-link {
    aspect-ratio: 4 / 3 !important;
}

.wd-tools-element.wd-design-8 .wd-tools-icon {
    color: rgb(51, 51, 51) !important;
}

.wd-loop-prod-thumb :is(.wd-product-img-link, .wd-product-img-hover) img,
.woocommerce-product-gallery__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}


/* MENU */
#menu-item-789 > a.woodmart-nav-link {
    padding: 5px 13px !important;
    min-height: unset !important;
}

#menu-item-1458 > .woodmart-nav-link > .nav-link-text, li.menu-item-1458 > a,
li.menu-item-1458 > a .nav-link-text  {
    color: white !important;
}



ul.wd-nav-vertical > li:first-child > a.woodmart-nav-link {
    display: flex !important;
    justify-content: left;
    align-items: left;
    background: #EBF4FA !important;
    color: #1F97F7 !important;
    border-radius: 90px !important;
    font-weight: 800 !important;
    border-bottom: none !important;
    padding: 10px 15px !important;
    overflow: hidden;
}

@media (max-width: 768px) {
    #menu-pokazy-piro-1 .menu-item-789 > a.woodmart-nav-link {
        padding: 6px 10px !important;
        min-height: unset !important;
        height: auto !important;
			margin-bottom: 2px;
    }
}

.whb-df875bv1l6bct10ded44.wd-header-nav .wd-nav {
    background-color: transparent !important;
}


/* ILOŚĆ PRODUKTU */
.quantity,
.quantity input,
.quantity .btn,
.quantity .qty {
    border: 0 !important;
    background-color: #F7F7F7;
    border-radius: 90px;
}


/* PRODUKT */
.wd.wd .wd-loop-item-655 .wd-product-wrapper, .wd.wd .wd-loop-item-7084 .wd-product-wrapper {
    background-color: #FFF !important;
}

.wd-side-hidden .woocommerce-Tabs-panel h2 {
    font-size: 24px !important;
    font-weight: bold !important;
}

.wd-side-hidden .woocommerce-Tabs-panel h3 {
    font-size: 20px !important;
}

p.stock.wd-style-with-bg:is(.available-on-backorder,.in-stock) span {
    background-color: #EBF4F9;
    color: #1F97F7;
    border-radius: 90px;
}

.wd-sticky-btn.wd-sticky-btn-shown p.iworks-omnibus
 {
    display: none !important;
}

p.iworks-omnibus {
    font-size: 12px;
    opacity: 0.5;
    margin-top: 5px;
 color: #38392E !important; 
   
}

p.iworks-omnibus .amount
 {
color: #38392E !important; 
        font-weight: normal !important;

 }

@media (max-width: 768px) {
p.iworks-omnibus {
    font-size: 9px;
}
}

/* ZŁOTY PRZYCISK */
a.btn.btn-accent.wd-sticky-add-to-cart.button.alt {
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.75) 0%,
            rgba(255,255,255,.35) 12%,
            rgba(255,255,255,0) 35%
        ),
        linear-gradient(
            135deg,
            #8A5A00 0%,
            #C9901A 15%,
            #FFD86B 35%,
            #FFF7D6 50%,
            #FFE08A 60%,
            #FFD15A 75%,
            #E8A92A 100%
        );

    color: #6a5e04;
}

button#wd-add-to-cart:hover,
a.button.checkout.wc-forward:hover,
a.btn.btn-accent.wd-sticky-add-to-cart.button.alt:hover {
    opacity: .55;
}
/* NIEBIESKI METALICZNY GRADIENT */
.wd-tools-element[class*="wd-design-7"] > a > :is(.wd-tools-inner,.wd-tools-icon),
.wd-tools-element[class*="wd-design-8"] > a > :is(.wd-tools-inner,.wd-tools-icon),
.whb-general-header .wd-nav.wd-nav-secondary > li > a,
.whb-general-header.whb-row .whb-xw2j0z27vvd3kmclodn3.wd-tools-element .wd-tools-inner,
.wd-loop-prod-btn.wd-stretched > a,
a.button.btn.btn-default.btn-cart.wc-forward,
.wd-cart-totals .wc-proceed-to-checkout .checkout-button, 
.wd-payment-methods #place_order,
.single_add_to_cart_button, #menu-item-1458  {
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.55) 0%,
            rgba(255,255,255,.25) 15%,
            rgba(255,255,255,0) 35%
        ),
        linear-gradient(
            180deg,
            rgba(255,255,255,0) 40%,
            rgba(255,255,255,.12) 55%,
            rgba(255,255,255,0) 70%
        ),
        linear-gradient(
            135deg,
            #01145E 0%,
            #01228F 15%,
            #0248D2 40%,
            #2097F7 70%,
            #B6E4FF 85%,
            #2097F7 100%
        );
	border-radius: 90px !important;
}

.single_add_to_cart_button:hover {
    opacity: .75;
}

/* ZAOKRĄGLENIE MENU */
.whb-general-header .wd-nav.wd-nav-secondary > li > a, #menu-item-1458  {
    border-radius: 90px;
}

 /* wspólne tło dla linku + strzałki */
.menu-item-1458 {
    background:
        linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.25) 15%, rgba(255,255,255,0) 35%),
        linear-gradient(180deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.12) 55%, rgba(255,255,255,0) 70%),
        linear-gradient(135deg, #01145E 0%, #01228F 15%, #0248D2 40%, #2097F7 70%, #B6E4FF 85%, #2097F7 100%) !important;
}

/* sam link i strzałka bez własnego tła */
.menu-item-1458 > a.woodmart-nav-link,
.menu-item-1458 > .wd-nav-opener {
    background: transparent !important;
    background-image: none !important;
    color: #fff !important;
}

/* dropdown odcina się od gradientu */
.menu-item-1458 > .wd-sub-menu {
    background: #fff !important;
    background-image: none !important;
}

/* wszystko wewnątrz dropdowna bez gradientu */
.menu-item-1458 > .wd-sub-menu * {
    background-image: none !important;
}

/* HOVER */
.wd-loop-prod-btn.wd-stretched > a:hover,
a.button.btn.btn-default.btn-cart.wc-forward:hover,
.wd-cart-totals .wc-proceed-to-checkout .checkout-button:hover,
.wd-payment-methods #place_order:hover,
.single_add_to_cart_button:hover {
    opacity: 0.55;
}

.wd-loop-prod-btn.wd-stretched > a::after,
a.button.btn.btn-default.btn-cart.wc-forward::after,
.wd-cart-totals .wc-proceed-to-checkout .checkout-button::after,
.wd-payment-methods #place_order::after,
button#wd-add-to-cart::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -150%;
    width: 70%;
    height: 200%;
    pointer-events: none;
    z-index: 2;

    background: linear-gradient(
        110deg,
        transparent 0%,
        rgba(255,255,255,.05) 35%,
        rgba(255,255,255,.75) 50%,
        rgba(255,255,255,.05) 65%,
        transparent 100%
    );

    transform: rotate(20deg);
    transition: left .7s ease;
}

.wd-loop-prod-btn.wd-stretched > a:hover::after,
a.button.btn.btn-default.btn-cart.wc-forward:hover::after,
.wd-cart-totals .wc-proceed-to-checkout .checkout-button:hover::after,
.wd-payment-methods #place_order:hover::after,
button#wd-add-to-cart:hover::after,
.elementor-366 .elementor-element.elementor-element-5e9882bc .single_add_to_cart_button:hover::after {
    left: 180%;
	
}


/* KOSZYK — BEZ UCINANIA LICZNIKA */
.whb-general-header.whb-row .whb-xw2j0z27vvd3kmclodn3.wd-tools-element .wd-tools-inner {
    position: relative;
    overflow: visible !important;
}


/* LICZNIK KOSZYKA */
.whb-row .whb-xw2j0z27vvd3kmclodn3 .wd-cart-number, .wd-tools-element:is([class*="wd-design-6"], [class*="wd-design-7"], .wd-design-8) .wd-tools-count {
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.55) 0%,
            rgba(255,255,255,.25) 15%,
            rgba(255,255,255,0) 35%
        ),
        linear-gradient(
            180deg,
            rgba(255,255,255,0) 40%,
            rgba(255,255,255,.12) 55%,
            rgba(255,255,255,0) 70%
        ),
        linear-gradient(
            135deg,
            #01145E 0%,
            #01228F 15%,
            #0248D2 40%,
            #2097F7 70%,
            #B6E4FF 85%,
            #2097F7 100%
        );

    color: #fff !important;
    z-index: 10 !important;
}

button#wd-add-to-cart, a.button.checkout.wc-forward {
    background:
        linear-gradient(#F7F7F7, #F7F7F7) padding-box,
        linear-gradient(
            135deg,
            #01145E 0%,
            #01228F 15%,
            #0248D2 40%,
            #2097F7 70%,
            #B6E4FF 85%,
            #2097F7 100%
        ) border-box !important;

    border: 3px solid transparent !important;
    color: #0248D2 !important;
    transition: opacity .4s ease;
}

/* Zwykły widok – desktop, tablet i telefon */
.pk-kategorie-jasniej img,
.pk-kategorie-jasniej picture img,
.pk-kategorie-jasniej .wd-cat-thumb img,
.pk-kategorie-jasniej .category-image img,
.pk-kategorie-jasniej .category-grid-item img,
.pk-kategorie-jasniej .wd-carousel-item img,
.pk-kategorie-jasniej .swiper-slide img {
    filter: brightness(1.38) contrast(1.06) saturate(1.10) !important;
    -webkit-filter: brightness(1.38) contrast(1.06) saturate(1.10) !important;
    opacity: 1 !important;
    transition: filter 0.3s ease, opacity 0.3s ease !important;
}

/* Hover na komputerze – bez przyciemnienia */
@media (min-width: 768px) {
    .pk-kategorie-jasniej a:hover img,
    .pk-kategorie-jasniej .category-grid-item:hover img,
    .pk-kategorie-jasniej .wd-carousel-item:hover img,
    .pk-kategorie-jasniej .swiper-slide:hover img {
        filter: brightness(1.42) contrast(1.07) saturate(1.12) !important;
        -webkit-filter: brightness(1.42) contrast(1.07) saturate(1.12) !important;
        opacity: 1 !important;
    }
}

/* Telefon i tablet – bez zmiany jasności po dotknięciu */
@media (max-width: 767px) {
    .pk-kategorie-jasniej a:active img,
    .pk-kategorie-jasniej a:focus img,
    .pk-kategorie-jasniej .category-grid-item:active img,
    .pk-kategorie-jasniej .category-grid-item:focus img,
    .pk-kategorie-jasniej .wd-carousel-item:active img,
    .pk-kategorie-jasniej .swiper-slide:active img {
        filter: brightness(1.38) contrast(1.06) saturate(1.10) !important;
        -webkit-filter: brightness(1.38) contrast(1.06) saturate(1.10) !important;
        opacity: 1 !important;
    }
}

/* ========================================
   METODY WYSYŁKI
======================================== */

.woocommerce-shipping-totals.shipping {
	display: block !important;
	width: 100% !important;
}

/* Ukrycie domyślnego nagłówka tabeli */
.woocommerce-shipping-totals.shipping > th {
	display: none !important;
}

/* Główny kontener */
.woocommerce-shipping-totals.shipping > td {
	display: block !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	text-align: left !important;
}

.woocommerce-shipping-totals.shipping > td::before {
	display: none !important;
	content: none !important;
}

/* Lista metod wysyłki */
.woocommerce-shipping-totals.shipping #shipping_method {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: left !important;
}

/* Własny nagłówek */
.woocommerce-shipping-totals.shipping #shipping_method::before {
	content: "Przesyłka";
	display: block;
	width: 100%;
	margin: 0 0 10px;
	font-weight: 700;
	text-align: left;
}

/* Pojedyncza metoda wysyłki */
.woocommerce-shipping-totals.shipping #shipping_method > li {
	display: flex !important;
	align-items: center !important;
	gap: 4px !important;
	box-sizing: border-box !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 6px 0 !important;
	list-style: none !important;
	text-align: left !important;
}

/* Radio */
.woocommerce-shipping-totals.shipping
#shipping_method > li > input[type="radio"] {
	position: static !important;
	flex: 0 0 auto !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Etykieta i nazwa metody */
.woocommerce-shipping-totals.shipping
#shipping_method > li > label {
	display: flex !important;
	flex: 1 1 auto !important;
	align-items: center !important;
	gap: 0 !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: left !important;
	cursor: pointer;
}

/* Wspólne ustawienia logo */
.woocommerce-shipping-totals.shipping
#shipping_method > li > label::before {
	content: "" !important;
	display: block !important;
	flex: 0 0 40px !important;
	width: 40px !important;
	min-width: 45px !important;
	height: 28px !important;
	margin: 0 10px 0 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background-color: transparent !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: 100% 100% !important;
}

/* Paczkomaty InPost */
.woocommerce-shipping-totals.shipping
#shipping_method_0_flexible_shipping_single3 + label::before {
	background-image: url("https://pyroking.pl/wp-content/uploads/2026/08/InPost_logo.svg-scaled-1.webp") !important;
}

/* Kurier InPost pobranie */
.woocommerce-shipping-totals.shipping
#shipping_method_0_flexible_shipping_single4 + label::before {
	background-image: url("https://pyroking.pl/wp-content/uploads/2026/08/InPost_logo.svg-scaled-1.webp") !important;
}

/* Kurier InPost */
.woocommerce-shipping-totals.shipping
#shipping_method_0_flexible_shipping_single5 + label::before {
	background-image: url("https://pyroking.pl/wp-content/uploads/2026/08/InPost_logo.svg-scaled-1.webp") !important;
}

/* Kwota wysyłki */
.woocommerce-shipping-totals.shipping
#shipping_method .amount {
	margin-left: auto !important;
	white-space: nowrap;
}

/* Ukrycie dodatkowego logo generowanego przez wtyczkę */
.woocommerce-shipping-totals.shipping
#shipping_method .inpost_pl-shipping-method-meta-wrap {
	display: none !important;
}

/* ========================================
   TELEFONY
======================================== */

@media (max-width: 767px) {
	.woocommerce-shipping-totals.shipping
	#shipping_method::before {
		margin-bottom: 8px;
	}

	.woocommerce-shipping-totals.shipping
	#shipping_method > li {
		gap: 3px !important;
		padding: 5px 0 !important;
	}

	.woocommerce-shipping-totals.shipping
	#shipping_method > li > label {
		flex-wrap: nowrap !important;
		gap: 0 !important;
	}

	.woocommerce-shipping-totals.shipping
	#shipping_method > li > label::before {
		flex: 0 0 40px !important;
		width: 40px !important;
		min-width: 40px !important;
		height: 30px !important;
		margin: 0 8px 0 0 !important;
		background-size: 100% 100% !important;
	}

}

.alsendo_geowidget_show_map_classic_checkout, #alsendo_geowidget_show_map_classic_checkout {
    font-size: 15px !important;
    box-shadow: none !important;
    background-color: #00082C !important;
    border-radius: 90px !important;
    width: 100% !important;	
	max-width: 100% !important;
}

.woocommerce-shipping-totals.shipping #shipping_method {
    border-top: 1px solid #D9D9D9 !important;
    padding-top: 20px !important;
}

p.woocommerce-shipping-destination {
    background-color: #D7E9F0 !important;
    display: inline-block !important;
    padding: 5px 10px 5px 10px !important;
    border-radius: 90px !important;
    margin-top: 10px !important;
}

.cky-btn {
	border-radius: 90px !important;
}
