/* Scoped to the private designer cart and checkout. */
.dsdc-commerce, .dsdc-commerce * { box-sizing: border-box; }
.dsdc-commerce .wc-proceed-to-checkout a.checkout-button {
  display:flex!important; align-items:center; justify-content:center;
  width:100%; min-height:56px; padding:16px 24px!important;
  background:#0284c7!important; color:#fff!important;
  border:2px solid #0284c7!important; border-radius:10px!important;
  font-size:18px!important; font-weight:700!important; line-height:1.35;
  text-align:center; text-decoration:none!important; cursor:pointer;
  box-shadow:0 4px 14px rgba(2,132,199,.22);
}
.dsdc-commerce .wc-proceed-to-checkout a.checkout-button:hover {
  background:#0369a1!important; border-color:#0369a1!important;
}
.dsdc-commerce .wc-proceed-to-checkout a.checkout-button:focus-visible {
  outline:3px solid #fbbf24!important; outline-offset:4px;
}
.dsdc-commerce .woocommerce-cart-form { min-width: 0; }
.dsdc-commerce .product-name a { overflow-wrap: anywhere; }
@media (max-width: 768px) {
  .dsdc-commerce { width:100%; max-width:100%!important; margin:20px auto!important; padding:12px!important; }
  .dsdc-commerce .woocommerce { min-width:0; }
  .dsdc-commerce table.shop_table_responsive.cart { display:block; width:100%; border:0; }
  .dsdc-commerce table.shop_table_responsive.cart thead { display:none; }
  .dsdc-commerce table.shop_table_responsive.cart tbody { display:block; }
  .dsdc-commerce table.shop_table_responsive.cart tr.cart_item {
    display:grid!important; grid-template-columns:96px minmax(0,1fr); gap:10px 14px;
    position:relative; padding:42px 14px 18px; margin:0 0 16px;
    border:1px solid #3f3f46; border-radius:12px; min-width:0;
  }
  .dsdc-commerce table.shop_table_responsive.cart tr.cart_item td {
    display:block!important; width:auto!important; min-width:0; max-width:100%;
    padding:0!important; border:0!important; background:transparent!important; text-align:left!important;
  }
  .dsdc-commerce table.shop_table_responsive.cart tr.cart_item .product-thumbnail {
    display:block!important; grid-column:1; grid-row:1 / span 4; align-self:start;
  }
  .dsdc-commerce table.shop_table_responsive.cart .product-thumbnail img {
    display:block!important; width:96px!important; max-width:100%; height:auto!important;
  }
  .dsdc-commerce table.shop_table_responsive.cart .product-thumbnail::before,
  .dsdc-commerce table.shop_table_responsive.cart .product-name::before,
  .dsdc-commerce table.shop_table_responsive.cart .product-remove::before { display:none!important; content:none!important; }
  .dsdc-commerce table.shop_table_responsive.cart .product-remove {
    position:absolute; top:10px; right:12px; width:28px!important; height:28px;
  }
  .dsdc-commerce table.shop_table_responsive.cart .product-remove a { margin:0!important; }
  .dsdc-commerce table.shop_table_responsive.cart .product-name { grid-column:2; grid-row:1; }
  .dsdc-commerce table.shop_table_responsive.cart .product-name > a { display:block; font-size:16px; line-height:1.4; }
  .dsdc-commerce table.shop_table_responsive.cart .product-name dl.variation {
    display:grid; grid-template-columns:auto minmax(0,1fr); gap:4px 8px;
    font-size:13px; line-height:1.5; margin:12px 0 0;
  }
  .dsdc-commerce table.shop_table_responsive.cart .product-name dl.variation dt,
  .dsdc-commerce table.shop_table_responsive.cart .product-name dl.variation dd {
    float:none!important; width:auto!important; min-width:0; margin:0!important; padding:0!important;
    text-align:left!important; overflow-wrap:anywhere;
  }
  .dsdc-commerce table.shop_table_responsive.cart .product-name dl.variation dd p { margin:0!important; }
  .dsdc-commerce table.shop_table_responsive.cart .product-price { grid-column:2; grid-row:2; }
  .dsdc-commerce table.shop_table_responsive.cart .product-quantity { grid-column:2; grid-row:3; }
  .dsdc-commerce table.shop_table_responsive.cart .product-subtotal { grid-column:2; grid-row:4; }
  .dsdc-commerce table.shop_table_responsive.cart tr.cart_item td.product-price,
  .dsdc-commerce table.shop_table_responsive.cart tr.cart_item td.product-quantity,
  .dsdc-commerce table.shop_table_responsive.cart tr.cart_item td.product-subtotal {
    display:flex!important; align-items:center; justify-content:space-between; gap:12px;
    font-size:14px; line-height:1.5;
  }
  .dsdc-commerce table.shop_table_responsive.cart tr.cart_item td::before { float:none!important; font-weight:600; }
  .dsdc-commerce table.shop_table_responsive.cart .quantity .qty { width:72px; max-width:100%; min-height:34px; }
  .dsdc-commerce table.shop_table_responsive.cart td.actions { display:block!important; width:100%; padding:12px 0!important; }
  .dsdc-commerce table.shop_table_responsive.cart td.actions .coupon { display:flex; flex-wrap:wrap; gap:10px; }
  .dsdc-commerce table.shop_table_responsive.cart td.actions .coupon input { width:100%!important; margin:0!important; }
  .dsdc-commerce .cart_totals { width:100%!important; float:none!important; margin-top:24px; }
}
@media (max-width: 420px) {
  .dsdc-commerce table.shop_table_responsive.cart tr.cart_item { grid-template-columns:80px minmax(0,1fr); gap:10px; padding:40px 10px 16px; }
  .dsdc-commerce table.shop_table_responsive.cart .product-thumbnail img { width:80px!important; }
  .dsdc-commerce table.shop_table_responsive.cart .product-name dl.variation { grid-template-columns:minmax(0,1fr); gap:2px; }
  .dsdc-commerce table.shop_table_responsive.cart .product-name dl.variation dd { margin-bottom:6px!important; }
}
