/* Product page */
.product-detail {
	background-color: #fff0f5 !important;
}

/* Shared style for all option buttons */
.option-btn {
	color: #4a4a4a;
	border: 1px solid #4a4a4a;
	background-color: transparent;
	transition:
		background-color 0.2s ease,
		color 0.2s ease;
	font-weight: bold;
}

/* btn active/selected */
.option-btn.active {
	background-color: #4a4a4a;
	color: #fff;
}

.option-btn:hover {
	background-color: #4a4a4a;
	color: #fff;
}

.option-btn:disabled {
	color: #4a4a4a;
	text-decoration: line-through;
}

.mb-3 h6 {
	color: #4a4a4a !important;
	font-weight: lighter;
}

.flex-grow-1 h2,
.flex-grow-1 .fs-5,
.mb-3 .form-label {
	color: #4a4a4a !important;
}

/* Images */
.main-product-img {
	width: 100%;
	max-height: 450px;
	object-fit: contain;
}

.thumbnail-img {
	width: 75px;
	height: 75px;
	object-fit: cover;
	cursor: pointer;
	border: 2px solid transparent;
	transition: border 0.3s ease;
}

.thumbnail-img:hover,
.thumbnail-img.active {
	border: 2px solid #4a4a4a;
}

/* Description */
.product-description {
	background-color: #fff0f5;
}

/* MY CART */

.btn-group-sm .btn {
	padding: 0.1rem 0.25rem;
	font-size: 0.8rem;
}

/* Layout backgrounds */
.loading-section,
.order-complete,
#cart-section,
.cart-container {
	background-color: #ffe4ef;
}

/* Summary box (right side) */
.summary-card,
.summary-box {
	background-color: #ffbdd3;
	border-radius: 1.25rem; /* slightly more rounded */
	box-shadow: 0 8px 20px rgb(0 0 0 / 15%); /* updated for richer shadow */
	border: none;
	padding: 2rem;
}

/* Product card container */
.product-card {
	display: flex;
	align-items: flex-start;
	background-color: #fff;
	box-shadow:
		0 2px 4px rgb(0 0 0 / 5%),
		0 6px 12px rgb(0 0 0 / 15%) !important;
	margin-bottom: 1rem;
	border-radius: 1rem;
	border: none;
	gap: 1rem;
}

/* Product Thumbnail */
.product-card img {
	width: 100px !important;
	height: 100px !important;
	object-fit: cover;
	border-radius: 0.75rem;
	flex-shrink: 0;
}

/* Text Content */
.product-card .card-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	color: #4a4a4a;
}

/* Title */
.product-card .card-title {
	font-size: 0.95rem;
	font-weight: 600;
	color: #333;
}

/* Subtext */
.product-card .card-text {
	font-size: 0.85rem;
	font-weight: 400;
	color: #555;
	margin-bottom: 0.25rem;
}

/* Right side: quantity, price, remove */
.product-card .info-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-width: 100px;
	gap: 0.75rem;
	font-size: 0.85rem;
	font-weight: 500;
	color: #2e2e2e;
}

/* Cart counter text */
#cart-count-text,
.col-md-8 p {
	color: #4a4a4a;
}

/* Summary section text */
.summary-box span,
#cart-count-line p {
	color: #333;
}

.product-card .info-row span {
	display: block;
}

.product-qty-remove {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

/* Remove Button */

/* .remove-btn {
  font-size: 0.85rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid #dc3545;
  color: #dc3545;
  background-color: transparent;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease;
}

.remove-btn:hover {
  background-color: #dc3545;
  color: #fff;
} */

.remove-btn i {
	margin-right: 0.25rem;
}

/* Scrollable left side */
.cart-items {
	max-height: 500px;
	overflow-y: auto;
	padding: 1rem;
}

/* Instructions box (textarea) */
#order-instructions {
	background-color: #ffe4ef;
	border: none;
	border-radius: 1rem;
	padding: 1rem;
	resize: none;
	font-size: 0.9rem;
	color: #333;
}

/* Checkout button */
#checkout-btn {
	background-color: #2e2e2e;
	border: none;
	border-radius: 2rem;
	font-weight: 600;
	padding: 0.75rem;
	font-size: 1rem;
}

/* Main header (My Cart) */
.my-cart h2 {
	color: #ff4893;
	font-weight: 700;
	font-size: 2rem;
}

/* Mobile adjustments */
@media (width <= 768px) {
	.product-card {
		flex-direction: row;
		align-items: flex-start;
	}

	.product-card .info-row {
		flex-direction: column;
		align-items: flex-end;
		gap: 0.25rem;
		margin-top: 0.5rem;
	}

	.product-card .card-body {
		flex: 2;
	}

	.product-qty-remove {
		justify-content: flex-end;
	}
}
