/*
* Custom b2b style
*/

.single_add_to_cart_button.button,
.woocommerce ul.products li.product .button{
  padding: 13px 30px;
  transition: .2s ease-in-out;
  background-color: #e10915 !important;
  color: #fff;
}
.single-product .cpa-product-fields select,
.single-product .cpa-product-fields input {
  border: 1px solid #e8e2de !important;
  -webkit-transition: .3s ease-in-out;
  -o-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
  font-size: 13px;
}
.single-product .cpa-product-fields input {
  padding: 8px 10px;
  border-radius: 5px;
  width: 100%;
}
.woocommerce .single-product .quantity .qty{
  border: 1px solid #e8e2de !important;
  -webkit-transition: .3s ease-in-out;
  -o-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
  font-size: 14px;
  padding: 8px 0px;
  border-radius: 5px;
  width: 70px;
}
.wp-singular.single.single-product article .img-wrapper {
  height: auto;
}
.woocommerce ul.products li.product .onsale {
  display: none;
}
.wc-block-components-product-badge {
  display: none;
}
.b2bking_bulkorder_filter_header.b2bking_bulkorder_filter_header_sortby,
.b2bking_bulkorder_filters_list_sortby,
.b2bking_categories_header_separator,
.b2bking_bulkorder_filter_header.b2bking_bulkorder_filter_header_categories {
  display: none;
}
.woocommerce span.onsale{
  display: none;
}
.wp-singular.single.single-product .content .col-12.col-lg-4 {
  display: none;
}
.wp-singular.single.single-product .content .col-12.col-lg-8 {
  max-width: 100%;
  flex: 0 0 100%;
}
.wp-singular.single.single-product .content time.date {
  display: none;
}
.woocommerce-shop.woocommerce .woocommerce.columns-4 {
  padding: 40px 40px;
}
.wc-block-components-product-badge.wc-block-components-sale-badge {
  display: none;
}
.wp-element-button.wc-block-cart__submit-button.contained{
  padding: 13px 30px;
  transition: .2s ease-in-out;
  background-color: #e10915 !important;
  color: #fff;
}
.wc-block-components-checkout-place-order-button{
  padding: 13px 30px;
  transition: .2s ease-in-out;
  background-color: #e10915 !important;
  color: #fff;
  border: none;
}
.woocommerce-order-received .woocommerce-order-overview__total.total {
  display: none;
}
.woocommerce-order-received .woocommerce-order-overview__email.email {
  border-right: none;
}
.woocommerce-order-received .woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot {
  display: none;
}
.woocommerce-order-received .woocommerce-table__product-table.product-total {
  display: none;
}
.wp-block-woocommerce-product-new.wc-block-product-new {
  display: none;
}
.wp-block-woocommerce-empty-cart-block .wp-block-heading.with-empty-cart-icon.wc-block-cart__empty-cart__title {
  display: block;
}
.wp-block-woocommerce-empty-cart-block .wp-block-heading {
  display: none;
}
.tab_navigation_bar a {
  line-height: 52px;
}
.woocommerce-button.button.order-again.order-actions-button {
  display: none;
}
.woocommerce-order-details .order-again {
  display: none;
}
.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation {  
  width: 20%;
}
.woocommerce-account .woocommerce .woocommerce-MyAccount-content { 
  width: 78%;
}
.cpa-info-icon {
    display: inline-block;
    margin-left: 5px;
    cursor: pointer;
    position: relative;
    font-weight: bold;
    color: #0073aa;
}
.cpa-info-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 6px 8px;
    border-radius: 4px;    
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.1s;
    font-size: 12px;
    z-index: 999;
    width: 280px;
    font-weight: 400;
    padding: 13px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);    
    transition: opacity 0.15s ease-in-out;
}
/* Tooltip arrow (the “pointer”) */
.cpa-info-icon::before {
    content: "";
    position: absolute;
    bottom: 77%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
    opacity: 0;
    transition: opacity 0.15s ease-in-out;
    z-index: 998;
}
/* Show tooltip on hover */
.cpa-info-icon:hover::after,
.cpa-info-icon:hover::before {
    opacity: 1;
}
.cpa-info-icon.show-tooltip::after,
.cpa-info-icon.show-tooltip::before {
    opacity: 1;
}
/* Popup overlay */
.cpa-popup-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
/* Popup box */
.cpa-popup-box {
    background: #fff;
    padding: 20px 25px;    
    width: 800px;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    animation: popin 0.25s ease;
}
@keyframes popin {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
/* Close button */
.cpa-popup-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
}
.cpa-popup-box .cpa-popup-content img {
  padding: 10px;
}
.woocommerce div.product form.cart .button.cpa-popup-trigger,
.b2bking_bulkorder_form_container_content_line .cpa-product-fields .button.cpa-popup-trigger {
  color: #e10915;
  background: transparent;
  font-weight: 400;
  font-size: 14px;
  padding: 8px 0px;
  border: none;
  text-align: left;
}
.cpa-popup-overlay .cpa-popup-content {
  color: #000;
  background: #ffffff;
  border-radius: 14px;
  max-width: 730px;
  margin: 20px auto;
  line-height: 1.7;
}
.cpa-popup-overlay .cpa-popup-content h2 {
    font-size: 26px;
    margin-top: 0;
    color: #1a1a1a;
    font-weight: 600;    
}

