.woocommerce-cart h1.entry-title {
    color: #0f172a !important;
    margin-bottom: 32px !important;
    padding-bottom: 10px;
    border-bottom: 2px solid #0f172a !important;
}

.woocommerce-cart .custom-cart-container .custom-cart-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0px, 1fr));
    align-items: start;
    gap: 30px;
}

.woocommerce-cart .custom-cart-container .custom-cart-grid form.woocommerce-cart-form {
    grid-column: span 2 / span 2;
}

.woocommerce-cart .custom-cart-container .custom-cart-grid .custom-cart-items-wrapper .custom-cart-items-header {
    display: grid;
    color: #2D161E;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgb(45 22 30 / 20%);
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}

.woocommerce-cart .custom-cart-container .custom-cart-grid .custom-cart-items-wrapper .custom-cart-items-header .custom-cart-header-product.col-span-6 {
    grid-column: span 6 / span 6;
}

.woocommerce-cart .custom-cart-container .custom-cart-grid .custom-cart-items-wrapper .col-span-2 {
    grid-column: span 2 / span 2;
}

.woocommerce-cart .custom-cart-container .custom-cart-grid .custom-cart-items-wrapper .custom-cart-cards-stack .custom-cart-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid #4C0F2E !important;
    margin-top: 16px;
    border-radius: 12px;
    background: #ffffff;
    padding: 16px;
}

.woocommerce-cart .custom-cart-container .custom-cart-grid .custom-cart-items-wrapper .custom-cart-cards-stack .custom-cart-card .custom-cart-card-inner {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
    gap: 16px;
}

.woocommerce-cart .custom-cart-container .custom-cart-grid .custom-cart-items-wrapper .custom-cart-card .custom-cart-product-column {
    grid-column: span 6 / span 6;
    align-items: center;
    display: flex;
    gap: 16px;
}

.woocommerce-cart .custom-cart-container .custom-cart-grid .custom-cart-items-wrapper .custom-cart-card .custom-cart-product-column .custom-cart-product-image {
    position: relative;
}

.woocommerce-cart .custom-cart-container .custom-cart-grid .custom-cart-items-wrapper .custom-cart-card .custom-cart-product-column .custom-cart-product-image .custom-product-thumbnail-link img {
    width: 96px;
    height: 96px;
    object-fit: cover !important;
    border-radius: 8px !important;
    border: 1px solid #c5b9b5;
    display: block;
}

.woocommerce-cart .custom-cart-container .custom-cart-grid .custom-cart-items-wrapper .custom-cart-card .custom-cart-product-column .custom-cart-product-image .custom-remove-item {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ef4444 !important;
    color: #ffffff !important;
    border-radius: 9999px !important;
    width: 20px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
    z-index: 20;
    transition: all 0.2s ease !important;
    font-weight: bold !important;
}

.woocommerce-cart .custom-cart-container .custom-cart-grid .custom-cart-items-wrapper .custom-cart-card .custom-cart-product-column .custom-cart-product-info h3 {
    color: #2D161E;
    margin-bottom: 8px;
    line-height: 1;
}

.woocommerce-cart .custom-cart-container .custom-cart-grid .custom-cart-items-wrapper .custom-cart-card .custom-cart-product-column .custom-cart-product-info h3 a{
    font-weight: 500;
    font-size: 20px;
}

.woocommerce-cart .custom-cart-container .custom-cart-grid .custom-cart-items-wrapper .custom-cart-card .custom-cart-product-column .custom-product-meta {
    color: #2D161E;
    font-size: 12px;
    line-height: 16px;
}

/* Quantity Input Styling (Hiding native arrows) */
.woocommerce-cart .custom-cart-container .custom-cart-grid .custom-cart-items-wrapper .custom-cart-cards-stack .custom-cart-card .custom-cart-card-inner .qty-input::-webkit-outer-spin-button,
.woocommerce-cart .custom-cart-container .custom-cart-grid .custom-cart-items-wrapper .custom-cart-cards-stack .custom-cart-card .custom-cart-card-inner .qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.woocommerce-cart .custom-cart-container .custom-cart-grid .custom-cart-items-wrapper .custom-cart-cards-stack .custom-cart-card .custom-cart-card-inner .qty-input[type=number] {
	-moz-appearance: textfield;
}

.woocommerce-cart .custom-cart-container .custom-cart-grid .custom-cart-items-wrapper .custom-cart-cards-stack .custom-cart-card .custom-cart-card-inner .custom-quantity-selector {
	display: inline-flex;
	align-items: center;
	border: 1px solid #d1d5db !important;
	border-radius: 6px !important;
	background: #ffffff;
}

.woocommerce-cart .custom-cart-container .custom-cart-grid .custom-cart-items-wrapper .custom-cart-cards-stack .custom-cart-card .custom-cart-card-inner .qty-btn {
	background: none !important;
	border: none !important;
	cursor: pointer;
	font-size: 1.1rem;
	padding: 0.25rem 0.75rem !important;
	transition: background-color 0.2s, color 0.2s;
	outline: none;
    box-shadow: none;
}

.woocommerce-cart .custom-cart-container .custom-cart-grid .custom-cart-items-wrapper .custom-cart-cards-stack .custom-cart-card .custom-cart-card-inner .qty-btn:hover {
	color: #111827;
}

.woocommerce-cart .custom-cart-container .custom-cart-grid .custom-cart-items-wrapper .custom-cart-cards-stack .custom-cart-card .custom-cart-card-inner .qty-input {
	border: none !important;
	width: 2.5rem !important;
	text-align: center !important;
	font-size: 0.95rem !important;
	font-weight: 500 !important;
	color: #111827 !important;
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.woocommerce-cart .custom-cart-container .custom-cart-grid .custom-cart-items-wrapper .custom-cart-actions {
        margin-top: 16px;
    padding-top: 24px;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
}