/*
Theme Name: Buny Child
Theme URI: http://www.wpbingosite.com/buny
Author: wpbingo
Description: This is a child theme for Buny
Version: 1.0.0
Author URI: http://wpbingosite.com
Template: buny
Text Domain: buny-child
*/
/*************** ADD YOUR CUSTOM CSS HERE  ***************/

/*filtrowanie*/
/* Remove checkboxes and apply Montserrat font */
.facetwp-facet-categories .facetwp-checkbox {
    font-family: 'Montserrat', sans-serif;
    background: none !important;
    padding-left: 0 !important;
    cursor: pointer;
}

/* Remove checked checkbox background too */
.facetwp-facet-categories .facetwp-checkbox.checked {
    background: none !important;
}

/* Make selected items bold */
.facetwp-facet-categories .facetwp-checkbox.checked .facetwp-display-value {
    font-weight: 700;
}


/*tekst kategorie nad filtrem*/
.main-archive-product .widget_text {
margin-bottom:0px;
}

.category-filter-title {
font-size:22px;
  font-weight:500;
  color:#000;
}

/*cena tapety po wyliczeniach*/
#price_calculator input {
    text-align: left;
    width: 120px;
}

.calculated-price .amount {
  font-size:28px;
  color:#658D80;
  font-weight: 600;
  margin: -7px 10px 10px 10px;
}

.calculated-price td {
	font-size:20px;
  	font-weight: 600;
}

/*warianty*/
.single-product .product-type-variable .variations_form.cart table tr td.value .tawcvs-swatches .swatch {

    border-radius: 0px;
    -webkit-border-radius: 0px;
	
}

.single-product .product-type-variable .variations_form.cart table tr td.value .tawcvs-swatches .swatch {

    border-radius: 0px;
    -webkit-border-radius: 0px;
}

.woocommerce div.product .cart.variations_form .tawcvs-swatches .swatch.selected:before {
  border:0px;
}

.swatch.selected {
border-radius:4px!important;
  padding:1px 10px!important;
}

/*tabela montaż produktu*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Montserrat:wght@400;500;600;700&display=swap');

/* Reset tabeli */
#tablepress-2 {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 12px;
    background: transparent;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    table-layout: fixed;
}

#tablepress-2 td {
    width: 25%;
}

/* Ukryj caption */
#tablepress-2 caption {
    display: none;
}

/* Style dla komórek nagłówkowych (row-1 i row-3) */
#tablepress-2 .row-1 td,
#tablepress-2 .row-3 td {
    background: rgba(181, 209, 200, 0.1);
    color: #658D80;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 12px 16px;
    border-radius: 6px 6px 0 0;
    border: 1px solid rgba(181, 209, 200, 0.3);
    border-bottom: 1px solid rgba(181, 209, 200, 0.2);
    vertical-align: top;
    position: relative;
}

/* Style dla komórek treści (row-2 i row-4) */
#tablepress-2 .row-2 td,
#tablepress-2 .row-4 td {
    background: #ffffff;
    color: #666;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 16px;
    border-radius: 0 0 6px 6px;
    border: 1px solid rgba(181, 209, 200, 0.3);
    border-top: none;
    vertical-align: top;
}

/* Hover effect dla całych "kart" */
#tablepress-2 .row-1 td:hover,
#tablepress-2 .row-1 td:hover + tr .row-2 td:nth-child(1),
#tablepress-2 .row-3 td:hover,
#tablepress-2 .row-3 td:hover + tr .row-4 td:nth-child(1) {
    border-color: rgba(101, 141, 128, 0.4);
}

/* Hover dla kolumn */
#tablepress-2 td.column-1:hover,
#tablepress-2 .row-2 td.column-1:hover,
#tablepress-2 .row-4 td.column-1:hover {
    border-color: rgba(101, 141, 128, 0.4);
}

#tablepress-2 td.column-2:hover,
#tablepress-2 .row-2 td.column-2:hover,
#tablepress-2 .row-4 td.column-2:hover {
    border-color: rgba(101, 141, 128, 0.4);
}

#tablepress-2 td.column-3:hover,
#tablepress-2 .row-2 td.column-3:hover,
#tablepress-2 .row-4 td.column-3:hover {
    border-color: rgba(101, 141, 128, 0.4);
}

#tablepress-2 td.column-4:hover,
#tablepress-2 .row-2 td.column-4:hover,
#tablepress-2 .row-4 td.column-4:hover {
    border-color: rgba(101, 141, 128, 0.4);
}

