/* Single product page — left gallery / right info */
body.coco-single-product {
	overflow-x: clip;
}

.coco-product {
	padding: var(--space-xl) 0;
}

.coco-product div.product.coco-product-layout {
	display: block;
	margin: 0;
}

.coco-product div.product.coco-product-layout::before,
.coco-product div.product.coco-product-layout::after {
	display: none;
}

.coco-product div.product .summary.entry-summary,
.coco-product div.product .woocommerce-product-gallery {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	clear: none !important;
}

.coco-product__hero {
	width: min(var(--coco-content-width-narrow), 100%);
	margin-inline: auto;
	margin-bottom: var(--space-xl);
}

.coco-product__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.72fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: start;
}

.coco-product__gallery-col,
.coco-product__info-col {
	min-width: 0;
}

.coco-product__info {
	width: 100%;
}

.coco-product__below {
	width: 100%;
}

.coco-product__title {
	margin: 0 0 var(--space-sm);
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 600;
	line-height: 1.2;
}

.coco-product__meta:empty {
	display: none;
	margin: 0;
}

.coco-product__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-sm);
	margin-bottom: var(--space-md);
	color: var(--text-gray);
	font-size: 14px;
}

.coco-product__price {
	margin-bottom: var(--space-md);
	font-size: 28px;
	font-weight: 600;
}

.coco-product__price del {
	color: var(--text-gray);
	font-size: 18px;
	font-weight: 400;
	margin-right: var(--space-xs);
}

.coco-product__short-desc {
	margin-bottom: var(--space-lg);
	color: var(--text-gray);
}

.coco-product__cards-section {
	margin-bottom: var(--space-lg);
}

.coco-product__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-sm);
	align-items: center;
	margin-bottom: var(--space-lg);
}

.coco-product__actions > form.cart {
	width: 100%;
	flex: 1 1 100%;
	max-width: none;
}

.coco-product .quantity.coco-qty-stepper {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: #fff;
}

.coco-product .coco-qty-stepper__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: #fff;
	color: #27272a;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	transition: background-color var(--transition-fast);
}

.coco-product .coco-qty-stepper__btn:hover {
	background: var(--bg-light);
}

.coco-product .quantity.coco-qty-stepper.is-qty-min .coco-qty-stepper__btn--minus,
.coco-product .quantity.coco-qty-stepper.is-qty-max .coco-qty-stepper__btn--plus {
	opacity: 0.55;
}

.coco-product .quantity.coco-qty-stepper .qty {
	width: 56px;
	min-height: 44px;
	padding: 0;
	border: 0;
	border-left: 1px solid var(--border-color);
	border-right: 1px solid var(--border-color);
	border-radius: 0;
	text-align: center;
	font-size: 15px;
	-moz-appearance: textfield;
}

.coco-product .quantity.coco-qty-stepper .qty::-webkit-outer-spin-button,
.coco-product .quantity.coco-qty-stepper .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.coco-product .quantity.coco-qty-stepper.is-variation-locked .qty {
	color: #71717a;
}

.coco-product__payment {
	margin-top: var(--space-md);
}

.coco-product__payment-head {
	display: flex;
	align-items: center;
	gap: var(--space-xs);
	margin-bottom: var(--space-sm);
}

.coco-product__payment-icon {
	display: block;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}

.coco-product__payment-title {
	font-size: 14px;
	font-weight: 500;
	color: var(--text-main);
}

.coco-product__payment-logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
}

.coco-product__payment-logo {
	display: block;
	width: auto;
	height: 24px;
	max-width: 56px;
	object-fit: contain;
}

.coco-product__tabs-section,
.coco-product__detail {
	margin-top: var(--space-xl);
}

.coco-product__related {
	margin-top: var(--space-xl);
	padding-top: var(--space-xl);
	border-top: 1px solid var(--border-color);
}

.coco-product__related--embedded {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.coco-related-swiper__nav--embedded {
	display: flex;
	justify-content: flex-end;
	gap: var(--space-sm);
	margin-bottom: var(--space-md);
}

.coco-product__related-title {
	margin: 0 0 var(--space-md);
	font-size: 22px;
	font-weight: 600;
}

@media (min-width: 992px) {
	.coco-product__gallery-col {
		position: sticky;
		top: var(--space-sm);
		align-self: start;
	}
}

@media (max-width: 991px) {
	.coco-product__grid {
		grid-template-columns: 1fr;
		gap: var(--space-lg);
	}
}

/* Fixed bottom purchase bar */
.coco-product-sticky {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	background: rgba(255, 255, 255, 0.98);
	border-top: 1px solid var(--border-color);
	box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
	transform: translateY(100%);
	visibility: hidden;
	pointer-events: none;
	transition: transform var(--transition-fast), visibility var(--transition-fast);
	padding-bottom: env(safe-area-inset-bottom, 0);
	backdrop-filter: blur(8px);
}

.coco-product-sticky.is-visible {
	transform: translateY(0);
	visibility: visible;
	pointer-events: auto;
}

.coco-product-sticky__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-md);
	min-height: 72px;
	padding-top: var(--space-sm);
	padding-bottom: var(--space-sm);
}

.coco-product-sticky__info {
	min-width: 0;
	flex: 1 1 auto;
}

.coco-product-sticky__title {
	margin: 0 0 2px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--text-main);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.coco-product-sticky__price {
	font-size: 18px;
	font-weight: 600;
	color: var(--text-main);
	line-height: 1.2;
}

.coco-product-sticky__price del {
	color: var(--text-gray);
	font-size: 13px;
	font-weight: 400;
	margin-right: 4px;
}

.coco-product-sticky__action {
	flex: 0 0 auto;
}

.coco-product-sticky__buy {
	min-width: 132px;
	white-space: nowrap;
}

body.coco-has-product-sticky .coco-footer {
	padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 767px) {
	.coco-product-sticky__inner {
		min-height: 64px;
		gap: var(--space-sm);
	}

	.coco-product-sticky__title {
		font-size: 13px;
	}

	.coco-product-sticky__price {
		font-size: 16px;
	}

	.coco-product-sticky__buy {
		min-width: 112px;
		min-height: 40px;
		padding: 0 var(--space-md);
		font-size: 14px;
	}
}

.single_add_to_cart_button[data-coco-notify-button="1"],
.single_add_to_cart_button.is-notify-mode,
[data-coco-sticky-buy][data-coco-notify-button="1"],
[data-coco-sticky-buy].is-notify-mode {
	cursor: pointer;
}

body.coco-stock-modal-open .coco-product-sticky {
	z-index: 10001;
}
