/* Gifts by Bee v3.19.3 — compact cart/checkout presentation.
   Only cart/checkout UI: no pricing, shipping or payment styles/logic changed. */

/* Cart: show product details on demand rather than squeeze every field next to
   its thumbnail. The original WooCommerce variation/meta markup is preserved. */
body.woocommerce-cart table.gbb-cart-table td.product-name .gbb-cart-selections{
  display:block!important; min-width:0!important; max-width:100%; margin:10px 0 0!important;
  padding:0!important; font:500 12px/1.5 'DM Sans',sans-serif;
}
body.woocommerce-cart .gbb-cart-selections > summary{
  display:inline-flex!important; align-items:center; gap:7px; cursor:pointer;
  padding:4px 0!important; margin:0!important;
  color:#875c60!important; font:600 11px/1.4 'DM Sans',sans-serif!important;
  text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:4px;
  list-style:none;
}
body.woocommerce-cart .gbb-cart-selections > summary::-webkit-details-marker{display:none}
body.woocommerce-cart .gbb-cart-selections > summary:after{
  content:'+'; display:inline-flex; justify-content:center; align-items:center;
  width:15px; height:15px; border:1px solid #d8b5b8; border-radius:50%;
  text-decoration:none!important; font-size:12px; line-height:1;
}
body.woocommerce-cart .gbb-cart-selections[open] > summary:after{content:'−'}
body.woocommerce-cart .gbb-cart-selections > summary:focus-visible,
.woocommerce-checkout .gbb-checkout-selections > summary:focus-visible{
  outline:2px solid #9a6d72; outline-offset:3px; border-radius:2px;
}
body.woocommerce-cart .gbb-cart-selections__body{
  margin:10px 0 0!important; padding:12px 14px!important;
  background:#fffaf7!important; border:1px solid #e8d9d3!important; border-radius:5px;
  max-width:100%; min-width:0;
}
body.woocommerce-cart table.gbb-cart-table td.product-name .gbb-cart-selections .variation{
  display:grid!important; grid-template-columns:minmax(0,43%) minmax(0,1fr)!important;
  gap:7px 12px!important; width:100%!important; max-width:100%!important;
  margin:0!important; font:500 11px/1.45 'DM Sans',sans-serif!important;
}
body.woocommerce-cart table.gbb-cart-table td.product-name .gbb-cart-selections .variation dt,
body.woocommerce-cart table.gbb-cart-table td.product-name .gbb-cart-selections .variation dd{
  min-width:0!important; width:auto!important; max-width:100%!important;
  margin:0!important; padding:0!important; float:none!important; clear:none!important;
  overflow-wrap:anywhere!important; white-space:normal!important;
  font:500 11px/1.45 'DM Sans',sans-serif!important;
}
body.woocommerce-cart table.gbb-cart-table td.product-name .gbb-cart-selections .variation dt{
  color:#7d6761!important; font-weight:600!important;
}
body.woocommerce-cart table.gbb-cart-table td.product-name .gbb-cart-selections .variation dd{
  color:#493a36!important;
}
body.woocommerce-cart table.gbb-cart-table td.product-name .gbb-cart-selections .variation p{
  margin:0!important; padding:0!important; white-space:normal!important;
}
body.woocommerce-cart .gbb-cart-deferred{
  display:flex!important; flex-wrap:wrap; align-items:baseline; justify-content:space-between;
  gap:3px 10px; max-width:100%; min-width:0;
  margin:9px 0 0!important; padding:9px 11px!important;
  border:1px solid #ecdcd8!important; border-radius:4px!important;
  background:#fcf5f2!important;
}
body.woocommerce-cart .gbb-cart-deferred span{
  font:500 11px/1.4 'DM Sans',sans-serif!important; color:#745d57!important;
}
body.woocommerce-cart .gbb-cart-deferred strong{
  font:700 12px/1.35 'DM Sans',sans-serif!important; color:#633f3b!important;
}

/* Checkout: make each item a calm, compact row; never let long personalised
   messages squash into thin, unreadable value columns. */