/* Bazowe style dla wszystkich ikon kroków */
#tablepress-2 .row-1 td::before,
#tablepress-2 .row-3 td::before {
    content: "";
	position:absolute;
	left:15px;
    display: inline-block;
    background: rgba(101, 141, 128, 0.1) no-repeat center center;
    background-size: 32px 32px;
    width: 40px;
    height: 40px;
	top:10px;
    border-radius: 50%;
    margin-right: 8px;
}

.icon-in-table {
  position:absolute;
  left:21px;
  width:28px;
  top:16px;
}


#tablepress-2 .column-1,#tablepress-2 .column-2,#tablepress-2 .column-3,#tablepress-2 .column-4 {
 text-align:center; 
}

@media (min-width: 320px) and (max-width: 480px) {
  
  #tablepress-2 > tbody > tr > td {
 display:flex!important; 
  flex-direction:column;
  align-items: center;
  
}

#tablepress-2 .row-1 td::before,#tablepress-2 .row-3 td::before {
 position:relative; 
  margin-top:-10px;
  left:0px;
  margin-bottom:20px;
}

.icon-in-table {
  left: 48%;
  transform: translateX(-50%);
  top:15px;
}

#tablepress-2 td {
 line-height:1.2em; 
}
  
}



/* Specjalne style dla kroku "Gotowe!" */
#tablepress-2 .row-3 .column-4 {
    background: rgba(181, 209, 200, 0.05);
    border-color: rgba(101, 141, 128, 0.2);
}

#tablepress-2 .row-4 .column-4 {
    background: rgba(181, 209, 200, 0.05);
    border-color: rgba(101, 141, 128, 0.2);
    text-align: center;
    color: #658D80;
    font-size: 0.95rem;
}

#tablepress-2 .row-4 .column-4::before {
    content: "🎉 ";
    font-size: 1.2rem;
    margin-right: 4px;
}

/* Responsywność */
@media (max-width: 768px) {
    #tablepress-2 {
        border-spacing: 8px;
    }
    
    #tablepress-2 td {
        font-size: 0.85rem !important;
        padding: 10px 14px !important;
    }
    
    #tablepress-2 .row-2 td,
    #tablepress-2 .row-4 td {
        padding: 14px !important;
    }
}

@media (max-width: 600px) {
    #tablepress-2 {
        border-spacing: 6px;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    #tablepress-2 tbody,
    #tablepress-2 tr,
    #tablepress-2 td {
        display: block;
        width: 100%;
        white-space: normal;
    }
    
    #tablepress-2 tr {
        margin-bottom: 20px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    #tablepress-2 .row-1,
    #tablepress-2 .row-3 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 12px;
    }
    
    #tablepress-2 .row-2,
    #tablepress-2 .row-4 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Ukryj puste komórki */
#tablepress-2 .row-4 .column-4:empty::before {
    content: "🎉 Twoja fototapeta została pomyślnie zamontowana! Ciesz się nowym wyglądem swojego wnętrza.";
    font-size: 0.9rem;
}


/*szczalka po howerze na produkcie*/

.products-list.grid .product-wapper .products-thumb .product-button .product_type_variable:hover:before {
    color: #222;
  background:transparent;
  top:10px;
}
  .products-list.grid .product-wapper .products-thumb .product-button .product_type_variable:before {
    color: #222;
  background:transparent;
  top:10px;
    opacity:1;
    visibility:visible;
}

/*radio filter fix*/

.facetwp-radio {
  background: none !important;
  padding: 4px 12px;
  margin: 4px 0;
  border-radius: 4px;
  transition: background-color 0.2s;
  cursor: pointer;
  padding-left:0px!important;
}

.facetwp-radio:hover {
  background-color: #f5f5f5;
}

.facetwp-radio.checked {
  font-weight: bold;
  background-color: #e3f2fd;
}

.facetwp-counter {
  margin-left: 8px;
  color: #666;
}

/*Personalizuj tapetę*/ 
.wc-pao-addon-wrap > div {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
  width:100%;
}

.wc-pao-addon-wrap label {
    font-weight: 300;
    margin-left: 8px;
    cursor: pointer;
    font-size: 16px;
}

.wc-pao-addon-checkbox {
    accent-color: #658D80;
    cursor: pointer;
    margin-top: -8px;
}
}

.wc-pao-addon-name {
    margin-bottom: 20px;
    display: block;
}

.wc-pao-addon-price {
    font-weight: 300;
}

