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

.wc-product-table-wrapper tbody div.hidden {
	display: none !important;
}
.wc-product-table-multi-form, .multi-cart-check {
	display: none !important;
}
.place-order #place_order {
	display: none;
}
.woocommerce-shipping-totals.shipping th {
	display: none;
}
#shipping_method input.shipping_method {
	float: left !important;
}
.woocommerce-shipping-totals.shipping li label {
	text-align: left;
    padding-left: 39px;
}
.woocommerce-shipping-totals.shipping li {
	border-bottom: 1px solid lightgray;
    padding-bottom: 10px;
}
.wc-product-table .multi-cart {
	padding-right: 0 !important;
}
label span.optional {
	display: none !important;
}
.wc-product-table-wrapper .product-row .col-name a {
		text-decoration: underline;
	}
#ship-to-different-address {
	display: none !important;
}

label[for="shipping_method_0_flat_rate2"]::after,
label[for="shipping_method_0_free_shipping4"]::after {
	content: "Доставка производится по Вт и Пт (9-18). Доставка осуществляется до подъезда, склада, входа в офисное здание. Время доставки согласовывается.";
	display: block;
	font-size: 12px;
	color: gray;
}



.float-link {
	position: fixed;
	right: 20px;
	bottom: 30%;
	z-index: 400;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	border: 1px solid var(--wd-primary-color);
	transition: all 200ms;
	transform-origin: center;

}
.float-link:hover {
	border-color: #df8c4f;
}
.float-link:hover div {
	background: #df8c4f;
}
.float-link div {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: var(--wd-primary-color);
	font-size: 12px;
	font-weight: 500;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 100%;
	text-align: center;
	color: #fff;
	transition: all 100ms;
}
.float-link i {
	display: inline-block
}
.float-link i:after {
	content:"";
	display: block;
}
.float-link .sep {
	/*display: block;*/
	display: none;
	height: 5px;
}

.wd-grid-g {
    align-items: stretch !important;
}

.related-products .wd-product {
    background-color: white;
    border-radius: 10px;
}

@media (min-width: 1024px) {
	.float-link:hover {
		width: 120px;
		height: 120px;
		right: 10px;
		bottom: calc(30% - 10px);
	}
}
@media (max-width: 580px) {
	.checkout-order-review {
		order: -3;
	}
	.wc-product-table-wrapper .col-image {
		padding-left: 0 !important;
		min-width: 125px !important;
	}
	.wc-product-table-wrapper .col-image div {
		min-width: 125px !important;
	}
	.wc-product-table-wrapper thead {
		display: none !important;
	}
	.wc-product-table-wrapper .col-sku {
		display: block !important;
		order: 4;
		min-width: 100%;
		padding-left: 0px !important;
		border-bottom: 1px solid var(--brdcolor-gray-300) !important;
	}
	table td {
		
		border-bottom: 0px !important;
	}
	
	/* Скрыть столбец "Фото" */
    .catalog-table th:nth-child(1),
    .catalog-table td:nth-child(1) {
        display: none;
    }
    /* Скрыть столбец "Артикул" */
    .catalog-table th:nth-child(2),
    .catalog-table td:nth-child(2) {
        display: none;
    }
    /* Скрыть столбец "Купить" */
    .catalog-table th:nth-child(7),
    .catalog-table td:nth-child(7) {
        display: none;
    }
    .elementor-shortcode button.btn.btn-primary.mb-3[onclick="togglePhotoColumn()"] {
        display: none; /* Скрывает кнопку */
    }
	.wc-product-table-wrapper .col-description,
	.wc-product-table-wrapper .col-summary {
		display: none !important;
	}
	.wc-product-table-wrapper .col-sku a {
		    font-weight: 900;
	}
	.wc-product-table-wrapper .product-row .col-name {
		display: block !important;
		order: -4;
		border-bottom: 0px !important;
		padding-left: 0 !important;
		min-width: 320px !important;
	}
	
	.wc-product-table-wrapper table,
	.wc-product-table-wrapper tbody {
	  display:inline-block !important;/* whatever, just  reset table layout display to go further */
	}
	.wc-product-table-wrapper tr {
	  display:flex !important;
	  flex-wrap:wrap !important; /* allow to wrap on multiple rows */
	}
	.wc-product-table-wrapper td {
	  display:block !important;
	  flex:1 !important /* to evenly distributs flex elements */
	}

	.float-link {
		width: 80px;
		height: 80px;
		right: 7px;
		bottom: 120px;
		font-size: 10px;
	}
	.float-link div {
		width: 70px;
		height: 70px;
	}
	.catalog-table th:nth-child(3), .catalog-table td:nth-child(3) {    white-space: normal !important;}
}

/*Временное решение проблемы*/
@media (min-width: 1026px) {
  .menu-item.menu-item-1472 {
    height: 50px !important;
    line-height: 50px !important;
  }
  
  #menu-item-1472 > .color-scheme-dark.wd-design-default.wd-dropdown-menu.wd-dropdown {
    top: 5px !important;
  }
}