.woocommerce-checkout .gbb-checkout-order-card table.woocommerce-checkout-review-order-table{
  table-layout:fixed!important; width:100%!important;
}
.woocommerce-checkout .gbb-checkout-order-card table.woocommerce-checkout-review-order-table tr.cart_item td.product-name{
  min-width:0!important; width:auto!important; padding:15px 6px 15px 0!important;
}
.woocommerce-checkout .gbb-checkout-order-card table.woocommerce-checkout-review-order-table tr.cart_item td.product-total{
  width:76px!important; min-width:76px!important; max-width:76px!important;
  padding:18px 0 15px 7px!important; font-size:11px!important;
}
.woocommerce-checkout .gbb-checkout-line-product{
  display:grid!important; grid-template-columns:53px minmax(0,1fr)!important;
  gap:10px!important; align-items:start!important; min-width:0!important;
}
.woocommerce-checkout .gbb-checkout-line-product__image{
  width:53px!important; height:63px!important; flex:none!important;
}
.woocommerce-checkout .gbb-checkout-line-product__details,
.woocommerce-checkout .gbb-checkout-line-product__name{
  display:block; min-width:0!important; max-width:100%!important;
  overflow-wrap:anywhere!important; white-space:normal!important;
}
.woocommerce-checkout .gbb-checkout-line-product__name{
  font:600 12px/1.45 'DM Sans',sans-serif!important;
}
.woocommerce-checkout .gbb-checkout-line-product__qty{
  display:block!important; margin:4px 0 0!important; font-size:10px!important;
  color:#806c66!important;
}
/* The template also prints WooCommerce's native ×quantity after the product
   name. Quantity already appears alongside our product title. */
.woocommerce-checkout .gbb-checkout-order-card tr.cart_item td.product-name > .product-quantity{
  display:none!important;
}
.woocommerce-checkout .gbb-checkout-selections{
  display:block; min-width:0; margin:9px 0 0 63px!important;
  border:0; max-width:calc(100% - 63px);
}
.woocommerce-checkout .gbb-checkout-selections > summary{
  display:inline-flex; align-items:center; gap:6px; cursor:pointer;
  margin:0; padding:0 0 3px; list-style:none;
  color:#936467; text-decoration:underline; text-underline-offset:3px;
  font:600 10.5px/1.5 'DM Sans',sans-serif;
}
.woocommerce-checkout .gbb-checkout-selections > summary::-webkit-details-marker{display:none}
.woocommerce-checkout .gbb-checkout-selections > summary:after{
  content:'+'; text-decoration:none; margin-left:1px; font-size:14px;
}
.woocommerce-checkout .gbb-checkout-selections[open] > summary:after{content:'−'}
.woocommerce-checkout .gbb-checkout-order-card .gbb-checkout-selections > dl.variation{
  display:block!important; max-width:100%!important; width:100%!important;
  margin:10px 0 2px!important; padding:10px!important;
  border:1px solid #e9dcd4; border-radius:4px; background:#fffdfb;
}
.woocommerce-checkout .gbb-checkout-order-card .gbb-checkout-selections > dl.variation dt,
.woocommerce-checkout .gbb-checkout-order-card .gbb-checkout-selections > dl.variation dd{
  display:block!important; max-width:100%!important; width:auto!important;
  float:none!important; clear:both!important; margin:0!important; padding:0!important;
  white-space:normal!important; overflow-wrap:anywhere!important;
  font:500 10px/1.45 'DM Sans',sans-serif!important;
}
.woocommerce-checkout .gbb-checkout-order-card .gbb-checkout-selections > dl.variation dt{
  margin-top:9px!important; color:#927a72!important; font-weight:600!important;
}
.woocommerce-checkout .gbb-checkout-order-card .gbb-checkout-selections > dl.variation dt:first-child{margin-top:0!important}
.woocommerce-checkout .gbb-checkout-order-card .gbb-checkout-selections > dl.variation dd{
  color:#493a36!important; margin-top:2px!important;
}
.woocommerce-checkout .gbb-checkout-order-card .gbb-checkout-selections > dl.variation dd p{
  display:block!important; margin:0!important; white-space:normal!important; overflow-wrap:anywhere!important;
}

/* One short payment summary, after the WooCommerce checkout total.
   Do not make this notice resemble a second payment button or gateway. */
