/**
 * Beautiful Armenian Cart Page
 * Modern, clean design with Armenian fonts
 */

/* ============================================
   ARMENIAN FONT FOR CART PAGE
   ============================================ */
.custom-cart-page,
.custom-cart-page *,
.woocommerce-cart,
.woocommerce-cart * {
	font-family: 'Noto Sans Armenian', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* ============================================
   CART TABLE - Beautiful Design
   ============================================ */
.custom-cart-page .woocommerce-cart-form__contents {
	width: 100% !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	background: #fff !important;
	border-radius: 12px !important;
	overflow: hidden !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

.custom-cart-page .woocommerce-cart-form__contents thead {
	background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%) !important;
}

.custom-cart-page .woocommerce-cart-form__contents thead th {
	padding: 18px 20px !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	color: #333 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	border-bottom: 2px solid #e0e0e0 !important;
	text-align: left !important;
}

.custom-cart-page .woocommerce-cart-form__contents tbody tr {
	border-bottom: 1px solid #f0f0f0 !important;
	transition: all 0.2s ease !important;
}

.custom-cart-page .woocommerce-cart-form__contents tbody tr:hover {
	background: #fafafa !important;
}

.custom-cart-page .woocommerce-cart-form__contents tbody td {
	padding: 20px !important;
	vertical-align: middle !important;
}

/* ============================================
   PRODUCT REMOVE BUTTON - Single X
   ============================================ */
.custom-cart-page .product-remove .remove {
	width: 32px !important;
	height: 32px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: #fff !important;
	border: 2px solid #28462F !important;
	border-radius: 50% !important;
	color: #28462F !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	transition: all 0.2s ease !important;
	line-height: 1 !important;
	position: relative !important;
}

/* Hide duplicate X - show only one */
.custom-cart-page .product-remove .remove:before,
.custom-cart-page .product-remove .remove:after {
	display: none !important;
	content: none !important;
}

/* Make sure only text content shows */
.custom-cart-page .product-remove .remove {
	font-size: 20px !important;
}

.custom-cart-page .product-remove .remove:hover {
	background: #28462F !important;
	color: #fff !important;
	transform: scale(1.1) !important;
	box-shadow: 0 3px 8px rgba(255, 68, 68, 0.3) !important;
}

/* ============================================
   PRODUCT THUMBNAIL
   ============================================ */
.custom-cart-page .product-thumbnail img {
	width: 80px !important;
	height: 80px !important;
	object-fit: cover !important;
	border-radius: 8px !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

/* ============================================
   PRODUCT NAME
   ============================================ */
.custom-cart-page .product-name {
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #333 !important;
}

.custom-cart-page .product-name a {
	color: #333 !important;
	text-decoration: none !important;
	transition: color 0.2s ease !important;
}

.custom-cart-page .product-name a:hover {
	color: #28462F !important;
}

/* ============================================
   PRODUCT PRICE
   ============================================ */
.custom-cart-page .product-price {
	font-size: 16px !important;
	font-weight: 700 !important;
	color: #333 !important;
}

/* ============================================
   QUANTITY INPUT - Compact
   ============================================ */
.custom-cart-page .product-quantity .quantity {
	display: inline-flex !important;
	border: 1px solid #e0e0e0 !important;
	border-radius: 6px !important;
	overflow: hidden !important;
	background: #fff !important;
}

.custom-cart-page .product-quantity .quantity input.qty {
	width: 50px !important;
	height: 40px !important;
	border: none !important;
	text-align: center !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #333 !important;
	background: #fff !important;
}

.custom-cart-page .product-quantity .quantity .minus,
.custom-cart-page .product-quantity .quantity .plus {
	width: 32px !important;
	height: 40px !important;
	background: #f5f5f5 !important;
	border: none !important;
	cursor: pointer !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	color: #333 !important;
	transition: all 0.2s ease !important;
}

.custom-cart-page .product-quantity .quantity .minus:hover,
.custom-cart-page .product-quantity .quantity .plus:hover {
	background: #e0e0e0 !important;
	color: #333 !important;
}

/* ============================================
   PRODUCT SUBTOTAL
   ============================================ */
.custom-cart-page .product-subtotal {
	font-size: 16px !important;
	font-weight: 700 !important;
	color: #28462F !important;
}

/* ============================================
   CART ACTIONS - Coupon & Update
   ============================================ */
.custom-cart-page .cart-actions {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 15px !important;
	align-items: center !important;
	padding: 20px 0 !important;
}

.custom-cart-page .coupon {
	display: flex !important;
	gap: 10px !important;
	align-items: center !important;
	flex: 1 1 auto !important;
}

.custom-cart-page .coupon input[type="text"] {
	padding: 12px 16px !important;
	border: 2px solid #e0e0e0 !important;
	border-radius: 8px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	color: #333 !important;
	flex: 1 1 auto !important;
	min-width: 200px !important;
	transition: border-color 0.2s ease !important;
}

.custom-cart-page .coupon input[type="text"]:focus {
	border-color: #28462F !important;
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1) !important;
}

.custom-cart-page .coupon button,
.custom-cart-page .cart-actions button {
	padding: 12px 24px !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	border-radius: 8px !important;
	border: none !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
}

.custom-cart-page .coupon button {
	background: #28462F !important;
	color: #fff !important;
}

.custom-cart-page .coupon button:hover {
	background: #28462F !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3) !important;
}

.custom-cart-page .cart-actions button[name="update_cart"] {
	background: #666 !important;
	color: #fff !important;
}

.custom-cart-page .cart-actions button[name="update_cart"]:hover {
	background: #555 !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* ============================================
   CART TOTALS - Beautiful Sidebar
   ============================================ */
.custom-cart-page .cart_totals {
	background: #fff !important;
	border-radius: 12px !important;
	padding: 30px !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
	border: 1px solid #f0f0f0 !important;
}

.custom-cart-page .cart_totals h2 {
	font-size: 24px !important;
	font-weight: 800 !important;
	color: #333 !important;
	margin-bottom: 25px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
}

.custom-cart-page .cart_totals table {
	width: 100% !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	margin-bottom: 25px !important;
}

.custom-cart-page .cart_totals table th {
	padding: 12px 0 !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	color: #666 !important;
	text-align: left !important;
	border-bottom: 1px solid #f0f0f0 !important;
}

.custom-cart-page .cart_totals table td {
	padding: 12px 0 !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	color: #333 !important;
	text-align: right !important;
	border-bottom: 1px solid #f0f0f0 !important;
}

.custom-cart-page .cart_totals .order-total th,
.custom-cart-page .cart_totals .order-total td {
	font-size: 20px !important;
	font-weight: 800 !important;
	color: #28462F !important;
	border-bottom: none !important;
	padding-top: 20px !important;
	border-top: 2px solid #28462F !important;
}

/* ============================================
   PROCEED TO CHECKOUT BUTTON
   ============================================ */
.custom-cart-page .wc-proceed-to-checkout {
	margin-top: 25px !important;
}

.custom-cart-page .wc-proceed-to-checkout .checkout-button,
.custom-cart-page .wc-proceed-to-checkout a.button {
	width: 100% !important;
	padding: 16px 30px !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 1px !important;
	border-radius: 10px !important;
	background: linear-gradient(135deg, #28462F 0%, #28462F 100%) !important;
	color: #fff !important;
	border: none !important;
	text-align: center !important;
	text-decoration: none !important;
	display: block !important;
	transition: all 0.3s ease !important;
	box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3) !important;
}

.custom-cart-page .wc-proceed-to-checkout .checkout-button:hover,
.custom-cart-page .wc-proceed-to-checkout a.button:hover {
	background: linear-gradient(135deg, #28462F 0%, #388E3C 100%) !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4) !important;
}

/* ============================================
   FREE SHIPPING PROGRESS BAR
   ============================================ */
.custom-cart-page .wd-free-progress-bar {
	margin: 20px 0 !important;
	padding: 18px !important;
	background: linear-gradient(135deg, #E8F5E9 0%, #F1F8E9 100%) !important;
	border-radius: 12px !important;
	border: 2px solid #28462F !important;
}

.custom-cart-page .wd-free-progress-bar .progress-msg p {
	font-size: 14px !important;
	font-weight: 700 !important;
	color: #2E7D32 !important;
	margin: 0 0 12px 0 !important;
	text-align: center !important;
}

.custom-cart-page .wd-free-progress-bar .progress-area {
	height: 14px !important;
	background: #C8E6C9 !important;
	border-radius: 12px !important;
	overflow: hidden !important;
}

.custom-cart-page .wd-free-progress-bar .progress-bar {
	height: 100% !important;
	background: linear-gradient(90deg, #28462F 0%, #28462F 100%) !important;
	border-radius: 12px !important;
	transition: width 0.4s ease !important;
}

/* ============================================
   WOOCOMMERCE MESSAGES - Beautiful
   ============================================ */
.custom-cart-page .woocommerce-message,
.woocommerce-cart .woocommerce-message {
	background: linear-gradient(135deg, #28462F 0%, #28462F 100%) !important;
	color: #fff !important;
	padding: 15px 20px 15px 50px !important;
	border-radius: 10px !important;
	border-left: 4px solid #2E7D32 !important;
	margin-bottom: 25px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	box-shadow: 0 3px 10px rgba(76, 175, 80, 0.2) !important;
	position: relative !important;
	display: block !important;
}

.custom-cart-page .woocommerce-message:before,
.woocommerce-cart .woocommerce-message:before {
	content: '✓' !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	color: #fff !important;
	position: absolute !important;
	left: 20px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	display: inline-block !important;
	line-height: 1 !important;
}

.custom-cart-page .woocommerce-error,
.woocommerce-cart .woocommerce-error {
	background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%) !important;
	color: #fff !important;
	padding: 15px 20px !important;
	border-radius: 10px !important;
	border-left: 4px solid #c62828 !important;
	margin-bottom: 25px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	box-shadow: 0 3px 10px rgba(244, 67, 54, 0.2) !important;
}

.custom-cart-page .woocommerce-info,
.woocommerce-cart .woocommerce-info {
	background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%) !important;
	color: #fff !important;
	padding: 15px 20px !important;
	border-radius: 10px !important;
	border-left: 4px solid #1565C0 !important;
	margin-bottom: 25px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	box-shadow: 0 3px 10px rgba(33, 150, 243, 0.2) !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
	.custom-cart-page .woocommerce-cart-form__contents {
		font-size: 12px !important;
	}
	
	.custom-cart-page .woocommerce-cart-form__contents thead th {
		padding: 12px 10px !important;
		font-size: 12px !important;
	}
	
	.custom-cart-page .woocommerce-cart-form__contents tbody td {
		padding: 15px 10px !important;
	}
	
	.custom-cart-page .product-thumbnail img {
		width: 60px !important;
		height: 60px !important;
	}
	
	.custom-cart-page .cart-actions {
		flex-direction: column !important;
	}
	
	.custom-cart-page .coupon {
		width: 100% !important;
		flex-direction: column !important;
	}
	
	.custom-cart-page .coupon input[type="text"] {
		width: 100% !important;
	}
}

/* ============================================
   CHECKOUT STEPS BREADCRUMB - CUSTOM CART
   ============================================ */
.wd-checkout-steps,
.wd-checkout-steps * {
	font-family: 'Noto Sans Armenian', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

.wd-checkout-steps {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 20px 15px !important;
	gap: 8px 12px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
}

.wd-checkout-steps li {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	margin: 0 !important;
	padding: 0 !important;
}

.wd-checkout-steps li a,
.wd-checkout-steps li span {
	display: inline-flex !important;
	align-items: center !important;
	padding: 8px 14px !important;
	border-radius: 6px !important;
	text-decoration: none !important;
	color: #334155 !important;
	background: #F3F4F6 !important;
	border: 2px solid transparent !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	font-size: 14px !important;
	font-weight: 500 !important;
}

.wd-checkout-steps li.step-active a,
.wd-checkout-steps li.step-active span {
	color: #FFFFFF !important;
	background: #233E2A !important;
	border-color: #233E2A !important;
	font-weight: 600 !important;
}

.wd-checkout-steps li.step-active a::after,
.wd-checkout-steps li.step-active span::after {
	display: none !important;
	content: none !important;
}

.wd-checkout-steps li.step-inactive a:hover {
	color: #233E2A !important;
	border-color: #233E2A !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 2px 8px rgba(35, 62, 42, 0.2) !important;
}

.wd-checkout-steps li:not(:last-child)::after {
	content: '→' !important;
	color: #9CA3AF !important;
	font-size: 18px !important;
	font-weight: 300 !important;
	margin: 0 4px !important;
}

.wd-checkout-steps li.step-active:not(:last-child)::after {
	color: #233E2A !important;
	font-weight: 600 !important;
}

.wd-page-title.page-title-default {
	background: #F0F5F2 !important;
	padding: 60px 0 !important;
	color: #ffffff !important;
	border: 1px solid rgba(255, 255, 255, 0.15) !important;
}
