/* Cart — Figma Innerpages Shopping Cart. 1728 band, 64 vertical, 1566 inner. */

.site-main--cart,
body.woocommerce-cart,
body.woocommerce-cart.woocommerce,
body.woocommerce-cart.woocommerce-page {
  background: #fff;
  color: #000;
}

body.woocommerce-cart .woocommerce,
body.woocommerce-cart.woocommerce-page {
  color: #000;
}

.site-main--cart {
  width: 100%;
}

.cart-board {
  box-sizing: border-box;
  width: 100%;
  padding: 64px 81px;
  background: #fff;
  color: #000;
}

.cart-board .woocommerce,
.cart-board .woocommerce-cart-form,
.cart-page {
  color: #000;
}

.cart-page {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 1566px;
  margin: 0 auto;
  gap: 24px;
}

.cart-back {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  color: #a78359;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
}

.cart-back:hover,
.cart-back:focus {
  color: #8a6c3e;
}

.cart-back__icon {
  display: block;
  width: 24px;
  height: 12px;
  transform: scaleX(-1);
}

.cart-board .woocommerce-notices-wrapper {
  width: 100%;
}

.cart-board .woocommerce-notices-wrapper:empty {
  display: none;
}

body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error,
.cart-board .woocommerce-message,
.cart-board .woocommerce-info,
.cart-board .woocommerce-error {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 12px 16px 12px 48px;
  background: #e5dacd !important;
  border: 0;
  border-top: 0;
  color: #3d2e1e !important;
  list-style: none;
}

body.woocommerce-cart ul.woocommerce-error,
.cart-board ul.woocommerce-error {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}

body.woocommerce-cart ul.woocommerce-error li,
.cart-board ul.woocommerce-error li {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  color: #3d2e1e !important;
}

.cart-board .woocommerce-message::before,
.cart-board .woocommerce-info::before,
.cart-board .woocommerce-error::before,
body.woocommerce-cart .woocommerce-error::before {
  color: #a78359 !important;
}

body.woocommerce-cart .woocommerce-error a,
.cart-board .woocommerce-message a,
.cart-board .woocommerce-info a,
.cart-board .woocommerce-error a {
  color: #8a6c3e !important;
}

body.woocommerce-cart .wc-block-components-notice-banner,
body.woocommerce-cart .wc-block-components-notice,
.cart-board .wc-block-components-notice-banner,
.cart-board [role="alert"],
.cart-page .coupon [role="alert"],
.cart-page .coupon .woocommerce-error,
.cart-page .coupon .woocommerce-info,
.cart-page .coupon .woocommerce-message,
.cart-page .cart-toolbar .woocommerce-error,
.cart-page .cart-toolbar .woocommerce-info,
.cart-page .cart-toolbar .woocommerce-message {
  box-sizing: border-box;
  flex: 1 0 100%;
  width: 100%;
  margin: 0;
  padding: 12px 16px;
  background: #e5dacd !important;
  border: 0 !important;
  color: #3d2e1e !important;
}

.cart-page .coupon > p,
.cart-page .coupon > span:not(.screen-reader-text),
.cart-page .coupon > div {
  flex: 1 0 100%;
  width: 100%;
  margin: 8px 0 0;
  color: #3d2e1e;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;
}

.woocommerce .cart-page table.shop_table,
.woocommerce-page .cart-page table.shop_table,
.cart-page table.shop_table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  background: #fff;
  color: #000;
}

.woocommerce .cart-page table.shop_table th,
.woocommerce .cart-page table.shop_table td,
.cart-page table.shop_table th,
.cart-page table.shop_table td {
  border: 0;
  border-bottom: 1px solid #eee;
  padding: 16px 12px;
  vertical-align: middle;
  color: #000;
}

.woocommerce .cart-page table.shop_table thead th,
.cart-page table.shop_table thead th {
  background: #f5f5f5;
  border-bottom: 0;
  color: #4a4a4a;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-align: left;
}

