/* === INHERITED PROFESSIONAL STYLES FROM index.php === */
.item-img-cart {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 12px;
}

/* === PROFESSIONAL QTY +/- BUTTONS (Same as index.php) === */
.qty-btn-box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1.5px solid #91f2be;;
	border-radius: 50px;
	padding: 4px 6px;
	background: #00d6586e;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.qty-btn-box:hover {
	border-color: var(--theme-color);
	box-shadow: 0 0 0 2px rgba(25, 135, 84, 0.15);
}

.qty-btn-box i {
	cursor: pointer;
	padding: 2px 5px;
	transition: transform 0.15s, color 0.2s;
}

.qty-btn-box i:hover {
	transform: scale(1.25);
}

.qty-btn-box span {
	min-width: 24px;
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	color: #1e293b;
}

/* === RED DELETE/TRASH ICON (Same as index.php) === */
.remove-item-btn {
	color: #dc3545 !important;
	transition: all 0.2s ease;
	background: none;
	border: none;
	padding: 8px;
}

.remove-item-btn:hover {
	color: #a71d2a !important;
	transform: scale(1.1);
	background: #fff5f5;
	border-radius: 50%;
}

.remove-item-btn i {
	color: #dc3545 !important;
}

/* === CART CARD HOVER EFFECT === */
.cart-item-card {
	border: 1px solid rgba(0, 0, 0, 0.05);
	transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
}

.cart-item-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06) !important;
}

/* === ORDER SUMMARY CARD HOVER (Same as index.php) === */
.order-summary-card {
	border: 1px solid rgba(0, 0, 0, 0.05);
	transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
}

.order-summary-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important;
}

/* === EMPTY CART STATE === */
.empty-cart-state {
	text-align: center;
	padding: 60px 20px;
	background: #f8f9fa;
	border-radius: 16px;
}

.empty-cart-state i {
	font-size: 48px;
	color: #adb5bd;
	margin-bottom: 16px;
}

.empty-cart-state p {
	color: #6c757d;
	margin-bottom: 24px;
}

/* === SPECIAL INSTRUCTIONS === */
.instructions-box {
	background: #f8f9fa;
	border-radius: 12px;
	padding: 16px;
	border: 1px solid #e9ecef;
}

.instructions-box textarea {
	background: transparent;
	border: none;
	resize: none;
	font-size: 16px;
	color: #495057;
}

.instructions-box textarea:focus {
	outline: none;
	box-shadow: none;
}

/* === SUMMARY LABELS & VALUES === */
.summary-label {
	font-size: 16px;
	color: #6c757d;
}

.summary-value {
	font-size: 16px;
	font-weight: 600;
	color: #212529;
}

.summary-total {
	font-size: 18px;
	font-weight: 700;
	color: var(--theme-color);
}

/* ✅ FIXED: Added missing 'color:' property */

/* === CONTINUE SHOPPING LINK === */
.continue-shopping {
	color: var(--theme-color);
	font-weight: 500;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	transition: gap 0.2s;
}

.continue-shopping:hover {
	gap: 8px;
	color: #146c43;
}

/* === SECURE BADGE === */
.secure-badge {
	background: #f8f9fa;
	padding: 12px 16px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.secure-badge i {
	color: var(--theme-color);
	font-size: 20px;
}

.secure-badge span {
	font-size: 16px !important;
	color: #6c757d;
}

/* === STICKY FOOTER - Keep footer at bottom perfectly === */
html,
body {
	height: 100%;
	margin: 0;
}

body {
	display: flex;
	flex-direction: column;
}

/* Main content grows to fill EXACT available space, pushing footer down */
.osahan-cart {
	flex: 1 0 auto;
}

/* Footer stays at the bottom and doesn't shrink */
.footer,
.mobile-footer {
	flex-shrink: 0;
}

/* Empty cart state specific height */
.empty-cart-state {
	min-height: 400px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
/* === MOBILE HEADER REFINEMENTS === */
@media (max-width: 767.98px) {
    /* Slightly smaller title on mobile for better fit */
    .osahan-cart h4 {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    /* Continue Shopping link: full-width tap target on mobile */
    .continue-shopping {
        width: 100%;
        justify-content: flex-start;
        padding: 8px 0;
        font-size: 0.95rem;
    }

    /* Ensure item count wraps nicely under title on very small screens */
    #cartItemCount {
        display: inline-block;
        margin-top: 2px;
    }
}

/* Desktop: keep link inline and compact */
@media (min-width: 768px) {
    .continue-shopping {
        white-space: nowrap;
        font-size: 1rem;
    }
}

.cart-item-card .flex-grow-1{
    display:flex;
    flex-direction:column;
}

.cart-item-card .d-flex{
    width:100%;
}

.cart-price{
    margin-left:auto !important;
}
.cart-price-box h6{
    margin-top: 15px !important;
}