/**
 * WooCommerce overrides
 */

/* Related products */
.woocommerce .related.products {
  clear: both;
}

/* Product sales badge */
.woocommerce span.onsale {
  align-items: center;
  background-color: #FFED00;
  color: #000;
  display: flex;
  height: 64px;
  justify-content: center;
  line-height: 1;
  text-transform: uppercase;
  width: 64px;
}

/* Original price */
.woocommerce div.product p.price del,
.woocommerce div.product span.price del,
.woocommerce ul.products li.product .price del {
  color: #fff;
}

/* Discounted price */
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins,
.wc-block-components-product-price__value.is-discounted {
  background: none;
  padding: 0 0.25em;
}

/* Price */
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) ul.products li.product .price {
  color: #fff;
}

/* Stock status */
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .stock {
  color: #fff;
}

/* Variation dropdowns and quantity input */
.woocommerce div.product form.cart .variations select,
.woocommerce .quantity .qty {
  border-radius: 0;
}

/* Product attributes */
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
  border: none;
}
.woocommerce table.shop_attributes td {
  font-style: normal;
}

/* Add to basket button */
.single-product .product .single_add_to_cart_button.button,
.woocommerce .product .add_to_cart_button.button {
	background-color: #1B74E4;
  border-radius: 0;
	color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 12px 15px;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
}
.single-product .product .single_add_to_cart_button.button:hover,
.woocommerce .product .add_to_cart_button.button:hover {
  background: linear-gradient(0deg, rgba(0,0,0,0.2), rgba(0,0,0,0.2)), #1B74E4;
}

/* Add to basket button - loading */
.woocommerce .product .add_to_cart_button.button.loading {
  padding-right: calc(15px + 16px + .53em);
}

/* Add to basket button - loading spinner */
.woocommerce .product .add_to_cart_button.button.loading::after {
  top: 12px;
}

/* Add to basket button - added */
.woocommerce a.added_to_cart {
  display: none;
}

/* Product tile - category and product titles */
.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3 {
  font-weight: bold;
}

/* Category tile - product count */
.woocommerce-loop-category__title mark {
  display: none;
}

/* Basket/checkout pages - main component */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: none !important;
}

/* Basket/checkout pages - express checkout */
.wc-block-components-express-payment--checkout {
  margin-top: 0 !important;
}
.wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container {
  left: auto !important;
  position: relative !important;
  right: auto !important;
  top: auto !important;
  vertical-align: baseline !important;
}
.wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container::before,
.wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container::after {
  content: none !important;
}
.wc-block-components-express-payment--checkout .wc-block-components-express-payment__title {
  transform: none !important;
}
.wc-block-components-express-payment--checkout .wc-block-components-express-payment__content {
  padding: 20px 0 24px !important;
}

/* Basket/checkout pages - checkout buttons */
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
  background: #1B74E4;
  border: none;
  border-radius: 0;
  box-shadow: none !important;
  color: #fff;
  font-family: 'Dosis';
  font-size: 16px;
  font-weight: bold;
  padding: 12px 15px;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
}
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover {
  background: linear-gradient(0deg, rgba(0,0,0,0.2), rgba(0,0,0,0.2)), #1B74E4;
  color: #fff;
}

/* Basket/checkout pages - product badge */
.wc-block-components-product-badge {
  font-size: 0.5em !important;
}

/* Basket/checkout pages - product metadata */
.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-metadata,
table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-metadata,
.wc-block-components-order-summary .wc-block-components-order-summary-item .wc-block-components-product-metadata {
  margin-bottom: 0 !important;
}

/* Basket/checkout pages - product details */
.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-details li,
table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-details li,
.wc-block-components-order-summary .wc-block-components-order-summary-item .wc-block-components-product-details li {
  list-style-type: none;
}

/* Basket/checkout pages - product description */
.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-metadata__description,
table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-metadata__description,
.wc-block-components-order-summary .wc-block-components-order-summary-item .wc-block-components-product-metadata__description {
  display: none;
}

/* Basket/checkout pages - product price */
.wc-block-components-product-price {
  color: #fff;
}

/* Basket/checkout pages - product total price */
.wc-block-cart-item__total,
.wc-block-components-order-summary-item__total-price {
  color: #fff;
  /* font-weight: bold; */
}

/* Basket page - product quantity */
.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity {
  border: none;
}

/* Basket page - product title */
.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name,
table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name {
  box-shadow: none;
}

/* Basket page - low stock badge */
.wc-block-components-product-low-stock-badge {
  display: none !important;
}

/* Basket page - sale badge */
.wc-block-components-sale-badge {
  display: none !important;
}

/* Basket page - sticky checkout button on mobile */
.wc-block-components-totals-shipping__fieldset .wc-block-components-radio-control__option {
  border-bottom: 1px solid hsla(0,0%,7%,.11);
  margin: 0;
  padding: .75em 0 .75em 3.5em;
}

/* Basket page - sticky checkout button on mobile */
@media (max-width: 782px) {
  .wc-block-cart .wc-block-cart__submit-container--sticky:before {
    color: #000 !important;
  }
}

/* Checkout page - delivery method selector */
.edit-post-visual-editor .wc-block-checkout__shipping-method-option,
.wc-block-checkout__shipping-method-option {
  border-radius: 0 !important;
  outline: 1px solid transparent !important;
}
.edit-post-visual-editor .wc-block-checkout__shipping-method-option.components-button:focus:not(:disabled),
.edit-post-visual-editor .wc-block-checkout__shipping-method-option.components-button:hover:not(:disabled),
.edit-post-visual-editor .wc-block-checkout__shipping-method-option:focus,
.edit-post-visual-editor .wc-block-checkout__shipping-method-option:hover,
.wc-block-checkout__shipping-method-option.components-button:focus:not(:disabled),
.wc-block-checkout__shipping-method-option.components-button:hover:not(:disabled),
.wc-block-checkout__shipping-method-option:focus,
.wc-block-checkout__shipping-method-option:hover,
.edit-post-visual-editor .wc-block-checkout__shipping-method-option.wc-block-checkout__shipping-method-option--selected,
.wc-block-checkout__shipping-method-option.wc-block-checkout__shipping-method-option--selected {
  color: #fff !important;
  outline-color: #fff !important;
}
