/* Bespoke Wallpaper premium basket page v2.17 */
body.woocommerce-cart {
  --bwp-ink:#111111;
  --bwp-muted:#666666;
  --bwp-line:#e9e9e9;
  --bwp-soft:#f8f8f8;
  --bwp-white:#ffffff;
}

/* Remove unrelated sidebar/search and make the page full-width */
body.woocommerce-cart #secondary,
body.woocommerce-cart aside.sidebar,
body.woocommerce-cart .sidebar-primary,
body.woocommerce-cart .widget-area,
body.woocommerce-cart .site-main .sidebar,
body.woocommerce-cart .content-sidebar-wrap > aside {
  display:none !important;
}
body.woocommerce-cart .content-area,
body.woocommerce-cart .site-main,
body.woocommerce-cart .content-sidebar-wrap,
body.woocommerce-cart .content-sidebar-wrap .content,
body.woocommerce-cart .site-content,
body.woocommerce-cart .fl-content,
body.woocommerce-cart .ast-woocommerce-container,
body.woocommerce-cart .woocommerce-container,
body.woocommerce-cart .entry-content {
  width:100% !important;
  max-width:1180px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Clean the theme title strip instead of the old grey bar */
body.woocommerce-cart .page-header,
body.woocommerce-cart .page-title-bar,
body.woocommerce-cart .page-header-wrap,
body.woocommerce-cart .site-page-header,
body.woocommerce-cart .fl-page-header,
body.woocommerce-cart .titlebar,
body.woocommerce-cart .hero-banner {
  background:#fff !important;
  border:0 !important;
  box-shadow:none !important;
  min-height:0 !important;
  padding:22px 0 10px !important;
}
body.woocommerce-cart .page-header h1,
body.woocommerce-cart .page-title,
body.woocommerce-cart .entry-title,
body.woocommerce-cart .page-title-bar h1,
body.woocommerce-cart .site-page-header h1 {
  color:var(--bwp-ink) !important;
  font-size:clamp(28px,3vw,38px) !important;
  line-height:1 !important;
  font-weight:500 !important;
  letter-spacing:-.03em !important;
}
body.woocommerce-cart .woocommerce-breadcrumb,
body.woocommerce-cart .breadcrumb,
body.woocommerce-cart .breadcrumbs {
  color:#777 !important;
  font-size:11px !important;
}

/* WooCommerce Cart Block */
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-cart .wc-block-cart {
  margin:0 auto !important;
  max-width:1180px !important;
  padding:12px 0 42px !important;
}
body.woocommerce-cart .wc-block-cart {
  display:grid !important;
  grid-template-columns:minmax(0,1.48fr) minmax(320px,.82fr) !important;
  gap:22px !important;
  align-items:start !important;
}
body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__sidebar {
  width:auto !important;
  max-width:none !important;
  margin:0 !important;
}
body.woocommerce-cart .wc-block-cart__main {
  padding:0 !important;
  border:1px solid var(--bwp-line) !important;
  border-radius:26px !important;
  background:#fff !important;
  overflow:hidden !important;
  box-shadow:0 10px 26px rgba(0,0,0,.022) !important;
}
body.woocommerce-cart .wc-block-cart__sidebar {
  position:sticky !important;
  top:18px !important;
  padding:18px !important;
  border:1px solid var(--bwp-line) !important;
  border-radius:24px !important;
  background:#fff !important;
  box-shadow:0 10px 26px rgba(0,0,0,.022) !important;
}

/* Basket table / item rows */
body.woocommerce-cart table.wc-block-cart-items {
  margin:0 !important;
  border:0 !important;
}
body.woocommerce-cart .wc-block-cart-items th {
  padding:15px 18px !important;
  border-bottom:1px solid #ededed !important;
  color:#777 !important;
  font-size:9.5px !important;
  line-height:1.2 !important;
  font-weight:800 !important;
  letter-spacing:.11em !important;
  text-transform:uppercase !important;
}
body.woocommerce-cart .wc-block-cart-items td {
  padding:18px !important;
  border:0 !important;
  border-bottom:1px solid #efefef !important;
  vertical-align:top !important;
}
body.woocommerce-cart .wc-block-cart-items tr:last-child td {
  border-bottom:0 !important;
}
body.woocommerce-cart .wc-block-cart-item__image {
  width:94px !important;
  padding-right:14px !important;
}
body.woocommerce-cart .wc-block-cart-item__image img {
  width:94px !important;
  height:94px !important;
  object-fit:cover !important;
  border-radius:16px !important;
  background:#f4f4f4 !important;
}
body.woocommerce-cart .wc-block-components-product-name,
body.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name {
  color:#111 !important;
  font-size:16px !important;
  line-height:1.12 !important;
  font-weight:500 !important;
  letter-spacing:-.015em !important;
  text-decoration:none !important;
}
body.woocommerce-cart .wc-block-components-product-price,
body.woocommerce-cart .wc-block-components-product-price .wc-block-components-product-price__value,
body.woocommerce-cart .wc-block-cart-item__total-price-and-sale-badge-wrapper,
body.woocommerce-cart .wc-block-components-formatted-money-amount,
body.woocommerce-cart .wc-block-formatted-money-amount {
  color:#111 !important;
}
body.woocommerce-cart .wc-block-cart-item__prices,
body.woocommerce-cart .wc-block-cart-item__total {
  font-size:13px !important;
  font-weight:700 !important;
}
body.woocommerce-cart .wc-block-components-product-metadata,
body.woocommerce-cart .wc-block-components-product-details,
body.woocommerce-cart .wc-block-components-product-details__name,
body.woocommerce-cart .wc-block-components-product-details__value,
body.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-metadata {
  color:#666 !important;
  font-size:11px !important;
  line-height:1.48 !important;
}

/* Quantity + remove */
body.woocommerce-cart .wc-block-components-quantity-selector {
  width:132px !important;
  min-height:42px !important;
  margin-top:9px !important;
  border:1px solid #dcdcdc !important;
  border-radius:12px !important;
  background:#fff !important;
  overflow:hidden !important;
}
body.woocommerce-cart .wc-block-components-quantity-selector input,
body.woocommerce-cart .wc-block-components-quantity-selector button {
  min-height:40px !important;
  color:#111 !important;
  font-size:12px !important;
}
body.woocommerce-cart .wc-block-cart-item__remove-link,
body.woocommerce-cart .wc-block-components-button.wc-block-cart-item__remove-link {
  color:#555 !important;
  font-size:10px !important;
  font-weight:700 !important;
  text-decoration:underline !important;
}

/* Totals card */
body.woocommerce-cart .wc-block-cart__totals-title {
  margin:0 0 12px !important;
  padding:0 0 12px !important;
  border-bottom:1px solid #ededed !important;
  color:#111 !important;
  font-size:18px !important;
  line-height:1.1 !important;
  font-weight:500 !important;
  letter-spacing:-.02em !important;
}
body.woocommerce-cart .wc-block-components-totals-wrapper {
  padding:13px 0 !important;
  border-top:1px solid #efefef !important;
}
body.woocommerce-cart .wc-block-components-totals-wrapper:first-of-type {
  border-top:0 !important;
}
body.woocommerce-cart .wc-block-components-totals-item {
  padding:0 !important;
  color:#333 !important;
  font-size:12.5px !important;
}
body.woocommerce-cart .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-item__value {
  color:#333 !important;
  font-size:12.5px !important;
}
body.woocommerce-cart .wc-block-components-totals-footer-item {
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:14px !important;
  margin-top:12px !important;
  padding:14px 16px !important;
  border:1.5px solid #111 !important;
  border-radius:14px !important;
  background:#fff !important;
}
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  color:#111 !important;
  font-size:17px !important;
  font-weight:700 !important;
}

