/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.0
 Text Domain:  bricks
*/

/* ================================
   ROOT VARIABLES
================================ */

:root {
  --bricks-border-color: #616161 !important;
}

/* ================================
   GLOBAL FIXES
================================ */

html,
body {
  overflow-x: hidden !important;
}

body.bricks-is-frontend :focus-visible {
  outline: none !important;
}

/* ================================
   ORDER PAGE STYLES
================================ */

.order-header {
  background: #f7f9fb;
  border: 1px solid #e3e6ef;
  border-radius: 8px;
  padding: 1.5em 2em;
  margin-bottom: 2em;
}

.order-meta div {
  margin-bottom: 0.4em;
  display: flex;
  justify-content: space-between;
  font-size: 15px;
}

.order-status {
  background: #e7f3ff;
  color: #0056b8;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 13px;
  text-transform: capitalize;
}

/* ================================
   CART PAGE CONTAINER
================================ */

.cart-page-header,
.woocommerce-cart-form,
.cart-actions,
.cart-collaterals {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

/* ================================
   CART PAGE HEADER
================================ */

.cart-page-header {
  margin-bottom: 32px;
}

.cart-title {
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

/* ================================
   CART ITEMS (CARD STYLE)
================================ */

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-bottom: 16px;
  padding: 1.6rem 1.8rem;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* Image + content */
.cart-item-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}

.cart-item-image img {
  width: 120px;
  border-radius: 10px;
}

/* Title + price */
.cart-item-title a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.75rem;
  letter-spacing: -0.01em;
}

.cart-item-title a:hover {
  text-decoration: underline;
}

.cart-item-price {
  display: block;
  margin-top: 4px;
  font-size: 1.55rem;
  font-weight: 600;
  color: #111;
}

/* ================================
   QUANTITY + REMOVE CONTROLS
================================ */

