/* Single product page (Views/Shop/Product.cshtml) */

/* Quantity | Add to cart | wishlist on one row. The theme's form.cart rules give the flex
   layout and make Add to cart fill the free space; these keep the row on one line. */
.single-product-wrapper form.cart.product-cart-row {
	flex-wrap: nowrap;
	align-items: stretch;
	gap: .5rem;
}

	.single-product-wrapper form.cart.product-cart-row .quantity,
	.single-product-wrapper form.cart.product-cart-row .single_add_to_cart_button {
		height: 42px;
		margin: 0;
	}

	.single-product-wrapper form.cart.product-cart-row .single-product-buttons {
		margin: 0;
		flex: 0 0 auto;
	}

/* Wishlist: square outlined icon button, same height as Add to cart */
.single-product-wrapper .single-product-buttons .product-wishlist a.product-wishlist-icon {
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--color-black, #000);
	border-radius: var(--site-site-radius-default, 6px);
	transition: background-color .15s ease, color .15s ease;
}

	.single-product-wrapper .single-product-buttons .product-wishlist a.product-wishlist-icon::before {
		margin-right: 0;
		font-size: 1.25rem;
	}

	.single-product-wrapper .single-product-buttons .product-wishlist a.product-wishlist-icon:hover,
	.single-product-wrapper .single-product-buttons .product-wishlist a.product-wishlist-icon:focus-visible {
		color: var(--color-white, #fff);
		background-color: var(--color-black, #000);
	}

@media screen and (max-width: 575.9px) {
	.single-product-wrapper form.cart.product-cart-row .quantity,
	.single-product-wrapper form.cart.product-cart-row .single_add_to_cart_button,
	.single-product-wrapper .single-product-buttons .product-wishlist a.product-wishlist-icon {
		height: 38px;
	}

	.single-product-wrapper .single-product-buttons .product-wishlist a.product-wishlist-icon {
		width: 38px;
	}
}

/* Low-stock notice (the theme's alert box uses display:flex, which would override [hidden]) */
.single-product-wrapper .product-low-stock[hidden] {
	display: none !important;
}

/* Purchase policy badges: a row of icon tiles with the label underneath */
.product-policy-badges {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
	gap: .75rem .5rem;
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 1rem 0;
	border-top: 1px solid var(--color-slate-200, #e2e8f0);
	border-bottom: 1px solid var(--color-slate-200, #e2e8f0);
}

	.product-policy-badges .policy-badge-link {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: .5rem;
		text-align: center;
		text-decoration: none;
		color: var(--color-sky-800, #075985);
	}

	.product-policy-badges a.policy-badge-link:hover .policy-badge-label {
		text-decoration: underline;
	}

	.product-policy-badges .policy-badge-icon {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		border-radius: 50%;
		font-size: 1.25rem;
		color: var(--color-slate-600, #475569);
		background: var(--color-slate-100, #f1f5f9);
	}

	.product-policy-badges .policy-badge-label {
		font-size: .8125rem;
		font-weight: 500;
		line-height: 1.3;
	}

	.product-policy-badges .policy-badge.is-positive .policy-badge-icon {
		color: var(--color-green-700, #15803d);
		background: var(--color-green-50, #f0fdf4);
	}

	.product-policy-badges .policy-badge.is-negative .policy-badge-icon {
		color: var(--color-rose-700, #be123c);
		background: var(--color-rose-50, #fff1f2);
	}

	.product-policy-badges .policy-badge.is-negative .policy-badge-label {
		color: var(--color-rose-700, #be123c);
	}

/* Product tags */
.single-product-wrapper .product-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem;
	margin: 0 0 1.25rem;
	font-size: .8125rem;
}

	.single-product-wrapper .product-tags-label {
		font-weight: 600;
		color: var(--color-slate-700, #334155);
	}

	.single-product-wrapper .product-tags-list {
		display: flex;
		flex-wrap: wrap;
		gap: .375rem;
		list-style: none;
		margin: 0;
		padding: 0;
	}

		.single-product-wrapper .product-tags-list a {
			display: inline-block;
			padding: .25rem .625rem;
			line-height: 1.2;
			color: var(--color-sky-700, #0369a1);
			background: var(--color-sky-50, #f0f9ff);
			border: 1px solid var(--color-sky-200, #bae6fd);
			border-radius: 999px;
			text-decoration: none;
			transition: background-color .15s ease;
		}

			.single-product-wrapper .product-tags-list a:hover,
			.single-product-wrapper .product-tags-list a:focus-visible {
				background: var(--color-sky-100, #e0f2fe);
			}

/* Share buttons (theme colours the icon of each network link; these add the extra ones) */
.single-product-wrapper .product-share-links .color-social {
	gap: .375rem;
}

	.single-product-wrapper .site-social ul.color-social a.email {
		color: #64748b;
	}

	.single-product-wrapper .site-social ul.color-social a.copy-link,
	.single-product-wrapper .site-social ul.color-social a.native-share {
		color: #334155;
	}

	.single-product-wrapper .product-share-links .share-native-item[hidden] {
		display: none !important;
	}

/* Delivery date check (pincode box) */
.single-product-wrapper .product-delivery-check {
	margin: 0 0 1.25rem;
}

	.single-product-wrapper .product-delivery-check .delivery-check-label {
		display: flex;
		align-items: center;
		gap: .375rem;
		margin-bottom: .5rem;
		font-size: .875rem;
		font-weight: 600;
		color: var(--color-slate-700, #334155);
	}

	.single-product-wrapper .product-delivery-check .delivery-check-form {
		display: flex;
		max-width: 340px;
		border: 1px solid var(--color-slate-300, #cbd5e1);
		border-radius: var(--site-site-radius-default, 6px);
		overflow: hidden;
	}

		.single-product-wrapper .product-delivery-check .delivery-check-form:focus-within {
			border-color: var(--color-slate-500, #64748b);
		}

		.single-product-wrapper .product-delivery-check .delivery-check-form input {
			flex: 1 1 auto;
			min-width: 0;
			height: 40px;
			padding: 0 .75rem;
			font-size: .9375rem;
			letter-spacing: .05em;
			border: 0;
			outline: 0;
			background: transparent;
		}

		.single-product-wrapper .product-delivery-check .delivery-check-form button {
			flex: 0 0 auto;
			height: 40px;
			padding: 0 1rem;
			font-size: .875rem;
			font-weight: 600;
			color: var(--color-sky-700, #0369a1);
			background: transparent;
			border: 0;
			border-left: 1px solid var(--color-slate-200, #e2e8f0);
			cursor: pointer;
		}

			.single-product-wrapper .product-delivery-check .delivery-check-form button:disabled {
				opacity: .6;
				cursor: progress;
			}

	.single-product-wrapper .product-delivery-check .delivery-check-result {
		margin-top: .5rem;
		font-size: .8125rem;
		line-height: 1.4;
		color: var(--color-slate-600, #475569);
	}

		.single-product-wrapper .product-delivery-check .delivery-check-result:empty {
			display: none;
		}

		.single-product-wrapper .product-delivery-check .delivery-check-result.is-ok strong {
			color: var(--color-green-700, #15803d);
		}

		.single-product-wrapper .product-delivery-check .delivery-check-result.is-error {
			color: var(--color-rose-700, #be123c);
		}

		.single-product-wrapper .product-delivery-check .delivery-cod {
			display: block;
		}