/* Coupon accordion */
body.woocommerce-cart .wc-block-components-totals-coupon {
  border:0 !important;
}
body.woocommerce-cart .wc-block-components-totals-coupon__button,
body.woocommerce-cart .wc-block-components-panel__button {
  color:#111 !important;
  font-size:12px !important;
  font-weight:600 !important;
}
body.woocommerce-cart .wc-block-components-totals-coupon__input input {
  min-height:44px !important;
  border:1px solid #dcdcdc !important;
  border-radius:12px !important;
  font-size:13px !important;
}

/* Checkout action */
body.woocommerce-cart .wc-block-cart__submit-container {
  margin-top:14px !important;
}
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-components-button.wc-block-cart__submit-button {
  min-height:50px !important;
  border:1.5px solid #111 !important;
  border-radius:14px !important;
  background:#111 !important;
  color:#fff !important;
  box-shadow:none !important;
  font-size:12px !important;
  font-weight:800 !important;
  letter-spacing:.06em !important;
  text-transform:uppercase !important;
}
body.woocommerce-cart .wc-block-cart__submit-button:hover {
  background:#000 !important;
}

/* Classic cart fallback */
body.woocommerce-cart form.woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals .cart_totals {
  border:1px solid var(--bwp-line) !important;
  border-radius:24px !important;
  background:#fff !important;
  box-shadow:0 10px 26px rgba(0,0,0,.022) !important;
  overflow:hidden !important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table,
body.woocommerce-cart .cart-collaterals table.shop_table {
  border:0 !important;
  margin:0 !important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table th,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td,
body.woocommerce-cart .cart-collaterals table.shop_table th,
body.woocommerce-cart .cart-collaterals table.shop_table td {
  border-color:#efefef !important;
  padding:14px !important;
}
body.woocommerce-cart .woocommerce-cart-form .product-thumbnail img {
  width:82px !important;
  height:82px !important;
  object-fit:cover !important;
  border-radius:14px !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals h2 {
  color:#111 !important;
  font-size:18px !important;
  font-weight:500 !important;
}
body.woocommerce-cart .checkout-button {
  min-height:50px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border:1.5px solid #111 !important;
  border-radius:14px !important;
  background:#111 !important;
  color:#fff !important;
  font-size:12px !important;
  font-weight:800 !important;
  letter-spacing:.06em !important;
  text-transform:uppercase !important;
}

@media(max-width:900px){
  body.woocommerce-cart .wc-block-cart {
    grid-template-columns:1fr !important;
  }
  body.woocommerce-cart .wc-block-cart__sidebar {
    position:relative !important;
    top:0 !important;
  }
}
@media(max-width:640px){
  body.woocommerce-cart .wp-block-woocommerce-cart,
  body.woocommerce-cart .wc-block-cart {padding:8px 0 34px !important;}
  body.woocommerce-cart .wc-block-cart__main,
  body.woocommerce-cart .wc-block-cart__sidebar {border-radius:20px !important;}
  body.woocommerce-cart .wc-block-cart-items th,
  body.woocommerce-cart .wc-block-cart-items td {padding:12px !important;}
  body.woocommerce-cart .wc-block-cart-item__image,
  body.woocommerce-cart .wc-block-cart-item__image img {
    width:72px !important;
    height:72px !important;
  }
  body.woocommerce-cart .wc-block-components-product-name {font-size:14px !important;}
}
