.woocommerce #main {
    padding: 90px 5%;
    margin: 0 auto;
}

/* overriding button styles */
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.primary-btn,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.secondary-btn {
    display: inline-block;
    color: #fff;
    padding: 16px 64px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.primary-btn {
    background: var(--cta);    
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.secondary-btn {
    background: var(--primary);    
}

/* shop/archive pages */
/* category/subcategory */
.woocommerce.category-page #main ul.products li.product-category.product {
	width: 100%;
	border-bottom: none;
	text-align: center;
	background-color: #efefef;
	padding: 20px;
	margin: 0;
	border: 1px solid #ddd;
}

.woocommerce-page.category-page #main ul.products li.product:nth-child(odd) {
    background-color: #fff;
}

.woocommerce.category-page ul.products li.product a img {
    display: none;
}

.woocommerce ul.products li.product a.button {
    display: none;
}

.product-list-table .product-attributes > a {
    display: flex;
	justify-content: space-between;
}

body.woocommerce ul.products {
    margin: 0 auto;
}

body.woocommerce.category-page ul.products {
	display: flex;
	flex-wrap: wrap;
}

div#category-table-header {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    background-color: var(--cta);
    color: #fff;
    font-size: 22px;
    padding: 5px 10px;
}

div#category-table-header > span {
    width: 50%;
}

.woocommerce ul.products li.product span.price {
    display: none;
}

.woocommerce p.woocommerce-result-count {
    float: none;
}

.product-list-table .product-attributes > a span {
    width: 100%;
}

.product-list-table .product-attributes a span.product-name {
    font-weight: 700;
}

.product-list-table .product-attributes .oem p {
    margin-bottom: 0;
}

span.product-name > span {
    display: block;
    font-style: italic;
    font-weight: 400;
    font-size: 16px;
}

.product-list-table .product-attributes > a:hover span {
    color: var(--cta);
}

.woocommerce.product-list-page #main ul.products li.product, 
.woocommerce-page.product-list-page #main ul.products li.product,
.search-results #main ul.products li.product {
    width: 100%;
}

.product-filters {
    display: flex;
    flex-wrap: wrap;
    padding: 45px 50px;
    background-color: #ccc;
}

.product-filters h3 {
    width: 100%;
}

.filter-item.facet-wrap {
	width: calc(33% - 40px);
    margin: 0 20px;
}

.woocommerce-page ul.products li.product:nth-child(even) {
    background-color: #efefef;
}

/* styles for main shop page and not subcategories */
/* .woocommerce.post-type-archive #main ul.products li.product, 
.woocommerce-page.post-type-archive #main ul.products li.product, */
.woocommerce-page.term-airbus #main ul.products li.product,
.woocommerce-page.term-bell-helicopters #main ul.products li.product,
.woocommerce-page.term-md-helicopters #main ul.products li.product,
.woocommerce-page.term-schweizer-helicopters #main ul.products li.product {
    width: 20.5%;
	border-bottom: 0;
}

.woocommerce.post-type-archive ul li.product:nth-child(even),
.woocommerce.term-airbus ul li.product:nth-child(even),
.woocommerce.term-bell-helicopters ul li.product:nth-child(even), 
.woocommerce.term-md-helicopters ul li.product:nth-child(even),
.woocommerce.term-schweizer-helicopters ul li.product:nth-child(even) {
    background-color: #fff;
}

/* .post-type-archive div#category-table-header, */
.term-airbus div#category-table-header,
.term-bell-helicopters div#category-table-header,
.term-md-helicopters div#category-table-header,
.term-schweizer-helicopters div#category-table-header {
    display: none;
}

.woocommerce mark.count {
    display: none;
}

.woocommerce.post-type-archive ul.products li.product h2.woocommerce-loop-category__title {
    text-align: center;
    font-size: 24px;
}

/* filter styling */

.woocommerce-shop .facetwp-type-dropdown {
    position: relative;
}

.woocommerce-shop .facetwp-type-dropdown::before {
    background: var(--cta);
    content: '';
    width: 36px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    pointer-events: none;
}

