/* Populated WooCommerce cart page. Scope keeps drawer and checkout isolated. */
body.woocommerce-cart .hype-cartPage {
  --cart-ink: #17313d;
  --cart-muted: #49616d;
  --cart-line: #d3e4ed;
  --cart-mist: #edf7fc;
  --cart-orange: #f15a24;
  color: var(--cart-ink);
}
body.woocommerce-cart .hype-cartPage .woocommerce-cart-form__contents {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--cart-line);
  border-radius: 10px;
  overflow: hidden;
}
body.woocommerce-cart .hype-cartPage .shop_table thead th {
  padding: 14px 16px;
  color: var(--cart-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
body.woocommerce-cart .hype-cartPage .shop_table tbody td {
  padding: 16px;
  border-top: 1px solid var(--cart-line);
  color: var(--cart-ink);
  font-size: 15px;
  vertical-align: middle;
}
body.woocommerce-cart .hype-cartPage .shop_table .product-thumbnail img,
body.woocommerce-cart .hype-cartPage .hype-co-thumb img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
}
body.woocommerce-cart .hype-cartPage .hype-co-name a {
  color: var(--cart-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}
body.woocommerce-cart .hype-cartPage .hype-cart-remove-link,
body.woocommerce-cart .hype-cartPage .product-remove .remove {
  color: var(--cart-orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
body.woocommerce-cart .hype-cartPage .product-price,
body.woocommerce-cart .hype-cartPage .product-subtotal { white-space: nowrap; }
body.woocommerce-cart .hype-cartPage .product-price,
body.woocommerce-cart .hype-cartPage .product-subtotal,
body.woocommerce-cart .hype-cartPage .cart_totals td { font-size: 15px; }
body.woocommerce-cart .hype-cartPage del { color: #71808a; }
body.woocommerce-cart .hype-cartPage ins { color: var(--cart-ink); font-weight: 700; text-decoration: none; }
body.woocommerce-cart .hype-cartPage .hype-stepper {
  display: inline-flex;
  align-items: center;
  width:126px;
  min-width:126px;
  min-height: 44px;
  overflow: hidden;
  border: 1px solid var(--cart-line);
  border-radius: 6px;
}
body.woocommerce-cart .hype-cartPage .hype-stepper__btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  border: 0;
  background: #fff;
  color: var(--cart-ink);
}
body.woocommerce-cart .hype-cartPage .hype-stepper input.qty {
  width: 36px;
  min-width: 36px;
  height: 44px;
  padding: 0;
  border: 0;
  color: var(--cart-ink);
  font-size: 15px;
  text-align: center;
}
body.woocommerce-cart .hype-cartPage .actions {
  padding: 16px !important;
  background: var(--cart-mist);
}
body.woocommerce-cart .hype-cartPage .actions .coupon,
body.woocommerce-cart .hype-cartPage .actions .coupon input,
body.woocommerce-cart .hype-cartPage .actions .coupon button { min-height: 44px; }
body.woocommerce-cart .hype-cartPage .actions .coupon input {
  width: 180px;
  padding: 10px 12px;
  border: 1px solid var(--cart-line);
  border-radius: 6px;
  font-size: 15px;
}
body.woocommerce-cart .hype-cartPage .actions .coupon button,
body.woocommerce-cart .hype-cartPage .cart_totals .button,
body.woocommerce-cart .hype-cartPage .cross-sells .add_to_cart_button {
  min-height: 44px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}
body.woocommerce-cart .hype-cartPage .cart-collaterals {
  /* Existing woocommerce.css places cross-sells and totals in the parent
     two-column grid; keep that structure and only style its children here. */
  display: contents;
}
body.woocommerce-cart .hype-cartPage .cross-sells > h2,
body.woocommerce-cart .hype-cartPage .cart_totals h2 {
  margin: 0 0 20px;
  color: var(--cart-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
body.woocommerce-cart .hype-cartPage .cross-sells ul.products {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.woocommerce-cart .hype-cartPage .cross-sells li.product {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  column-gap: 16px;
  align-items: center;
  width: 100% !important;
  float: none !important;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--cart-line);
  border-radius: 8px;
  background: #fff;
}
body.woocommerce-cart .hype-cartPage .cross-sells ul.products li.product a.woocommerce-loop-product__link {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 80px minmax(0, 1fr);
  column-gap: 16px;
  align-items: center;
  color: var(--cart-ink);
}
body.woocommerce-cart .hype-cartPage .cross-sells ul.products li.product a.woocommerce-loop-product__link img {
  grid-row: 1 / span 3;
  width: 80px;
  height: 80px;
  margin: 0;
  object-fit: cover;
  border-radius: 6px;
}
body.woocommerce-cart .hype-cartPage .cross-sells ul.products li.product .woocommerce-loop-product__title {
  text-transform:none;
  letter-spacing:normal;
  padding:0;
  margin: 0;
  color: var(--cart-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}
body.woocommerce-cart .hype-cartPage .cross-sells .price { grid-column:2; font-size: 14px; }
body.woocommerce-cart .hype-cartPage .cross-sells .onsale { top: 8px; left: 8px; font-size: 11px; }
body.woocommerce-cart .hype-cartPage .cross-sells .add_to_cart_button { grid-column: 2; width: fit-content; margin: 10px 0 0; padding: 10px 16px; }
body.woocommerce-cart .hype-cartPage .cart_totals {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--cart-line);
  border-radius: 10px;
  background: var(--cart-mist);
}
body.woocommerce-cart .hype-cartPage .cart_totals .shop_table { width: 100%; margin: 0; }
body.woocommerce-cart .hype-cartPage .cart_totals th,
body.woocommerce-cart .hype-cartPage .cart_totals td { padding: 12px 0; border: 0; }
body.woocommerce-cart .hype-cartPage .cart_totals .order-total th,
body.woocommerce-cart .hype-cartPage .cart_totals .order-total td { padding-top: 20px; border-top: 1px solid var(--cart-line); }
body.woocommerce-cart .hype-cartPage .cart_totals .order-total .amount { font-size: 22px; font-weight: 800; }
body.woocommerce-cart .hype-cartPage .__no-shipping-text td { padding: 16px 0; color: var(--cart-muted); font-size: 13px; line-height: 1.5; }
body.woocommerce-cart .hype-cartPage .wc-proceed-to-checkout { margin-top: 20px; }
body.woocommerce-cart .hype-cartPage .wc-proceed-to-checkout .checkout-button { width: 100%; text-align: center; }
body.woocommerce-cart .hype-cartPage .hype-cart-coupon { margin-top: 16px; }
body.woocommerce-cart .hype-cartPage .hype-cart-coupon summary { padding: 10px 0; color: var(--cart-muted); font-size: 14px; cursor: pointer; }
body.woocommerce-cart .hype-cartPage .hype-cart-coupon form { display: flex; gap: 8px; margin: 0; }
body.woocommerce-cart .hype-cartPage .hype-cart-coupon input { min-width: 0; height: 44px; flex: 1; padding: 10px; border: 1px solid var(--cart-line); border-radius: 6px; }
body.woocommerce-cart .hype-cartPage .brikpanel-cshare-wrap { margin-top: 16px; }
body.woocommerce-cart .hype-cartPage .brikpanel-cshare-btn { min-height: 44px; border-radius: 6px; }
@media (max-width: 767px) {
  body.woocommerce-cart .hype-cartPage .shop_table thead { display: none; }
  body.woocommerce-cart .hype-cartPage .woocommerce-cart-form__contents { border: 0; }
  body.woocommerce-cart .hype-cartPage .shop_table tbody td { padding: 10px 0; border: 0; }
  body.woocommerce-cart .hype-cartPage .shop_table tbody tr.cart_item {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 12px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 16px;
    border: 1px solid var(--cart-line);
    border-radius: 8px;
  }
  body.woocommerce-cart .hype-cartPage .shop_table tbody tr.cart_item > td { padding: 0; }
  body.woocommerce-cart .hype-cartPage table.shop_table.cart td.product-remove,
  body.woocommerce-cart .hype-cartPage table.shop_table.cart td.product-thumbnail,
  body.woocommerce-cart .hype-cartPage table.shop_table.cart td.product-subtotal { display: none !important; }
  body.woocommerce-cart .hype-cartPage table.shop_table.cart td.product-name {
    grid-column:1 / -1;
    display: grid !important;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
    align-items: center;
  }
  body.woocommerce-cart .hype-cartPage .product-name .hype-co-thumb { display: block; grid-row: 1 / span 2; }
  body.woocommerce-cart .hype-cartPage .product-name .hype-co-thumb img { width: 60px; height: 60px; }
  body.woocommerce-cart .hype-cartPage .product-name .hype-co-name { min-width: 0; font-size: 14px; }
  body.woocommerce-cart .hype-cartPage .product-price { flex: 0 0 72px; font-size: 14px; }
  body.woocommerce-cart .hype-cartPage .product-quantity { justify-self:end; }
  body.woocommerce-cart .hype-cartPage .actions { margin-top: 12px; padding: 12px 0 !important; background: transparent; }
  body.woocommerce-cart .hype-cartPage .actions .coupon { display: flex; gap: 8px; }
  body.woocommerce-cart .hype-cartPage .actions .coupon input { min-width: 0; width: auto; flex: 1; }
  body.woocommerce-cart .hype-cartPage .actions > .button { width: 100%; margin-top: 8px; }
  body.woocommerce-cart .hype-cartPage .cart-collaterals { display: block; margin-top: 28px; }
  body.woocommerce-cart .hype-cartPage .cart_totals { margin-top: 28px; padding: 16px; }
  body.woocommerce-cart .hype-cartPage .cross-sells li.product { width: 100% !important; float: none !important; }
}

body.woocommerce-cart .hype-cartPage table.shop_table.cart td.product-remove,
body.woocommerce-cart .hype-cartPage table.shop_table.cart td.product-thumbnail,
body.woocommerce-cart .hype-cartPage table.shop_table.cart td.product-subtotal { display:none!important; }
body.woocommerce-cart .hype-cartPage .actions .coupon { display:none; }
body.woocommerce-cart .hype-cartPage .cart_totals { padding:24px; }
@media(max-width:767px) { body.woocommerce-cart .hype-cartPage .cart_totals { padding:16px; } }

body.woocommerce-cart .hype-cartPage table.woocommerce-cart-form__contents { border:0; box-shadow:none; }
body.woocommerce-cart .hype-cartPage table.shop_table.cart tr.cart_item > td { border:0; }
