.woocommerce-cart-form table {
    border-spacing: 0 1em;
    border-collapse: separate;
}
.woocommerce-cart-form table tr {
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
}
.woocommerce-cart-form table.shop_table td {
    vertical-align: top;
    padding: 15px;
    border: 0;
}
.woocommerce-cart-form .form input[type="date"],
.woocommerce-cart-form .form input[type="time"],
.woocommerce-cart-form .form input[type="text"],
.woocommerce-cart-form .form select {
    width: 100%;
    max-width: 100%;
    padding: 6px 10px;
    margin-bottom: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.woocommerce-cart-form .form .w100 {
    width: 100%;
}
.woocommerce-cart-form .mkad_block.hidden {
    display: none;
}
.woocommerce-cart-form .decoration select {
    margin-bottom: 6px;
    width: 100%;
}
.woocommerce-cart-form .decoration {
    font-size: 14px;
    line-height: 1.4;
}
.woocommerce-cart-form .decoration h3 {
    margin-top: 0;
    font-size: 16px;
}
.woocommerce-cart-form .ib-mb {
    margin-bottom: 15px;
}
.woocommerce-cart-form td.product-subtotal {
    vertical-align: bottom;
    text-align: right;
    font-size: 16px;
    font-weight: 500;
}
a.checkout-button.button.alt.wc-forward {
    width: 100%;
	 font-size: 16px;
    font-weight: 500;
}
.shop_table tr :is(td,th):last-child {
    padding-inline-end: 16px !important;
    text-align: left;
}
.shop_table tr :is(td,th):first-child {
    padding-inline-start: 16px !important;
}
tr.cart-subtotal {
    display: none !important;
}

.cart_totals {
    background: #f6f6f6;
    padding: 16px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
	margin-top: 16px;
}
input[type="time"] {
    padding: 0 15px;
    width: 100%;
    min-width: 100%;
    height: var(--wd-form-height);
    border: var(--wd-form-brd-width) solid var(--wd-form-brd-color);
    border-radius: var(--wd-form-brd-radius);
    background-color: var(--wd-form-bg);
    box-shadow: none;
    color: var(--wd-form-color);
    vertical-align: middle;
    font-size: 14px;
    transition: border-color 0.5s ease;
}

/* Desktop */
img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
    width: 100%;
    border-radius: 10px 10px 0 0;
}

td.cart-image-td {
    max-width: 150px;
    padding-inline-start: 16px !important;
}
td.cart-decor-td {
    background: #d6d6d636;
    border-radius: 0px;
    padding-inline-end: 16px !important;
    text-align: left !important;
}
.cart-decor-title
{
	font-size: 16px;
    font-weight: 500;
    width: 100%;
    color: #000;
}
.row-subtotal td {
    text-align: right;
    background: #d9544d;
    border-radius: 8px;
    padding-inline-end: 16px !important;
    padding-inline-start: 16px !important;
    color: white;
}

input.w100 {
    margin-bottom: 8px;
}
.decor-flex-item {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}
.decor-flex-item select {
    max-width: 45%;
    margin-bottom: 8px;
}
.decor-flex-item-label {
    text-align: left;
}
/* Инфо об авто*/
a.remove {
    background: var(--e-global-color-primary);
    color: white;
    padding: 8px;
    width: 100%;
    max-width: 100%;
    display: block;
    border-radius: 0 0 10px 10px;
    text-align: center;
	font-size: 12px !important;
}

.info-flex {
    display: flex;
    align-items: flex-start;
	gap: 8px;
    flex-direction: column;
    margin-top: 5px;
    font-size: 13px;
	background: #f6f6f6;
    padding: 8px;
    border-radius: 8px;
}
.info-row {
	width: 100%;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    flex-wrap: nowrap;
}
.info-label {
    font-weight: 500;
    color: #444;
}
.info-value {
    min-width: 50px;
}
.btn-to-checkout
{
	font-size: 16px;
    font-weight: 500;
}

/* Поля бронирования */
.cart-booking-fields {
    display: flex;
    gap: 8px;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-around;
    align-items: baseline;
    width: 100%;
}
.cart-booking-date-time
{
	display: flex;
    gap: 8px;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: nowrap;
    align-content: stretch;
    flex-direction: row;
}
.booking-date
{
	flex: 1;
	width: calc(40% - 4px);
	min-width: calc(40% - 4px);
}
.booking-time
{
	flex: 1;
	width: calc(30% - 4px);
	min-width: calc(30% - 4px);
}

/* Mobile */
@media (max-width: 768.98px) {
	.shop_table_responsive tr {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 0px !important;
        margin-bottom: 15px;
        padding-bottom: 0px !important; 
        border-bottom: 1px solid var(--brdcolor-gray-300);
    }
    img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
        width: 100%;
        border-radius: 10px 10px 0 0;
    }
    a.remove {
        background: var(--e-global-color-primary);
        color: white;
        padding: 8px;
        width: 100%;
        display: block;
        border-radius: 0 0 10px 10px;
        max-width: 100%;
        text-align: center;
    }

    td.cart-image-td {
        max-width: 100%;
        padding-inline-start: 16px;
    }
    td.cart-decor-td {
        background: #d6d6d636;
        border-radius: 0px;
        padding-inline-end: 16px !important;
        text-align: left !important;
    }
    .cart-totals-inner .checkout-button {
        width: 100%;
    }
	.cart-booking-date-time
	{
		width: 100%;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: space-between;
	}
	.booking-date
	{
		flex: 1;
    	width: 100%;
   		min-width: 100%;
	}
	.booking-time
	{
		flex: 1 1 calc(40% - 8px);
        display: flex;
        width: calc(40% - 8px);
        min-width: calc(40% - 8px);
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: space-around;
		box-sizing: border-box;

	}
}