.woocommerce-shop .filter-item select.facetwp-dropdown {
    padding: 8px;
    border: 1px solid #000;

}

.woocommerce-shop .facetwp-type-dropdown::after {
    background: url(/wp-content/uploads/chevron-down-sharp-solid-full.svg);
    content: '';
    width: 16px;
    height: 14px;
    position: absolute;
    right: 10px;
    top: 14px;
    background-repeat: no-repeat;
    background-size: cover;
    pointer-events: none;
}

@media only screen and (max-width: 768px) {
	.woocommerce.category-page #main ul.products li.product-category.product {
		width: 45%;
		margin: 10px;
	}
	
	.woocommerce-page table.shop_table_responsive tr td.product-subtotal, 
	.woocommerce-page table.shop_table_responsive tr td.product-price {
		display: none;
	}
}

@media only screen and (max-width: 500px) {
	.woocommerce.category-page #main ul.products li.product-category.product {
		width: 100%;
	}
}

/* Product list pages */

.woocommerce.product-list-page ul li.product {
    border-bottom: 1px solid #000;
    margin-bottom: 0!important;
    padding: 5px 10px;
}

.woocommerce.product-list-page ul li.product .product-name a {
    color: var(--cta);
    text-decoration: underline;
}

.woocommerce.product-list-page #main div.product {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around; 
}

.product_meta {
    padding-left: 60px;
	display: flex;
    flex-direction: column;
}

.woocommerce.single-product .product .yith-ywraq-add-to-quote {
    margin: 0 10px;
}

.single_variation_wrap {
    display: flex;
    align-items: flex-start;
}

.woocommerce-page div.product .summary.entry-summary {
    float: none;
}

.woocommerce-page #main  div.product .woocommerce-tabs {
    width: 100%;
}

.woocommerce div.product h1.product_title.entry-title {
    background: var(--cta);
    padding: 20px 10px;
    color: #fff;
    margin-bottom: 0;
	padding-bottom: 8px;
}

.woocommerce div.summary table.shop_attributes th {
    width: 25%;
	padding: 10px;
}

.woocommerce div.summary table.shop_attributes tr {
    border: 1px solid #dddddd;
}

button.single_add_to_cart_button.button {
    background-color: var(--primary)!important;
    float: none!important;
	height: 45px;
}

.woocommerce div.quantity input {
    padding: 10px;
	height: 45px;
}

.woocommerce div.product div.images img {
    border: 5px solid #ddd;
}

.woocommerce p.price {
    display: none;
}

table.variations tr th {
    width: 25%;
/*     padding-left: 60px; */
}

table.variations tr td {
    width: 75%;
}

.woocommerce-variation-add-to-cart {
    padding-left: 60px;
}

.aircraft-model-input,
.aircraft-serial-input {
    display: flex;
	padding: 0.5em;
}

.aircraft-model-input {
    border-bottom: 1px solid #eee;
}

.aircraft-model-input label,
.aircraft-serial-input label {
    width: 25%;
    font-weight: 700;
}

input#aircraft-model-field,
input#serial-field-input {
    width: 75%;
}

.aircraft-model-input label span,
.aircraft-serial-input label span {
    font-size: 12px;
    color: var(--cta);
    font-style: italic;
}

.woocommerce div.summary table.shop_attributes tr.diagram-number {
    background-color: var(--cta);
    color: #fff;
}

.single-product .summary.entry-summary .product-note {
    font-style: italic;
}

a.add-request-quote-button.button {
    margin-top: 0!important;
}

.woocommerce.single-product .product .yith-ywraq-add-to-quote {
    margin-top: 0!important;
}

/* cart/checkout */
.wc-block-cart__submit-container {
    background-color: var(--cta);
    border-radius: 5px;
}

span.wc-block-components-button__text {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}

form.woocommerce-cart-form thead {
    background-color: var(--primary);
    color: #fff;
}

form.woocommerce-cart-form a {
    color: var(--ctaalt)
    
}