.cpa-popup-overlay .cpa-popup-content em {
    display: block;
    font-size: 16px;
    color: #666;    
}

.cpa-popup-overlay .cpa-popup-content img {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
.cpa-popup-overlay .cpa-popup-content p,
.cpa-popup-overlay .cpa-popup-content div {
    margin-bottom: 15px;
}
.cpa-popup-overlay .cpa-popup-content {
    transition: all 0.3s ease;
}

.woocommerce-table__product-table.product-total {
  display: none;
}
.b2bking_bulkorder_form_container_content_line .cpa-product-fields .form-row.form-row-wide select {  
  width: 100%;
}
.cpa-product-fields input {  
  width: 100%;
}
.woocommerce-account h2 {
  text-align: left !important;
  font-size: 24px !important;
  margin-bottom: 8px;
}
.woocommerce-button.button.invoice.order-actions-button {
  background: #e10915 !important;
  font-size: 14px !important;
  border-radius: 0px !important;
  width: auto !important;
  white-space: nowrap;
  color: #fff;
}
.woocommerce .woocommerce-customer-details .woocommerce-customer-details--phone::before {  
  color: #e10915;
}
.woocommerce .woocommerce-customer-details .woocommerce-customer-details--email::before {  
  color: #e10915;
}
.btn1.quote_request_section_btn, .quote_request_section_btn {
  border: 1px solid #e10915;
  background: #e10915;
  color: #fff !important;
  padding: 18px 40px;
  font-size: 20px;
  height: 60px;
}
.quote_request_section {
  align-items: center !important;
}
.quote_request_section_btn::before, .btn1.quote_request_section_btn::before {
  color: #ffffff;
  top: -22px;
}
.woocommerce-Addresses.addresses .woocommerce-Address-title.title {
  box-shadow: none !important;
  position: relative;
}
.woocommerce-MyAccount-content .woocommerce-Addresses.addresses .u-column1.col-1.woocommerce-Address {
  max-width: 49%;
}
.woocommerce-MyAccount-content .woocommerce-Addresses.addresses .u-column2.col-2.woocommerce-Address {
  max-width: 49%;
}
.woocommerce-Addresses.addresses .woocommerce-Address-title.title a.edit {
  float: none;
  text-decoration: underline;
}
.b2bking_add_cart_to_purchase_list_button.button {
  display: none;
  padding: 13px 30px;
  transition: .2s ease-in-out;
  background-color: #000 !important;
  color: #fff;
  border: none;
  font-weight: 500;
  width: 100%; 
}
.b2bking_add_cart_to_purchase_list_button.button:hover {
  background-color: #808080 !important;
}
.cart_page_purchase_list_btn.b2bking_add_cart_to_purchase_list_button.button {
  display: block;
}
.b2bking_bulkorder_form_container_content_header_top.b2bking_bulkorder_form_container_content_header_top_cream.b2bking_orderform_carticon {
  background: #000;
}
.b2bking_bulkorder_form_container_content_header_top.b2bking_bulkorder_form_container_content_header_top_cream.b2bking_orderform_carticon.b2bking_orderform_carticon_inactive {
  background: #b5b5b5;
}
.wc-block-components-sidebar-layout.wc-block-checkout {
  padding: 60px 80px;
}
.wc-block-components-sidebar-layout.wc-block-checkout #payment-method {
  display: none;
}
.wc-block-components-sidebar-layout.wc-block-cart.wp-block-woocommerce-filled-cart-block {
  padding: 20px 80px;
}
.woocommerce-order-received .woocommerce-order {
  padding: 60px 80px;
}
.back_to_order_form_link a.button {
  padding: 13px 30px !important;
  background-color: #000 !important;
  color: #fff !important;
  font-weight: 500 !important;
}
body.woocommerce-cart .back_to_order_form_link {
  padding: 0px 80px;
}
body.woocommerce-cart .back_to_order_form_link a {
  color: #fff;
  font-weight: 500;
  font-size: 15px !important;
  min-width: 210px;  
}
.cart_page_purchase_list_btn {
  max-width: 240px;
  margin-right: 80px;
}
.cpa-error {
    border: 1px solid red !important;
}
.cpa-error-text {
    color: #d63638;
    font-size: 13px;
    margin-top: 4px;
}
.cpa-product-fields input.cpa-error, 
.b2bking_bulkorder_form_container_content_line .cpa-product-fields .form-row.form-row-wide select.cpa-error {
  border: 1px solid #ff0a0a !important;
}