.cart-item-bottom {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

/* Quantity */
.cart-item-quantity .quantity {
  display: flex;
  align-items: center;
}

.cart-item-quantity .quantity .minus,
.cart-item-quantity .quantity .plus {
  width: 46px;
  height: 46px;
  border: none;
  background: var(--primary);
  color: #333;
  font-size: 1.6rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cart-item-quantity .quantity .minus {
  border-radius: 6px 0 0 6px;
}

.cart-item-quantity .quantity .plus {
  border-radius: 0 6px 6px 0;
}

.cart-item-quantity input.qty {
  width: 70px;
  height: 46px;
  border: 1px solid #ddd;
  text-align: center;
  font-size: 1.6rem;
}

.cart-item-quantity .quantity .minus:hover {
  background: var(--accent-3);
  color: #fff;
}


.cart-item-quantity .quantity .plus:hover {
  background: var(--primary-light);
  color: #fff;
}

/* Remove icon */
.cart-item-remove {
  display: flex;
  align-items: center;
}

.cart-item-remove a {
  width: 46px;
  height: 46px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f1f1;
  color: #777;
  transition: all 0.2s ease;
}

.cart-item-remove a:hover {
  background: var(--accent-2);
  color: white;
}

/* ================================
   COUPON + UPDATE CART
================================ */

.cart-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
  transition: all 0.2s ease;
}

.cart-coupon {
  display: flex;
  gap: 0.6rem;
  max-width: 500px;
  width: 100%;
}

.cart-coupon input {
  flex: 1;
  height: 52px;
  padding: 10px 10px 10px 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 1.6rem;
}

.cart-coupon button {
  height: 52px;
  padding: 0 1.6rem;
  border-radius: 6px;
  background: none;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cart-coupon button:hover {
  background: var(--primary);
}

.button.update-cart {
  height: 52px;
  padding: 0 1.8rem;
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  border: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.button.update-cart:hover {
  background: var(--primary-light));
}

/* ================================
   CART TOTALS (MINIMAL)
================================ */

.cart-collaterals {
  display: flex;
  justify-content: flex-end;
  margin-top: 48px;
  float: none;
}

.cart-totals-card {
  max-width: 520px;
  width: 100%;
  padding: 32px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.cart-totals-heading {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.cart-totals-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-totals-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
}

.cart-totals-row.subtotal {
  font-size: 1.5rem;
  font-weight: 600;
}

.cart-totals-row.subtotal .value {
  font-weight: 700;
}

/* ================================
   CHECKOUT BUTTON
================================ */

.cart-totals-actions {
  margin-top: 24px;
}

.cart-totals-actions a.button,
.cart-totals-actions .checkout-button {
  width: 100%;
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--primary);
  color: #000;
  font-size: 1.5rem;
  font-weight: 400;
  text-align: center;
  transition: all 0.2s ease;
}

.cart-totals-actions a.button:hover {
  background: var(--primary-light);
}

/* ================================
   MOBILE
================================ */

@media (max-width: 900px) {
  .cart-item {
    flex-direction: column;
    text-align: center;
  }

  .cart-item-left {
    flex-direction: column;
  }

  .cart-coupon {
    flex-direction: column;
	max-width: 100%;
  }

  .button.update-cart {
    width: 100%;
  }

  .cart-collaterals {
    justify-content: stretch;
  }

  .cart-totals-card {
    max-width: 100%;
  }

  .cart-title {
    font-size: 1.9rem;
  }
}

.wpmozo_wishlist_enabled .wpmozo_wishlisted_product .wpmozo_wishlisted_product_image img {
    width: auto !important;
    height: auto !important;
    max-height: 80px !important;
}

.wpmozo_wishlisted_product {
    display: flex !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
    align-items: center !important;
    text-decoration: none !important;
}

.wpmozo_wishlisted_products_wrapper,
.wpmozo_wishlists,
.wpmozo_wishlisted_product {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
  margin-right: 0px !important;
  margin-top: 14px;
  text-decoration: none !important;
}

.wpmozo_wishlisted_products_wrapper[style] {
  width: 100% !important;
  max-width: 100% !important;
}

.wpmozo_wishlist_enabled .wpmozo_wishlists .wpmozo_remove_wishlisted_product {
  position: relative !important;
  top: 0 !important;
  right: 0 !important;
  text-decoration: none !important;
}

.wpmozo_wishlist_enabled .wpmozo_wishlists .wpmozo_wishlisted_product .wpmozo_wishlisted_product_image, .wpmozo_wishlist_enabled .wpmozo_wishlists .wpmozo_wishlisted_product .wpmozo_wishlisted_product_title {
  margin-bottom: 0px !important;
  text-decoration: none !important;
  font-size: 1.4rem !important;
}

.wpmozo_wishlist_enabled .wpmozo_wishlists .wpmozo_wishlisted_product .add_to_cart_button, .wpmozo_wishlist_enabled .wpmozo_wishlists .wpmozo_wishlisted_product .button {
  margin: 0px !important;
  width: 170px;
  color: 000;
  background-color: var(--primary);
  font-weight: 400;
  border-radius: 5px !important;
  text-decoration: none !important;
}

.wpmozo_wishlists p.product.woocommerce.add_to_cart_inline {
  width: auto !important;
  max-width: none !important;
  display: inline-flex;
  align-items: center;
  border-radius: 5px !important;
  text-decoration: none !important;
  color: #000 !important;
}

.wpmozo_wishlists .wpmozo_wishlisted_product a.added_to_cart {
  display: none !important;
}

.state_button {
	background-color: #ffffff00;
	margin-bottom: 30px !important;
}

.create_account_wrapper {
	border-top: 1px solid #eee !important;
	padding-top: 30px !important;
	display: flex !important;
	flex-direction: column !important;
	row-gap: 10px !important;
}

.create_account_btn {
	border: 1px solid #eee !important;
	border-radius: 5px !important;
	background-color: #f4f4f4 !important;
	padding: 12px !important;
	width: 100% !important;
	display: flex !important;
	justify-content: center !important;
}

.create_account_container h4 {
	font-size: 1.6rem !important;
	font-weight: 600 !important;
}

.jet-form-builder__submit {
    margin-bottom: 10px;
}

.rwmb-password-wrapper .show-icon {
	background-color: white !important;
}

.rwmb-input-group-text {
	background-color: white !important;
}

#customer_login .col-2 {
  display: none;
}

#customer_login .col-1 {
  width: 50%;
}

