/* =========================================================
   PromotionOnline – Enterprise Cart CSS
   Version: v1.2.0
   FULL REPLACEMENT
   ========================================================= */

/* ---------------------------------------------------------
   Cart table baseline
--------------------------------------------------------- */
body.woocommerce-cart .shop_table.cart,
body.woocommerce-cart table.shop_table.cart {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

body.woocommerce-cart .shop_table.cart thead th,
body.woocommerce-cart table.shop_table.cart thead th {
	vertical-align: bottom;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0;
	padding-bottom: 18px;
}

body.woocommerce-cart .shop_table.cart tbody td,
body.woocommerce-cart table.shop_table.cart tbody td {
	vertical-align: middle;
}

/* ---------------------------------------------------------
   Column sizing
--------------------------------------------------------- */
body.woocommerce-cart .shop_table.cart .product-remove,
body.woocommerce-cart table.shop_table.cart .product-remove {
	width: 42px;
	padding-left: 0 !important;
	padding-right: 0 !important;
	text-align: center;
}

body.woocommerce-cart .shop_table.cart .product-thumbnail,
body.woocommerce-cart table.shop_table.cart .product-thumbnail {
	width: 95px;
	padding-left: 8px !important;
	padding-right: 8px !important;
	text-align: center;
}

body.woocommerce-cart .shop_table.cart .product-name,
body.woocommerce-cart table.shop_table.cart .product-name {
	padding-left: 14px !important;
	padding-right: 14px !important;
}

body.woocommerce-cart .shop_table.cart .product-price,
body.woocommerce-cart table.shop_table.cart .product-price {
	width: 120px;
	text-align: center;
}

body.woocommerce-cart .shop_table.cart .product-quantity,
body.woocommerce-cart table.shop_table.cart .product-quantity {
	width: 95px;
	text-align: center;
}

body.woocommerce-cart .shop_table.cart .product-subtotal,
body.woocommerce-cart table.shop_table.cart .product-subtotal {
	width: 140px;
	text-align: right;
}

/* ---------------------------------------------------------
   Remove icon
--------------------------------------------------------- */
body.woocommerce-cart td.product-remove {
	vertical-align: middle !important;
}

body.woocommerce-cart td.product-remove a.remove {
	position: relative;
	font-size: 0 !important; /* döljer Woo × */
	width: 22px !important;
	height: 22px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 auto !important;
	float: none !important;
	text-align: center !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	text-decoration: none !important;
}

body.woocommerce-cart td.product-remove a.remove::before {
	content: "\f2ed";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 13px; /* mindre soptunna */
	line-height: 1;
	color: #ef6b6b;
}

body.woocommerce-cart td.product-remove a.remove:hover::before {
	color: #d94b4b;
}

/* ---------------------------------------------------------
   Product thumbnail
--------------------------------------------------------- */
body.woocommerce-cart td.product-thumbnail {
	vertical-align: middle !important;
}

body.woocommerce-cart td.product-thumbnail a,
body.woocommerce-cart td.product-thumbnail img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

body.woocommerce-cart td.product-thumbnail img {
	width: 72px !important;
	max-width: 72px !important;
	height: auto !important;
}

/* ---------------------------------------------------------
   Product content block
--------------------------------------------------------- */
body.woocommerce-cart td.product-name {
	vertical-align: middle !important;
}

body.woocommerce-cart td.product-name > a,
body.woocommerce-cart td.product-name .product-name a {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

body.woocommerce-cart td.product-name .variation,
body.woocommerce-cart td.product-name .wc-item-meta,
body.woocommerce-cart td.product-name .po-cart-meta-line {
	margin-top: 8px;
	font-size: 12px;
	line-height: 1.55;
}

/* ---------------------------------------------------------
   Upload area
--------------------------------------------------------- */
body.woocommerce-cart .po-logo-upload,
body.woocommerce-cart .po-cart-upload,
body.woocommerce-cart .po-upload-wrap {
	margin-top: 10px;
}

body.woocommerce-cart .po-logo-upload__button,
body.woocommerce-cart .po-upload-btn,
body.woocommerce-cart button.po-upload-btn,
body.woocommerce-cart .po-cart-upload-button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 240px;
	height: 38px;
	padding: 0 20px !important;
	line-height: 1 !important;
	text-align: center !important;
	background: #79b446 !important;
	border: 1px solid #79b446 !important;
	color: #fff !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	border-radius: 2px !important;
	box-shadow: none !important;
	cursor: pointer;
}

body.woocommerce-cart .po-logo-upload__button:hover,
body.woocommerce-cart .po-upload-btn:hover,
body.woocommerce-cart button.po-upload-btn:hover,
body.woocommerce-cart .po-cart-upload-button:hover {
	background: #6ea33f !important;
	border-color: #6ea33f !important;
	color: #fff !important;
}

body.woocommerce-cart .po-logo-upload__input {
	position: absolute !important;
	left: -99999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

body.woocommerce-cart .po-logo-status,
body.woocommerce-cart .po-logo-filename,
body.woocommerce-cart .po-upload-status {
	display: block;
	margin-top: 10px;
	font-size: 13px;
	line-height: 1.4;
}

body.woocommerce-cart .po-logo-status--missing,
body.woocommerce-cart .po-upload-status--missing {
	color: #b00020;
	font-weight: 700;
}

body.woocommerce-cart .po-logo-status--ok,
body.woocommerce-cart .po-logo-filename,
body.woocommerce-cart .po-upload-status--ok {
	color: #2e7d32;
	font-weight: 700;
}

body.woocommerce-cart .po-logo-help,
body.woocommerce-cart .po-upload-help {
	margin-top: 8px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.45;
	color: #1f2937;
}

/* ---------------------------------------------------------
   Quantity alignment
--------------------------------------------------------- */
body.woocommerce-cart .product-quantity .quantity,
body.woocommerce-cart .product-quantity .po-cart-qty-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

body.woocommerce-cart .product-quantity input.qty {
	max-width: 74px;
	text-align: center;
}

body.woocommerce-cart .product-quantity strong,
body.woocommerce-cart .product-quantity .po-b2b-locked-qty {
	display: inline-block;
	min-width: 32px;
	text-align: center;
	font-weight: 700;
}

/* ---------------------------------------------------------
   Totals box
--------------------------------------------------------- */
body.woocommerce-cart .cart-collaterals {
	margin-top: 28px;
}

body.woocommerce-cart .cart_totals,
body.woocommerce-cart .cart_totals table {
	width: 100%;
}

body.woocommerce-cart .cart_totals .order-total td,
body.woocommerce-cart .cart_totals .order-total .amount {
	font-weight: 800;
	font-size: 18px;
}

/* ---------------------------------------------------------
   Checkout CTA
--------------------------------------------------------- */
body.woocommerce-cart .cart_totals .wc-proceed-to-checkout {
	text-align: right;
	margin-top: 18px;
}

body.woocommerce-cart .cart_totals a.checkout-button,
body.woocommerce-cart .cart_totals .checkout-button,
body.woocommerce-cart .cart_totals .button.checkout-button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 210px;
	height: 42px;
	padding: 0 22px !important;
	background: #79b446 !important;
	border: 1px solid #79b446 !important;
	color: #fff !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	text-transform: uppercase !important;
	border-radius: 6px !important;
	box-shadow: none !important;
	text-align: center !important;
}

body.woocommerce-cart .cart_totals a.checkout-button:hover,
body.woocommerce-cart .cart_totals .checkout-button:hover,
body.woocommerce-cart .cart_totals .button.checkout-button:hover {
	background: #6ea33f !important;
	border-color: #6ea33f !important;
	color: #fff !important;
}

body.woocommerce-cart .cart_totals a.checkout-button:after,
body.woocommerce-cart .cart_totals .checkout-button:after,
body.woocommerce-cart .cart_totals .button.checkout-button:after {
	margin-left: 8px;
	position: relative;
	top: 0;
}

/* ---------------------------------------------------------
   Mobile
--------------------------------------------------------- */
@media (max-width: 991px) {
	body.woocommerce-cart .shop_table.cart .product-price,
	body.woocommerce-cart .shop_table.cart .product-quantity,
	body.woocommerce-cart .shop_table.cart .product-subtotal {
		width: auto;
	}
}

@media (max-width: 767px) {
	body.woocommerce-cart .shop_table.cart .product-remove {
		width: 36px;
	}

	body.woocommerce-cart .shop_table.cart .product-thumbnail {
		width: 72px;
	}

	body.woocommerce-cart td.product-thumbnail img {
		width: 60px !important;
		max-width: 60px !important;
	}

	body.woocommerce-cart .po-logo-upload__button,
	body.woocommerce-cart .po-upload-btn,
	body.woocommerce-cart .po-cart-upload-button {
		min-width: 220px;
	}

	body.woocommerce-cart .cart_totals .wc-proceed-to-checkout {
		text-align: left;
	}

	body.woocommerce-cart .cart_totals a.checkout-button,
	body.woocommerce-cart .cart_totals .checkout-button,
	body.woocommerce-cart .cart_totals .button.checkout-button {
		width: 100%;
		min-width: 100%;
	}
}