/* Add to Cart used to be a small centered pill (min-width 220px) sitting in the middle of the much
   wider "Customize this product" column, which made it look small/off compared to that full-width
   card. It's now a full-width block matching that column's width, same as the delivery-check box
   below it. */
.woocommerce div.product form.cart .button, .woocommerce div.product form.cart button.single_add_to_cart_button {
	display: block !important;
	width: 100% !important;
	box-sizing: border-box !important;
	padding: 18px 24px !important;
	font-size: 18px !important;
}

/* The purchase action block (quantity, button, delivery check, social proof, stories) now stacks
   full-width instead of being centered as small inline pieces. */
.summary.entry-summary form.cart .quantity {
	display: block;
	margin-bottom: 10px;
}
.summary.entry-summary form.cart .quantity input {
	width: 100%;
	box-sizing: border-box;
}
/* Was capped at max-width:480px and auto-centered, which made it visibly narrower than the
   552px-wide "Customize this product" card next to it — now it matches that column's full width,
   same as delivery-estimate.css's own margin already intends (14px 0, no side margins). */
.cgt-delivery-estimate {
	max-width: none;
	text-align: left;
}
.cgt-social-proof {
	display: block !important;
	width: 100%;
	clear: both;
	font-size: 13px;
	color: #880000;
	font-weight: 600;
	margin: 12px auto 0 !important;
	text-align: center;
	max-width: 480px;
}
.cgt-stories-row {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	padding: 16px 0;
	-webkit-overflow-scrolling: touch;
	justify-content: center;
	width: 100%;
	max-width: 100%;
}
/* Full-bleed breakout only on desktop, where there's room for it. On narrow screens
   100vw is wider than the usable viewport and causes sideways page scroll. */
@media (min-width: 901px) {
	.cgt-stories-row {
		width: 100vw;
		max-width: 100vw;
		position: relative;
		left: 50%;
		right: 50%;
		margin-left: -50vw;
		margin-right: -50vw;
	}
}
.cgt-story-icon {
	flex: 0 0 auto;
	width: 100px;
	text-align: center;
	cursor: pointer;
}
.cgt-story-icon video {
	width: 92px;
	height: 92px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #880000;
	padding: 3px;
	background: #000;
}
.cgt-story-label {
	display: block;
	font-size: 13px;
	margin-top: 8px;
	color: #1F1F1F;
	font-weight: 600;
}

.cgt-story-modal {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,0.9);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
}
.cgt-story-modal video {
	max-width: 90vw;
	max-height: 85vh;
	border-radius: 8px;
}
.cgt-story-modal-close {
	position: absolute;
	top: 20px;
	right: 24px;
	background: none;
	border: none;
	color: #fff;
	font-size: 32px;
	cursor: pointer;
}
