/*
Theme Name: AMOC
Description: This is a child theme for Flatsome Theme
Author: Surver
Template: flatsome
Version: 3.12.24
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* header */ 

.header-main .dgwt-wcas-search-wrapp.dgwt-wcas-layout-icon .dgwt-wcas-ico-magnifier-handler {
  fill: #1D1D1B!important;
}
.dgwt-wcas-search-icon-arrow {
  display: none!important;
}
.dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit:before {
  display: none!important;
}
.dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
  background: #1D1D1B!important;
}

.dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit .icon-search {
  color: #fff !important;
  line-height: 28px;
}

.dgwt-wcas-om-bar button.dgwt-wcas-om-return, .dgwt-wcas-om-bar button.dgwt-wcas-om-return:active, .dgwt-wcas-om-bar button.dgwt-wcas-om-return:focus, .dgwt-wcas-om-bar button.dgwt-wcas-om-return:hover {
  background: black;
}

.dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit .icon-search:before {
  content: "" !important;
  display: inline-block;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  color: #fff !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11.51 11.38' fill='currentColor'><path d='M11.51,10.54l-2.57-2.57c.63-.83,1.02-1.86,1.02-2.99C9.97,2.24,7.73,0,4.98,0S0,2.24,0,4.98s2.24,4.98,4.98,4.98c1.19,0,2.27-.44,3.13-1.14l2.55,2.55.85-.85ZM1.21,4.98c0-2.08,1.69-3.77,3.77-3.77s3.77,1.69,3.77,3.77-1.69,3.77-3.77,3.77-3.77-1.69-3.77-3.77Z'/></svg>") !important;
  filter: brightness(0) invert(1) !important;
}

.dgwt-wcas-search-input,
.dgwt-wcas-search-input::placeholder {
  font-style: normal !important;
}
.dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
  border-radius: 0!important;
  border: 1px solid black;
}


/* pdp product page */
.ux-swatch--label.disabled {
  background: none!important;
}

.amoc-tax-note {
    font-size: 0.8rem;
	text-transform: uppercase;
	font-style: italic;
}

.single-product .price.b2bking_tiered_active_price {
	display: none;
}
.single-product .b2bking_tiered_range_replaced {
	display: none;
}
.single-product .price .b2bking_tiered_range_replaced  {
	display: inline-block;
}

/* Subscription PDP (WCSATT): labels like variation attribute titles (e.g. CONTENTS); prices same size */
.single-product .wcsatt-options-prompt-radios {
	list-style: none;
	margin: 0 0 1em;
	padding: 0;
}

.single-product .wcsatt-options-prompt-radio {
	margin: 0 0 0.55em;
}

.single-product .wcsatt-options-prompt-label {
	display: flex;
	align-items: center;
	gap: 0.35em 0.6em;
	cursor: pointer;
}

.single-product .wcsatt-options-prompt-action-input {
	appearance: none;
	-webkit-appearance: none;
	width: 14px;
	height: 14px;
	margin: 0;
	flex-shrink: 0;
	align-self: center;
	border: 1.5px solid #1D1D1B;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.single-product .wcsatt-options-prompt-action-input:checked {
	background: #1D1D1B;
	border-color: #1D1D1B;
	box-shadow: none;
}

/*
 * Variable products nest WCSATT inside Flatsome `.woocommerce-variation-price { font-size: 0.8em }`,
 * which shrinks labels/prices vs simple products. Undo that so size matches /product/test/ + CONTENTS.
 */
.single-product .woocommerce-variation-price .wcsatt-options-wrapper {
	font-size: 1.25em; /* 1 / 0.8 */
}