/* Poprawki dla ikon na mobile */
.product-shipping-delivers {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-shipping-delivers li {
    margin-bottom: 15px;
}

.content-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.content-info svg {
    flex-shrink: 0;
    margin-top: 2px; /* Lekkie przesunięcie w dół dla lepszego wyrównania z pierwszą linią tekstu */
}

.content-info .content {
    flex: 1;
    text-align: left;
    line-height: 1.4;
}

/* Responsive dla mobile */
@media (max-width: 768px) {
    .content-info {
        gap: 10px;
    }
    
    .content-info svg {
        width: 24px;
        height: 24px;
        margin-top: 1px;
    }
    
    .content-info .content {
        font-size: 14px;
        line-height: 1.5;
    }
}


/*ukrycie nagłówków wtabach*/

.yikes-custom-woo-tab-title {
    display: none !important;
}

/* oscylowanie tabeli Montaż krok po kroku na mobile*/ 

@media (max-width: 768px) {
    #tablepress-2 {
        display: block !important;
    }
    
    #tablepress-2 tbody {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto auto auto auto auto auto;
        gap: 15px;
        grid-template-areas: 
            "header1 header2"
            "content1 content2"
            "header3 header4"
            "content3 content4"
            "header5 header6"
            "content5 content6"
            "header7 header8"
            "content7 content8";
    }
    
    #tablepress-2 tr {
        display: contents !important;
    }
    
    #tablepress-2 td {
        display: block !important;
    }
    
    /* Position each cell in the grid */
    #tablepress-2 .row-1 .column-1 { grid-area: header1; }
    #tablepress-2 .row-1 .column-2 { grid-area: header2; }
    #tablepress-2 .row-1 .column-3 { grid-area: header3; }
    #tablepress-2 .row-1 .column-4 { grid-area: header4; }
    
    #tablepress-2 .row-2 .column-1 { grid-area: content1; }
    #tablepress-2 .row-2 .column-2 { grid-area: content2; }
    #tablepress-2 .row-2 .column-3 { grid-area: content3; }
    #tablepress-2 .row-2 .column-4 { grid-area: content4; }
    
    #tablepress-2 .row-3 .column-1 { grid-area: header5; }
    #tablepress-2 .row-3 .column-2 { grid-area: header6; }
    #tablepress-2 .row-3 .column-3 { grid-area: header7; }
    #tablepress-2 .row-3 .column-4 { grid-area: header8; }
    
    #tablepress-2 .row-4 .column-1 { grid-area: content5; }
    #tablepress-2 .row-4 .column-2 { grid-area: content6; }
    #tablepress-2 .row-4 .column-3 { grid-area: content7; }
    #tablepress-2 .row-4 .column-4 { grid-area: content8; }
}

/*kupon rabatowy - koszyk*/


#wc-block-components-totals-coupon__input-coupon {
border-radius:100px!important;
}

.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button {
background: var(--button-color, #d33);
    color: #fff;
    border: 0;
    font-weight: 700;
    padding: 0 20px;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
    outline: none;
    box-shadow: none;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}


/*cart extension in single product on mobile*/


@media (min-width: 320px) and (max-width: 480px) {
  
.single-product .woocommerce-variation-add-to-cart {
margin: 5px 3px 5px 0!important;
}
  
}


/*products archive gaps and width*/
.product {
  padding:0px;
}

.products.products-list {
gap:20px 0px; 
}
 
.product-thumb-hover {
  width:100%;
}

.product .products-thumb {
  display:flex!important;
}

.product .products-thumb a {
  width:98%;
}

.product .products-thumb img {
  width:98%;
}


.products-list.grid .product-wapper {
    margin: 0px!important;
}


.products-content h3.product-title,span.price  {
  font-weight:300!important;
}


/*zdjęcia produktów*/

.attachment-shop_single {
	height:auto;
  object-fit:contain;
  object-position: center;
}


/*img size*/
@media (min-width: 1025px) {
  
  .products-thumb {
  height:470px;
  object-fit:cover;
}
  
.products-thumb > div.product-thumb-hover > a > img.fade-in.wp-post-image
 {
  height:470px!important;
  object-fit:cover;
}
  
.product-thumb-hover .hover-image {
  height:470px!important;
  object-fit:cover;
}
  
}

/*bolg img*/
.content-info {
    align-items: center;
    flex-direction: column;
}

.content-image-single .entry-thumb img {
width:1100px;
  height:400px;
object-fit:cover;
 object-position:center;
}

.content-image-single .entry-thumb  {
margin:0 auto;
  text-align:center;
  padding-bottom:50px;
}

@media (min-width: 1025px) and (max-width: 1280px) {

   .header-wrapper .header-container {
    width: 1350px!important;
    margin: 0 auto;
}

}

/*licznik naklejek*/
.product_cat-naklejki .quantity-button {
 flex-direction: column;
}

.product_cat-naklejki .quantity {
 width:125px; 
   margin-top:-20px!important; 
  margin-bottom: 10px!important;
}

.product_cat-naklejki .single-product .bwp-single-info .quantity button.plus:before {
 top:7px; 
}
