/* Keep the cart hero inside the document flow so browser scrollbars never create horizontal overflow. */
.woocommerce-cart .thukura-cart-hero{margin-inline:0}
.woocommerce-cart .thukura-cart-count[hidden]{display:none!important}
.woocommerce-cart .thukura-cart-empty-state{display:flex;align-items:center;flex-direction:column;gap:.7rem;max-width:560px;margin:clamp(2rem,6vw,4.5rem) auto;padding:0 1rem;text-align:center}
.woocommerce-cart .thukura-cart-empty-state__icon{display:grid;place-items:center;width:4.25rem;height:4.25rem;border:1px solid rgba(116,27,59,.25);border-radius:50%;background:#fbf5ef;color:var(--thukura-color-wine,#681a32)}
.woocommerce-cart .thukura-cart-empty-state__icon svg{width:2.2rem;height:2.2rem;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}
.woocommerce-cart .thukura-cart-empty-state h2{margin:0;color:var(--thukura-color-ink,#241d20);font-family:var(--thukura-font-heading,Georgia,serif);font-size:clamp(1.8rem,4vw,2.5rem);font-weight:500;line-height:1.1}
.woocommerce-cart .thukura-cart-empty-state p{max-width:34rem;margin:0;color:#75696d;font-size:1rem;line-height:1.55}
.woocommerce-cart .thukura-cart-empty-state__link{display:inline-flex;align-items:center;justify-content:center;min-height:46px;margin-top:.35rem;padding:.7rem 1.2rem;border:1px solid var(--thukura-color-wine,#681a32);border-radius:999px;background:var(--thukura-color-wine,#681a32);color:#fff;text-decoration:none}
.woocommerce-cart .thukura-cart-empty-state__link:hover,.woocommerce-cart .thukura-cart-empty-state__link:focus-visible{background:#4d1228;color:#fff;text-decoration:none}
.woocommerce-cart .woocommerce-notices-wrapper{margin:1rem auto 0;max-width:760px}
.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message{margin:0;padding:1rem 1.1rem;line-height:1.5}
.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message::before{margin-right:.45rem;vertical-align:middle}

/* Keep the product column usable: the long remove-column heading must not
 * consume the space reserved for the thumbnail. */
@media (min-width: 768px){
  .woocommerce-cart table.shop_table{table-layout:fixed}
  .woocommerce-cart table.shop_table .product-remove{width:42px;min-width:42px;padding-right:0;white-space:nowrap}
  .woocommerce-cart table.shop_table .product-thumbnail{width:112px;min-width:112px;padding-left:.35rem;padding-right:.35rem}
  .woocommerce-cart table.shop_table .product-thumbnail a{display:block;width:104px;height:104px}
  .woocommerce-cart table.shop_table .product-thumbnail img{display:block;width:104px;height:104px;max-width:104px;object-fit:contain}
  .woocommerce-cart table.shop_table .product-price{width:96px}
  .woocommerce-cart table.shop_table .product-quantity{width:150px}
  .woocommerce-cart table.shop_table .product-subtotal{width:104px}
}

.woocommerce-cart .actions .coupon{flex:1 1 360px;max-width:460px;margin-right:auto}
.woocommerce-cart .actions .coupon input.input-text{box-sizing:border-box;flex:1 1 auto;min-width:0;width:100%}
.woocommerce-cart .actions .coupon .button{flex:0 0 auto;white-space:nowrap}

@media (max-width: 767px){
  .woocommerce-cart .site-main{padding:0 0 2rem}
  .thukura-cart-hero__inner{padding:1.5rem 1rem 1.75rem}
  .thukura-cart-breadcrumb{font-size:.72rem;margin-bottom:1.5rem}
  .thukura-cart-hero h1{font-size:clamp(2.25rem,12vw,3.2rem);margin-bottom:.65rem}
  .thukura-cart-hero__inner>p:last-child{font-size:.92rem;line-height:1.5}
  .woocommerce-cart .woocommerce{width:100%}
  .woocommerce-cart .woocommerce-cart-form{border:0;border-radius:0;box-shadow:none;padding:1rem}
  .woocommerce-cart table.shop_table tbody tr{align-items:start;background:#fff;border:1px solid rgba(36,29,32,.1);border-radius:8px;box-shadow:0 8px 22px rgba(36,29,32,.045);grid-template-areas:"thumb name" "thumb price" "thumb quantity" "thumb subtotal";grid-template-columns:84px minmax(0,1fr);margin:0 0 .75rem;padding:1rem;position:relative}
  .woocommerce-cart table.shop_table tbody tr:last-child{margin-bottom:0}
  .woocommerce-cart table.shop_table tbody td{min-width:0}
  .woocommerce-cart table.shop_table .product-remove{position:absolute;right:.75rem;top:.75rem;width:auto;z-index:1}
  .woocommerce-cart table.shop_table .product-remove a{background:#fff;font-size:1rem;height:30px;width:30px}
  .woocommerce-cart table.shop_table .product-thumbnail{grid-area:thumb;padding-right:.75rem;width:80px}
  .woocommerce-cart table.shop_table .product-thumbnail a{display:block;width:78px;height:78px}
  .woocommerce-cart table.shop_table .product-name{grid-area:name;padding-right:2.25rem}
  .woocommerce-cart table.shop_table .product-price{color:#75696d;font-size:.88rem;grid-area:price;padding-top:.2rem}
  .woocommerce-cart table.shop_table .product-quantity{grid-area:quantity;padding-top:.55rem}
  .woocommerce-cart table.shop_table .product-subtotal{font-size:1rem;grid-area:subtotal;padding-top:.55rem}
  .woocommerce-cart .product-thumbnail img{display:block;height:78px;width:78px;max-width:78px;object-fit:contain}
  .woocommerce-cart .product-name a{display:block;font-size:.95rem;line-height:1.35}
  .woocommerce-cart .product-name dl{font-size:.75rem;line-height:1.35}
  .woocommerce-cart .quantity{min-height:40px}
  .woocommerce-cart .quantity .qty{height:38px;min-height:38px!important;width:42px}
  .woocommerce-cart .thukura-qty-button{height:38px;width:32px}
  .woocommerce-cart .actions{gap:.75rem;padding-top:1rem}
  .woocommerce-cart .actions .coupon{display:grid;gap:.5rem;grid-template-columns:minmax(0,1fr) auto}
  .woocommerce-cart .actions .coupon input.input-text{min-width:0;width:100%}
  .woocommerce-cart .actions .coupon .button{min-width:92px}
  .woocommerce-cart .actions>.button{min-height:48px}
  .woocommerce-cart .cart-collaterals{margin:1rem 1rem 0}
  .woocommerce-cart .cart_totals{box-shadow:0 8px 22px rgba(36,29,32,.045);padding:1.15rem}
  .woocommerce-cart .cart_totals h2{font-size:1.45rem}
  .woocommerce-cart .cart_totals .order-total th,.woocommerce-cart .cart_totals .order-total td{font-size:1.08rem}
  .thukura-cart-reassurance{margin:2rem 1rem 0;padding-top:1.25rem}
}