/* Match CONTENTS size path: body 14.4 → label 0.9 → action 0.9 ≈ 11.664px */
.single-product .wcsatt-options-prompt-action {
	font-family: "swiss-721-bold", Helvetica, sans-serif !important;
	font-weight: normal !important;
	font-size: 0.9em !important;
	line-height: 1.35;
	color: #1D1D1B;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

/* Override .single-product .woocommerce-Price-amount { font-size: 18px } */
.single-product .wcsatt-options-prompt-action .price,
.single-product .wcsatt-options-prompt-action .one-time-price,
.single-product .wcsatt-options-prompt-action .subscription-price,
.single-product .wcsatt-options-prompt-action .woocommerce-Price-amount,
.single-product .wcsatt-options-prompt-action .amount,
.single-product .wcsatt-options-prompt-action del,
.single-product .wcsatt-options-prompt-action ins,
.single-product .wcsatt-options-prompt-action .wts-price-wrapper,
.single-product .wcsatt-options-prompt-action .wts-price-excl,
.single-product .wcsatt-options-prompt-action .wts-price-incl {
	font-family: "swiss-721-bold", Helvetica, sans-serif !important;
	font-weight: normal !important;
	font-size: inherit !important;
	line-height: inherit !important;
	letter-spacing: inherit !important;
	color: inherit;
	text-transform: none;
}

/*
 * Customizer Additional CSS forces 18px !important on
 * `.single-product [class*="b2bking"] .woocommerce-Price-amount` — beat that
 * so Single purchase / Subscribe amounts match the 0.9em radio label.
 */
.single-product .wcsatt-options-prompt-action [class*="b2bking"] .price,
.single-product .wcsatt-options-prompt-action [class*="b2bking"] .woocommerce-Price-amount,
.single-product .wcsatt-options-prompt-action [class*="b2bking"] .amount,
.single-product .wcsatt-options-prompt-action .b2bking_both_prices_price .woocommerce-Price-amount,
.single-product .wcsatt-options-prompt-action .b2bking_both_prices_price .amount {
	font-size: inherit !important;
}

.single-product .wcsatt-options-prompt-action .price,
.single-product .wcsatt-options-prompt-action .one-time-price,
.single-product .wcsatt-options-prompt-action .subscription-price,
.single-product .wcsatt-options-prompt-action .woocommerce-Price-amount,
.single-product .wcsatt-options-prompt-action .amount {
	display: inline;
}

/* Keep VAT toggle + a11y helpers working (do not force-show inactive prices) */
.single-product .wcsatt-options-prompt-action .wts-inactive {
	display: none !important;
}

.single-product .wcsatt-options-prompt-action .subscription-details {
	display: inline;
	font-family: "swiss-721-bold", Helvetica, sans-serif !important;
	font-weight: normal !important;
	font-size: inherit !important;
	letter-spacing: 0.12em !important;
	text-transform: uppercase;
	color: inherit;
}

.single-product .wcsatt-options-prompt-action .price del,
.single-product .wcsatt-options-prompt-action .price del .amount {
	opacity: 0.55;
}

/* Hide redundant single-scheme "Deliver" row — prevents layout jump on Subscribe */
.single-product .wcsatt-options-product-wrapper:has(select.wcsatt-options-product-dropdown option:only-child) {
	display: none !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	border: 0 !important;
}

/* Hide tiered pricing UI while SUBSCRIBE FOR is selected */
body.amoc-purchase-subscribe table.b2bking_tiered_price_table,
body.amoc-purchase-subscribe .b2bking_tiered_price_table,
body.amoc-purchase-subscribe [class*="b2bking_tiered_price_table"],
body.amoc-purchase-subscribe .b2bking_tiered_range_replaced,
body.amoc-purchase-subscribe .price.b2bking_tiered_active_price {
	display: none !important;
}

table.b2bking_tiered_price_table tbody td.b2bking_has_color {
	background: #1D1D1B !important;
	background-color: #1D1D1B !important;
	color: #fff !important;
}

table.b2bking_tiered_price_table tbody td.b2bking_has_color,
table.b2bking_tiered_price_table tbody td.b2bking_has_color * {
	color: #fff !important;
}

/*
 * B2BKing both prices: one line ONLY inside WCSATT radio labels.
 * Main product price keeps the plugin’s default stacked RRP / WSP (with <br>).
 */
.single-product .wcsatt-options-prompt-action .price .b2bking_retail_price_price br,
.single-product .wcsatt-options-prompt-action .one-time-price .b2bking_retail_price_price br {
	display: none !important;
}

.single-product .wcsatt-options-prompt-action .b2bking_both_prices_text,
.single-product .wcsatt-options-prompt-action .b2bking_both_prices_price {
	display: inline !important;
}

.single-product .wcsatt-options-prompt-action .b2bking_b2b_price_text {
	margin-left: 0.85em !important;
}

.single-product .wcsatt-options-prompt-action .price:has(> .b2bking_both_prices_text),
.single-product .wcsatt-options-prompt-action .one-time-price:has(> .b2bking_both_prices_text) {
	display: inline !important;
}

.single-product p.in-stock {
	display: none!important;
}

@media screen and (min-width: 850px) {
	.single-product .amoc-sticky-pdp-buybox {
		display: flow-root;
		box-sizing: border-box;
		background: #fff;
	}

	.single-product .amoc-sticky-pdp-buybox.is-fixed {
		position: fixed;
		top: var(--amoc-sticky-pdp-top, 110px);
		left: var(--amoc-sticky-pdp-left, auto);
		width: var(--amoc-sticky-pdp-width, auto);
		z-index: 20;
	}
}


/* variation swatches flatsome */
form.variations_form {
	flex-direction: column;
}
form.variations_form .single_variation_wrap {
	    width: 100%;
    margin-top: 20px;
}
.ux-swatches {
	    margin: 0!important;
}
.variations .reset_variations {
	position: relative; 
	top: 5px;
}
.ux-swatches .ux-swatch--label {
	width: auto;
		border-radius: 2px;
	min-height: 25px;
	box-shadow: var(--wvs-item-box-shadow, 0 0 0 1px #a8a8a8);

}

.ux-swatch--label, .ux-swatch__text {
    text-transform: uppercase;
    font-family: swiss-721-bold, Helvetica, sans-serif !important;
    font-weight: normal !important;
    letter-spacing: .12em;
    font-size: 0.55rem;
    color: #1D1D1B;
}

[data-attribute_name=attribute_pa_contents] .ux-swatch {
  width: auto !important;
}

.variations_form .ux-swatches .ux-swatch.selected {
  box-shadow: 0 0 0 2px #1D1D1B !important;
}
@media (max-width: 849px) {
  .sticky-add-to-cart__product {
    display: grid!important;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 12px;
  }

  .sticky-add-to-cart__product .sticky-add-to-cart-img {
    grid-column: 1;
    grid-row: 1 / span 3;
  }

  .sticky-add-to-cart__product  .product-title-small.hide-for-small {
    grid-column: 2 / 5;
    grid-row: 1;
    margin-bottom: 0;
    display: block!important;
  }
  .sticky-add-to-cart__product .product-title-small {
    margin-right: auto;
    max-width: 500px;
  }
  .single-product .sticky-add-to-cart__product span.amount {
    font-size: 14px!important;
  }
  .sticky-add-to-cart__product .b2bking_retail_price_text {
    grid-column: 2;
    grid-row: 2;
    margin-bottom: 0;
  }

  .sticky-add-to-cart__product .b2bking_retail_price_price {
    grid-column: 3;
    grid-row: 2;
    margin-bottom: 0;
  }

  .sticky-add-to-cart__product .b2bking_b2b_price_text {
    grid-column: 2;
    grid-row: 3;
    margin-bottom: 0;
  }

  .sticky-add-to-cart__product .b2bking_b2b_price_price {
    grid-column: 3;
    grid-row: 3;
    margin-bottom: 0;
  }

  .sticky-add-to-cart__product form.cart,
  .sticky-add-to-cart__product .sticky-add-to-cart-select-options-button {
    grid-column: 4;
    grid-row: 2 / 4;
    margin-bottom: 0;
  }
  }
/* filter side bar */

.amoc-shop-controls {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  margin-top: 0.5em;
}

.amoc-shop-controls .filter-button {
  margin-top: 0;
}

.amoc-shop-controls .category-filter-row,
.amoc-shop-controls .amoc-facetwp-sort {
  width: auto;
  margin: 0;
}

.amoc-shop-controls .category-filter-row {
  display: flex;
  align-items: center;
}

.amoc-shop-controls .facetwp-sort {
  margin-bottom: 0;
}

.amoc-shop-controls select {
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 12px;
}

.amoc-facetwp-sort .facetwp-facet.amoc-facet-collapsed, .amoc-facetwp-sort .facetwp-facet-label.amoc-facet-collapsed {
	display: block!important;
}

.filter-button {
  border: 2px solid #000;
}

.facetwp-facet {
  display: flex;
    flex-wrap: wrap;
    gap: 12px 8px;
	margin-bottom: 0;
	padding-bottom: 40px;
}
.facetwp-facet .facetwp-checkbox {
  background-image: none !important;
  padding-left: 0 !important;
  margin: 0;
}
.facetwp-facet .facetwp-checkbox .facetwp-display-value:hover{
  background: #111827;
  color: #fff;
}

.facetwp-facet .facetwp-checkbox .facetwp-display-value {
  display: inline;
  border: 1px solid #1D1D1B;
  border-radius: 999px;
  padding: 7px;
  cursor: pointer;
  user-select: none;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 10px;
  text-transform: uppercase;
}

.facetwp-facet .facetwp-checkbox.checked .facetwp-display-value {
  background: #111827;
  color: #fff;
  border-color: #111827;
}

.facetwp-facet .facetwp-counter {
  display: none !important;
}


/* cart page */
.shop_table .order-total td, .shop_table .order-total th, .shop_table thead th {
  border-width: 0;
}

.woocommerce-cart .shop_table .woocommerce-shipping-totals {
	display: none;
}

/* brands */
.amoc-brands-list {
	list-style: none;
	margin: 0;
	padding: 0;
	columns: 4;
}

.amoc-brands-list__item {
	margin-bottom: 8px;
	break-inside: avoid;
}

.amoc-brands-list__item a {
	text-decoration: none;
}

@media (max-width: 849px) {
	.amoc-brands-list {
		columns: 3;
	}
}

@media (max-width: 549px) {
	.amoc-brands-list {
		columns: 2;
	}
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

@media screen and (min-width: 850px) {
  .row-divided>.col+.col:not(.large-12) {
      border-left: none!important;
  }
  
.dgwt-wcas-search-form {
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.dgwt-wcas-search-form:before {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;
  bottom: -10px;
  left: -10px;
  background: #fff;
  z-index: -1;
}

}