.cart-page table.shop_table thead .product-remove,
.cart-page table.shop_table thead .product-thumbnail {
  width: 56px;
}

.woocommerce .cart-page a.remove,
.cart-page a.remove {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 24px !important;
  height: 24px !important;
  margin: 0;
  padding: 0;
  background: transparent !important;
  border: 1px solid #8a8a8a !important;
  border-radius: 50%;
  color: #4a4a4a !important;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
}

.woocommerce .cart-page a.remove:hover,
.cart-page a.remove:hover {
  background: #a78359 !important;
  border-color: #a78359 !important;
  color: #fff !important;
}

.cart-board a:hover,
.cart-page a:hover {
  color: #8a6c3e;
}

.cart-page .woocommerce-remove-coupon,
.cart-page a.woocommerce-remove-coupon {
  color: #a78359;
  text-decoration: none;
}

.cart-page .woocommerce-remove-coupon:hover,
.cart-page a.woocommerce-remove-coupon:hover {
  color: #8a6c3e;
}

.cart-page .product-thumbnail img {
  display: block;
  width: 72px;
  height: 72px;
  max-width: 72px;
  object-fit: cover;
}

.woocommerce .cart-page td.product-name a,
.cart-page td.product-name a {
  color: #000;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  text-decoration: none;
}

.woocommerce .cart-page td.product-name a:hover,
.cart-page td.product-name a:hover {
  color: #a78359;
}

.woocommerce .cart-page td.product-price,
.woocommerce .cart-page td.product-subtotal,
.woocommerce .cart-page td.product-price .woocommerce-Price-amount,
.woocommerce .cart-page td.product-subtotal .woocommerce-Price-amount,
.cart-page td.product-price,
.cart-page td.product-subtotal {
  color: #a78359;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
}

.cart-page .product-quantity .pdp-qty {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-shrink: 0;
  gap: 4px;
}

.cart-page .product-quantity .quantity {
  display: inline-flex;
  margin: 0;
}

.cart-page .pdp-qty__btn,
.woocommerce .cart-page .qty,
.woocommerce-page .cart-page .qty,
.cart-page .qty {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  background: #e5dacd !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  color: #000 !important;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 40px;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}

.cart-page .pdp-qty__btn {
  cursor: pointer;
}

.cart-page .pdp-qty__btn:hover,
.cart-page .pdp-qty__btn:focus {
  background: #d4c4b0 !important;
}

.cart-page .qty::-webkit-outer-spin-button,
.cart-page .qty::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.cart-page .cart-toolbar {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 0 0;
  border-top: 1px solid #e5e5e5;
}

.woocommerce .cart-page .cart-toolbar .coupon,
.cart-page .cart-toolbar .coupon {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  float: none !important;
  gap: 0;
  width: auto;
  max-width: 100%;
  margin: 0;
  color: #000;
}

.woocommerce .cart-page #coupon_code,
.woocommerce-page .cart-page #coupon_code,
.cart-page #coupon_code {
  box-sizing: border-box;
  width: 220px;
  max-width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 16px;
  background: #eeeeee !important;
  border: 0 !important;
  border-radius: 0;
  color: #000 !important;
  font-family: var(--font-sans);
  font-size: 14px;
}

.cart-page #coupon_code::placeholder {
  color: #8a8a8a;
}

.woocommerce .cart-page .button,
.woocommerce-page .cart-page .button,
.cart-page .button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  min-height: 48px;
  margin: 0 !important;
  padding: 12px 20px !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 18px;
  text-transform: uppercase;
  white-space: nowrap;
}

.woocommerce .cart-page .cart-apply.button,
.cart-page .cart-apply.button,
.cart-page .return-to-shop .button {
  float: none !important;
  flex-shrink: 0;
  background: #a78359 !important;
  color: #fff !important;
}

.woocommerce .cart-page .cart-update.button,
.cart-page .cart-update.button {
  display: none !important;
}