th.product-price, td.product-price {
    display: none;
}

th.product-subtotal, td.product-subtotal {
    display: none;
}

.woocommerce-cart table.cart img {
    width: 20%;
}

th.product-thumbnail {
    width: 20%;
}

.woocommerce-cart table.cart td.product-thumbnail img {
    width: 100%;
}

.wc-proceed-to-checkout a.checkout-button {
    background-color: var(--ctaalt)!important;
}

.woocommerce td.product-name dl.variation dt.variation- {
    display: none;
}

.woocommerce-checkout span.wc-block-formatted-money-amount,
.woocommerce-checkout .wc-block-components-totals-item.wc-block-components-totals-footer-item,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-totals-block {
    display: none;
}

.wc-block-components-order-summary__content {
    font-size: 14px;
	margin-bottom: 16px;
}

.wc-block-components-product-name {
    font-size: 16px;
}

.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item .wc-block-components-product-metadata .wc-block-components-product-details.wc-block-components-product-details {
    font-size: 14px;
}

.woocommerce-checkout .wc-block-components-totals-wrapper {
    padding: 0;
}

.wc-proceed-to-checkout a {
    width: fit-content;
    text-transform: uppercase;
	float: right;
}

span.cart-product-note, span.cart-installation {
    display: block;
    font-size: 80%;
}

#yith-ywraq-form .product-name ul li {
    margin-bottom: 0;
}

button#place_order {
    background-color: var(--cta)!important;
}

div#payment {
    background-color: #efefef!important;
}

form.checkout.woocommerce-checkout {
    display: flex;
}

td.product-total {
    display: none;
}

#order_review tfoot {
    display: none;
}

th.product-total {
    display: none;
}

div#customer_details > div {
    width: 100%;
}

div#order_review {
    margin: 0 20px;
}

h3#order_review_heading {
    display: none;
}

div#order_review::before {
    content: "Your RFQ";
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Barlow', sans-serif;
}

.woocommerce table.shop_table.woocommerce-checkout-review-order-table {
    padding: 20px;
    background-color: #efefef;
}

.woocommerce table.shop_table.woocommerce-checkout-review-order-table tbody {
    background-color: #fff;
    border: 1px solid var(--primary)!important;
}

.woocommerce table.shop_table.woocommerce-checkout-review-order-table thead {
    display: none;
}

.product-name dl.variation {
    margin-top: 0;
}

li.woocommerce-order-overview__total.total {
    display: none;
}

.woocommerce-checkout td.product-name {
    position: relative;
	width: 100%;
}

.woocommerce-checkout strong.product-quantity {
    position: absolute;
    top: 12px;
    right: 10%;
}

.woocommerce-checkout tfoot {
    display: none;
}

/* single product page */
.woocommerce.single-product #main .type-product {
    display: flex;
}

.woocommerce.single-product #main .type-product a.wc-product-image {
    width: 50%;
    height: fit-content;
    border: 1px solid #efefef;
}

.single-product form.variations_form.cart label::after {
    content: " *required";
    color: var(--cta);
    font-size: 12px;
    font-style: italic;
    position: relative;
    display: block;
}

div.product-note {
    background-color: var(--cta);
    color: #fff;
    padding-left: 10px;
}

td.woocommerce-product-attributes-item__value ul {
    padding: 8px 0;
}

@media only screen and (max-width: 768px) {
	.woocommerce.single-product #main .type-product {
		flex-direction: column;
	}

	.woocommerce.single-product #main .type-product a.wc-product-image {
		border: 1px solid #efefef;
		width: 100%;
	}
}

@media only screen and (max-width: 600px) {
	.woocommerce div.summary table.shop_attributes th,
	.woocommerce div.product form.cart .variations th {
		padding-left: 0;
		width: 30%;
		word-break: auto-phrase;
	}

	.woocommerce div.product h1.product_title.entry-title {
		height: auto;
	}
	
	.woocommerce table.shop_attributes td p {
		word-break: break-word;
	}
}