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


#cc--main .cc-link {
  text-decoration: none !important;
  text-transform:none !important;
  border: none !important;
  background: none !important;
}
 

.cc_div *, .cc_div ::after, .cc_div ::before, .cc_div :hover {
	font-family: unset !important;
    text-transform:none !important;
}

.cc_div .title {
	margin-bottom: 0px !important;
}

.wd-skip-links {
	display: none !important;
}

.product-switcher-title {
	margin-bottom: 10px;
	color: #3a4f66;
	display: inline-block;
	font-size: 15px;
	display: none !important;
}


.product-switcher-wrapper {
  max-width: 100%;
  display: grid;
  grid-template-columns:repeat(6, 1fr);
  grid-auto-rows: auto;
  grid-gap: 10px;
}


@media only screen and (max-width: 900px) {

.product-switcher-wrapper {
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  grid-gap: 10px;
}

}
.product-switcher-select {
	width: 100% !important;
  height: 0;
  padding-top: 100%;
  position: relative;
  background: #FFF;
  margin-bottom: 40px;
}

.product-switcher-image {
	position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-switcher-link,
.product-switcher-link:hover
{
	color: #000;
}

.product-switcher-label {
	display: block;
	font-size: 12px;
	color: #000;
	font-weight: bold;
	text-align: center;
    padding-top: 5px;
	padding-bottom: 5px;
	line-height: 120%;
}


.swatches-wrapper-list {
    display: flex;
    flex-wrap: wrap;      
    gap: 8px;              
    padding: 0;
    margin: 15px 0;       
    list-style: none;     
}

.swatches-items-list {
    display: inline-flex;
}

.swatches-items-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;      
    height: 40px;         
    padding: 0 12px;      
    font-size: 14px;
    font-weight: 500;
    color: #333333;      
    text-decoration: none; 
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 4px;   
}


.swatches-items-list.swatches-items-link {
    color: #777676;         
    background-color: #FFF;
    border-color: #777676;
    cursor: pointer;         
}



table.variations tbody tr th.label.cell {
	vertical-align: top !important;
}

form.variations_form {
  --wd-var-table-mb: 15px !important;
} 


.variation-swatch-selected .reset_variations {
	display: none !important;
}


.woocommerce-variation-price .price {
  font-size: 155% !important;
}

.wd-product .wd-entities-title {
overflow: hidden;
  height: 60px;	
	
}

.wd-loop-builder-off :is(.wd-entities-title, .wd-product-cats, .wd-product-brands-links, .wd-product-sku, .wd-product-stock, .price) {
	margin-block: 0px !important;
}

.wd-product .price {
  display: block;
  font-size: 20px;
}


.single-product .reset_variations {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.single-product .woocommerce-variation-price {
     display: none !important;
     visibility: hidden !important;
     opacity: 0 !important;
}

.wd-product-detail.wd-product-sku {
	display: none !important;
}

.product-label.wd-shape-round.out-of-stock {
  max-width: 100% !important;
  font-size: 12px;
}

.product-label.wd-shape-round.out-of-stock {
  max-width: 100% !important;
  font-size: 12px;
}


.wd-tools-icon::before {
  font-size: 30px !important;
}

.wd-product.wd-hover-base:hover .wrapp-swatches {
	display: none !important;
}

/* Wyrównanie ikony i tekstu w jednej linii dla paska informacyjnego */
.wd-header-html .wp-block-columns .wp-block-column {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important; /* Środkuje elementy w kolumnie */
    gap: 8px; /* Odstęp między ikoną a tekstem */
    white-space: nowrap; /* Blokuje łamanie tekstu do nowej linii */
}




@media (max-width: 781px) {
    .wp-block-columns.grid5columns{
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 20px 10px !important; 
    }

    .wp-block-columns.grid5columns > .wp-block-column {
        flex-basis: calc(50% - 5px) !important;
        flex-grow: 0 !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }
}


.wd-product.wd-hover-tiled .wd-swatches-grid {
	display: none !important;
}

.product-label.new {
	display: none !important;
}


.woocommerce-shipping-destination {
	display: none !important;
}


.wd-product-thumb.product-element-top.wd-quick-shop a.wd-product-img-link.product-image-link img{
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		height: 100%;
		object-fit: contain;
}
.wd-product-thumb.product-element-top.wd-quick-shop a.wd-product-img-link{
	width: 100%;
	height: 0;
	padding-top: 100%;
	position: relative;
	background: #FFF;
}

.woocommerce-product-gallery__image a img{
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		height: 100%;
		object-fit: contain;
}

.woocommerce-product-gallery__image {
	width: 100%;
	height: 0;
	padding-top: 100%;
	position: relative;
	background: #FFF;
}



@media (max-width: 1024px) {
.hometopspacer{
	height: 0px !important;
}
	.hometophide {
		display: none !important;
	}
}

.woocommerce-shipping-destination {
	display: none !important;
}