/*--------------------------------------------------------------
# B2B Market
--------------------------------------------------------------*/
.woocommerce small.b2b-rrp {
    display: inline-block;
    font-size: .9rem;
    font-weight: 600;
    padding: .3rem .5rem;
}

.archive.woocommerce small.b2b-rrp {
    margin-bottom: .5rem;
}

[class^="wp-block-woocommerce"] small.b2b-rrp,
.atomion-block small.b2b-rrp,
.related small.b2b-rrp,
.up-sells small.b2b-rrp,
.cross-sells small.b2b-rrp {
    margin-bottom: 1rem;
}

.b2b-single-price del ~ span{
    color: #e84948;
    font-weight: 700;
}

.b2b-single-price del {
    color: #333 !important;
}

.single-product .b2b-single-price del {
    font-weight: initial;
}

#b2b_uid_field .woocommerce-input-wrapper,
#b2b_company_registration_number_field .woocommerce-input-wrapper {
  position: relative;
}

#b2b_uid_field .woocommerce-input-wrapper:before,
#b2b_company_registration_number_field .woocommerce-input-wrapper:before {
  font-family: 'Font Awesome\ 6 Free';
  position: absolute;
  left: 13px;
  bottom: calc(-25%);
  font-size: 1.2em;
  color: #bbbbbb;
  font-weight: 900;
}

body:not(.woocommerce-checkout) #b2b_uid_field .woocommerce-input-wrapper:before {
  content: "\f2c2";
}

body:not(.woocommerce-checkout) #b2b_company_registration_number_field .woocommerce-input-wrapper:before {
  content: "\f187";
}

[id^="b2b_"] input::placeholder,
[id^="b2b_"] input::-webkit-input-placeholder {
    text-transform: uppercase;
}

[id^="b2b_"] input:-moz-placeholder {
    text-transform: uppercase;
}

[id^="b2b_"] input::-moz-placeholder {
    text-transform: uppercase;
}

[id^="b2b_"] input:-ms-input-placeholder {
    text-transform: uppercase;
}

table.bm-bulk-table {
	text-align: center;
	border: 1px solid #ddd;
}

table.bm-bulk-table thead {
	border-bottom: 1px solid #ddd;
}

table.bm-bulk-table td {
	padding: 0.3em 0.6em;
}

table.bm-bulk-table thead td {
	text-transform: uppercase;
	font-weight: 700;
}

@media (max-width: 768px) {
    .woocommerce table.shop_table td.product-price small.bm-percentual-discount,
    .woocommerce table.shop_table td.product-subtotal small.bm-percentual-discount {
      display: block;
      max-width: 50%;
      margin-left: auto;
    }
}  

/*--------------------------------------------------------------
# Cookie Cracker
--------------------------------------------------------------*/
/* Checkbox styling */
input.cc_checkbox {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: none;
} 

input.cc_checkbox:checked + label::before,
input.cc_checkbox:not(:checked) + label::before {
    content:' ';
}


input.cc_checkbox:checked + label::before,
input.cc_checkbox:not(:checked) + label::before {
	cursor: pointer;
	display: inline-block;
	width: 18px;
	height: 18px;
	position: relative;
	top: 4px;
	border: 3px solid #DDDDDD;
	background: white;
	visibility: visible;
	margin-right: 10px;
}

input.cc_checkbox:not(:checked):hover + label::before,
input.cc_checkbox:not(:checked):focus + label::before {
	background:#ddd;
}

.wp-block-embed .cookimize-alternate-text {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.18);
    box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 0.25);
    padding: 2rem;
    line-height: 0;    
}

.wp-block-embed.wp-block-embed-youtube .cookimize-alternate-text {
    position: absolute;
}

/*--------------------------------------------------------------
# Salesman
--------------------------------------------------------------*/
.woocommerce-order-received .woocommerce table.shop_table .product-name .marketpress-salesman-refer-shariff ul {
    width: 100%;
    top: 18px;
    position: relative;
}

.woocommerce-order-received .woocommerce table.shop_table .product-name .marketpress-salesman-refer-shariff li {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    width: 35px;
}

/*--------------------------------------------------------------
# German Market
--------------------------------------------------------------*/
.woocommerce-account form#save_billing_vat_form {
    margin-top: 10px;
    max-width: 50%;
}

@media screen and (max-width: 768px) {
    .woocommerce-account form#save_billing_vat_form {
        max-width: 100%;
    }
}