.woocommerce .cart-page .cart-apply.button:hover,
.cart-page .cart-apply.button:hover,
.cart-page .return-to-shop .button:hover {
  background: #8a6c3e !important;
  color: #fff !important;
}

.cart-page .cart-collaterals {
  align-self: flex-end;
  width: min(470px, 100%);
  margin: 16px 0 0;
}

.woocommerce .cart-page .cart_totals,
.cart-page .cart_totals {
  width: 100%;
  padding: 0;
  background: transparent;
}

.woocommerce .cart-page .cart_totals h2,
.cart-page .cart_totals h2 {
  margin: 0 0 16px;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000;
}

.woocommerce .cart-page .cart_totals table.shop_table,
.cart-page .cart_totals table.shop_table {
  background: #f5f5f5;
}

.woocommerce .cart-page .cart_totals table.shop_table th,
.woocommerce .cart-page .cart_totals table.shop_table td,
.cart-page .cart_totals table.shop_table th,
.cart-page .cart_totals table.shop_table td {
  padding: 14px 20px;
  border-bottom: 1px solid #e8e8e8;
  background: transparent;
  color: #000;
  font-size: 16px;
  font-weight: 400;
}

.cart-page .cart_totals table.shop_table tr:last-child th,
.cart-page .cart_totals table.shop_table tr:last-child td {
  border-bottom: 0;
  font-weight: 700;
}

.woocommerce .cart-page .cart_totals .woocommerce-Price-amount,
.cart-page .cart_totals .woocommerce-Price-amount {
  color: #000;
  font-weight: 700;
}

.cart-page .wc-proceed-to-checkout {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: 16px;
}

/* Stripe injects wallets after the checkout button (same hook priority). Keep them above. */
.cart-page #wc-stripe-express-checkout-element,
.cart-page [id^="wc-stripe-express-checkout-element"] {
  order: -1;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin: 0;
}

.woocommerce .cart-page .checkout-button,
.woocommerce-page .cart-page .checkout-button,
.cart-page .checkout-button {
  order: 1;
  display: flex !important;
  width: 100%;
  height: 56px;
  min-height: 56px;
  background: #a78359 !important;
  color: #fff !important;
}

.cart-page .woocommerce-shipping-totals,
.cart-page .woocommerce-shipping-calculator,
.cart-page .shipping {
  display: none;
}

@media (max-width: 1199px) {
  .cart-board {
    padding: 48px 32px;
  }
}

@media (max-width: 768px) {
  .woocommerce table.shop_table_responsive.cart tr,
  .woocommerce-page table.shop_table_responsive.cart tr {
    display: table-row;
  }

  .woocommerce table.shop_table_responsive.cart td,
  .woocommerce-page table.shop_table_responsive.cart td {
    display: table-cell;
    text-align: left;
  }

  .woocommerce table.shop_table_responsive.cart td::before,
  .woocommerce-page table.shop_table_responsive.cart td::before {
    display: none;
    content: none;
  }
}

@media (max-width: 767px) {
  .cart-board {
    padding: 32px 1.25rem 48px;
  }

  .woocommerce-page.woocommerce-cart table.cart .product-thumbnail,
  .woocommerce.woocommerce-cart table.cart .product-thumbnail {
    display: table-cell;
  }

  .woocommerce .cart-page table.shop_table td,
  .cart-page table.shop_table td {
    padding: 12px 8px;
  }

  .cart-page .product-thumbnail img {
    width: 56px;
    height: 56px;
    max-width: 56px;
  }

  .cart-page .cart-toolbar {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .woocommerce .cart-page .cart-toolbar .coupon,
  .cart-page .cart-toolbar .coupon {
    width: 100%;
  }

  .woocommerce .cart-page .cart-update.button,
  .cart-page .cart-update.button {
    display: none !important;
  }

  .woocommerce .cart-page #coupon_code,
  .cart-page #coupon_code {
    flex: 1 1 auto;
    width: auto;
  }

  .cart-page .cart-collaterals {
    align-self: stretch;
    width: 100%;
  }
}
