/* Line items in the cart, drawer and checkout (LineItems, design "Order line
   E"): icon rows for the details, the line total with a green Save tag. */
.xr-item-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  color: var(--xr-c-ink, #1B1A17);
  font-family: var(--xr-font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
}

.xr-item-meta__row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.xr-item-meta__icon {
  flex: none;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--xr-c-orange, #E8762C);
  stroke-width: 2.2;
}

.xr-line-price {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.xr-line-price__now,
.xr-line-price__now .amount,
.xr-line-price__now bdi {
  color: var(--xr-c-ink, #1B1A17);
  font-family: var(--xr-font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
}

.xr-save-tag {
  display: inline-block;
  padding: 2px 7px;
  color: var(--xr-c-white, #FFFFFF);
  font-family: var(--xr-font-body);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.5px;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
  background: #1C7A43;
  transform: skewX(-8deg);
}

/* Page price styles (orange totals, ink amounts) reach into the tag. */
.xr-line-price .xr-save-tag .amount,
.xr-line-price .xr-save-tag bdi,
.xr-store-cart .woocommerce-cart-form td.product-subtotal .xr-save-tag .amount,
.xr-store-cart .woocommerce-cart-form td.product-subtotal .xr-save-tag .amount bdi,
.xr-store-checkout table.woocommerce-checkout-review-order-table td.product-total .xr-save-tag .amount,
.xr-store-checkout table.woocommerce-checkout-review-order-table td.product-total .xr-save-tag bdi {
  color: inherit;
  font: inherit;
}

/* Cart page: the per-ticket price column is the maths the line total
   replaces; the quantity buttons stay. */
.xr-store-cart .woocommerce-cart-form .product-price {
  display: none;
}

.xr-store-cart .woocommerce-cart-form td.product-subtotal .xr-line-price__now .amount,
.xr-store-cart .woocommerce-cart-form td.product-subtotal .xr-line-price__now .amount bdi {
  color: var(--xr-c-ink, #1B1A17);
  font-family: var(--xr-font-display);
  font-size: 24px;
}

/* Drawer: the line total sits beside the quantity buttons. */
.bde-mini-cart .bde-mini-cart-quantity {
  align-items: center;
}

.bde-mini-cart .bde-mini-cart-item-title .xr-item-meta,
.bde-mini-cart a.bde-mini-cart-item-title:hover .xr-item-meta {
  color: var(--xr-c-ink, #1B1A17);
  font-size: 13px;
}

/* Outranks Breakdance's .bde-mini-cart-offcanvas .woocommerce-Price-amount bdi. */
.bde-mini-cart .mini_cart_item .xr-line-price__now .woocommerce-Price-amount,
.bde-mini-cart .mini_cart_item .xr-line-price__now .woocommerce-Price-amount bdi {
  color: var(--xr-c-ink, #1B1A17);
  font-family: var(--xr-font-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
}

.bde-mini-cart .mini_cart_item .xr-save-tag .woocommerce-Price-amount,
.bde-mini-cart .mini_cart_item .xr-save-tag .woocommerce-Price-amount bdi {
  color: inherit;
  font: inherit;
}

/* Checkout: total on the right of each line. */
.xr-store-checkout table.woocommerce-checkout-review-order-table td.product-total {
  width: 1%;
  padding-right: 0;
  padding-left: 12px;
  text-align: right;
  white-space: nowrap;
  vertical-align: top;
}

.xr-store-checkout table.woocommerce-checkout-review-order-table td.product-name {
  padding-left: 0;
}

.xr-store-checkout table.woocommerce-checkout-review-order-table td.product-name .xr-item-meta {
  grid-column: 2;
  margin-top: 0;
}