@media (max-width: 991px) {
	#customer_login .col-1 {
  width: 100%;
}
}

.woocommerce-account #customer_login.col2-set {
	display: flex;
	width: 100%;
	justify-content: center;
}

#customer_login .woocommerce-form-login {
		border-style: none;
		padding: 0;
}

.woocommerce-order-details table tfoot {
	background-color: white;
}

.wc-item-meta {
    display: none;
}

.wc-item-meta p {
    display: none;
}

.product-content {
    margin-left: 70px;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
}

.builder_instructions {
    display: none;
}

.item_price_title {
    width: 25% !important;
    text-align: right !important
}

.item_price_content {
    width: 25% !important;
    text-align: right !important
}

.item_quantity_content {
    width: 5% !important;
}

.item_product_content {
    width: 70% !important;
}

.item_subtoltal_content {
    padding: 12px 0px 12px 0px !important;
}

.item_shipping_content {
    padding: 12px 0px 12px 0px !important;
}

.item_payment_method_content {
    padding: 12px 0px 12px 0px !important;
}

.item_total_content {
    padding: 12px 0px 12px 0px !important;
}

.woocommerce-account .woocommerce-ResetPassword {
	width: 50%;
}

button {
	font-weight: 400 !important;
}


.cart-collaterals .wc-proceed-to-checkout .button {
	line-height: 0;
	font-weight: 400;
	font-size: 1.6rem;
}

#remember_me {
  margin-top: 10px;
  border-radius: 50px !important;
}

#remember_me_1 {
  margin-top: 10px;
  border-radius: 50px !important;
}

.wp-block-columns {
	margin: 0;
}

@media only screen and (max-width: 781px) {
    :where(.wp-block-columns.is-layout-flex) {
        gap: 0 !important;
    }
}

.wp-block-heading {
	margin-bottom: 6px;
}

/* Info notice */
.woocommerce-info {
    background-color: rgba(0, 0, 0, 0.0) !important;
    color: #000000 !important;
    border-style: none !important;
		padding: 0px !important;
}

/* Success notice */
.woocommerce-message {
    background-color: rgba(0, 0, 0, 0.0) !important;
    color: #217a00 !important;
    border-style: none !important;
		padding: 0px !important;
}

/* Error notice */
.woocommerce-error {
    background-color: rgba(0, 0, 0, 0.0) !important;
    color: #b81c23 !important;
    border-style: none !important;
		padding: 0px !important;
}

.bricks-button {
	transition: all 0.2s;
}

.jet-form-builder__field-wrap.checkradio-wrap span {
	color: black;
}

.woocommerce .product .wpmozo_add_to_wishlist_button, .woocommerce .product .wpmozo_add_to_wishlist_button.wpmozo_wishlisted, .woocommerce .product .wpmozo_add_to_wishlist_button.wpmozo_wishlisted:hover, .woocommerce .product .wpmozo_add_to_wishlist_button:hover, .woocommerce .woocommerce-cart-form__cart-item .wpmozo_move_to_wishlist_button, .woocommerce .woocommerce-cart-form__cart-item .wpmozo_move_to_wishlist_button.wpmozo_wishlisted, .woocommerce .woocommerce-cart-form__cart-item .wpmozo_move_to_wishlist_button.wpmozo_wishlisted:hover, .woocommerce .woocommerce-cart-form__cart-item .wpmozo_move_to_wishlist_button:hover, .wpmozo_wishlist_enabled .wpmozo_add_to_wishlist_button, .wpmozo_wishlist_enabled .wpmozo_add_to_wishlist_button.wpmozo_wishlisted, .wpmozo_wishlist_enabled .wpmozo_add_to_wishlist_button.wpmozo_wishlisted:hover, .wpmozo_wishlist_enabled .wpmozo_add_to_wishlist_button:hover {
	font-size: 2rem !important;
}