.gbb-separate-cash-notice.gbb-payment-breakdown{
  display:block!important; max-width:100%; min-width:0;
  margin:16px 0!important; padding:15px!important;
  background:#fbf4f1!important; border:1px solid #e7d3cd!important;
  border-radius:5px!important; color:#633f3b!important;
  box-shadow:none!important;
}
.gbb-payment-breakdown__heading{
  display:flex; flex-direction:column; gap:4px; margin-bottom:12px;
}
.gbb-payment-breakdown__heading strong{
  font:700 12.5px/1.4 'DM Sans',sans-serif!important; color:#553a36!important;
}
.gbb-payment-breakdown__heading span{
  font:500 10px/1.35 'DM Sans',sans-serif; color:#8e6d64;
}
.gbb-payment-breakdown__lines{
  display:block!important; margin:0!important; padding:0!important;
}
.gbb-payment-breakdown__lines > div{
  display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px;
  align-items:start; padding:7px 0;
}
.gbb-payment-breakdown__lines dt,
.gbb-payment-breakdown__lines dd{
  display:block; min-width:0; margin:0!important; padding:0!important;
  color:#654d46; font:500 11px/1.45 'DM Sans',sans-serif!important;
}
.gbb-payment-breakdown__lines dd{
  font-weight:700!important; text-align:right; white-space:nowrap;
}
.gbb-payment-breakdown__lines .gbb-payment-breakdown__total{
  margin-top:6px; padding-top:12px; border-top:1px solid #e3cec7;
}
.gbb-payment-breakdown__lines .gbb-payment-breakdown__total dt,
.gbb-payment-breakdown__lines .gbb-payment-breakdown__total dd{
  font-weight:700!important; color:#543834!important;
}
.gbb-separate-cash-notice .gbb-payment-breakdown__footnote{
  margin:12px 0 0!important; padding:0!important;
  font:400 10.5px/1.6 'DM Sans',sans-serif!important; color:#80645d!important;
}
@media(max-width:760px){
  .woocommerce-checkout .gbb-checkout-order-card table.woocommerce-checkout-review-order-table tr.cart_item td.product-total{
    width:70px!important; min-width:70px!important; max-width:70px!important;
  }
  .woocommerce-checkout .gbb-checkout-line-product{
    grid-template-columns:46px minmax(0,1fr)!important; gap:9px!important;
  }
  .woocommerce-checkout .gbb-checkout-line-product__image{width:46px!important;height:56px!important}
  .woocommerce-checkout .gbb-checkout-selections{
    margin-left:55px!important; max-width:calc(100% - 55px)!important;
  }
  body.woocommerce-cart table.gbb-cart-table td.product-name .gbb-cart-selections .variation{
    display:block!important;
  }
  body.woocommerce-cart table.gbb-cart-table td.product-name .gbb-cart-selections .variation dt{
    display:block!important; margin:10px 0 0!important;
  }
  body.woocommerce-cart table.gbb-cart-table td.product-name .gbb-cart-selections .variation dt:first-child{margin-top:0!important}
  body.woocommerce-cart table.gbb-cart-table td.product-name .gbb-cart-selections .variation dd{
    display:block!important; margin:1px 0 0!important;
  }
  body.woocommerce-cart .gbb-cart-deferred{padding:8px!important}
}

/* v3.19.6: Shipping is selected only at checkout. The cart totals template
   omits shipping entirely; guard against a plugin injecting a second cart
   shipping calculator/row and stretching the narrow totals sidebar. */
body.woocommerce-cart .cart-collaterals .cart_totals tr.shipping,
body.woocommerce-cart .cart-collaterals .cart_totals tr.woocommerce-shipping-totals,
body.woocommerce-cart .cart-collaterals .cart_totals .woocommerce-shipping-calculator,
body.woocommerce-cart .cart-collaterals .cart_totals .shipping-calculator-form,
body.woocommerce-cart .cart-collaterals .cart_totals ul#shipping_method {
  display:none!important;
}
body.woocommerce-cart .cart-collaterals,
body.woocommerce-cart .cart-collaterals .cart_totals,
body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table {
  box-sizing:border-box!important;
  min-width:0!important;
  max-width:100%!important;
}


/* v3.19.10 — Cart comes before the pickup/delivery choice: no express wallets. */
body.woocommerce-cart #wcpay-express-checkout-wrapper,
body.woocommerce-cart .wcpay-express-checkout-wrapper,
body.woocommerce-cart #wcpay-express-checkout-button-separator,
body.woocommerce-cart #wcpay-payment-request-wrapper,
body.woocommerce-cart #wcpay-payment-request-button-separator,
body.woocommerce-cart #wc-stripe-express-checkout-element,
body.woocommerce-cart #wc-stripe-payment-request-wrapper,
body.woocommerce-cart #wc-stripe-express-checkout-button-separator,
body.woocommerce-cart #wc-stripe-payment-request-button-separator,
body.woocommerce-cart .wc-block-components-express-payment {
  display:none!important;
}
