.ns-product-experience {
	background: #f7f6f2;
}

.ns-product-experience .site-main {
	width: min(calc(100% - (var(--ns-gutter) * 2)), 1380px);
	margin-inline: auto;
	padding: 28px 0 70px;
}

/*
 * Desktop product layout:
 * left = gallery + all long-form product content
 * right = sticky purchase summary
 *
 * Summary deliberately spans the main information rows so the lower content
 * never slides underneath it.
 */
.ns-product-experience div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.28fr) minmax(360px, .72fr);
	grid-auto-flow: row;
	gap: 18px clamp(28px, 3.5vw, 54px);
	align-items: start;
}

.ns-product-experience div.product .woocommerce-product-gallery {
	grid-column: 1;
	grid-row: 1;
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 12px;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 10px 35px rgba(17,17,15,.045);
}

.ns-product-experience div.product .summary {
	grid-column: 2;
	grid-row: 1 / span 12;
	position: sticky;
	top: 20px;
	align-self: start;
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: clamp(26px, 3.2vw, 44px);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 10px 35px rgba(17,17,15,.045);
}

/* Keep the main gallery visually balanced with the summary instead of huge. */
.ns-product-experience .woocommerce-product-gallery__wrapper {
	overflow: hidden;
	border-radius: 18px;
}

.ns-product-experience .woocommerce-product-gallery__image {
	display: flex !important;
	align-items: center;
	justify-content: center;
	background: #f4f2ed;
}

.ns-product-experience .woocommerce-product-gallery__image a {
	display: block;
	width: 100%;
}

.ns-product-experience .woocommerce-product-gallery__image img {
	display: block;
	width: 100% !important;
	max-height: 650px;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	border-radius: 18px;
}

.ns-product-experience .flex-control-thumbs {
	display: grid !important;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
	margin-top: 12px !important;
}

.ns-product-experience .flex-control-thumbs li {
	width: auto !important;
	float: none !important;
}

.ns-product-experience .flex-control-thumbs img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border: 2px solid transparent;
	border-radius: 12px;
	opacity: .72;
}

.ns-product-experience .flex-control-thumbs img.flex-active {
	border-color: #11110f;
	opacity: 1;
}

.ns-product-experience .product_title {
	margin: 0 0 14px !important;
	font-size: clamp(2.2rem, 3.5vw, 4.2rem);
	line-height: .96;
	letter-spacing: -.06em;
}

.ns-product-experience .woocommerce-product-rating {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px !important;
}

.ns-product-experience .summary .price {
	margin: 20px 0 !important;
	font-size: clamp(1.45rem, 2.1vw, 2rem) !important;
	font-weight: 850;
	letter-spacing: -.035em;
}

.ns-product-experience .woocommerce-product-details__short-description {
	max-width: 58ch;
	color: #65645f;
	font-size: 15px;
	line-height: 1.7;
}

.ns-product-experience form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 26px 0 0 !important;
}

.ns-product-experience form.cart .quantity {
	margin: 0 !important;
}

.ns-product-experience form.cart .qty {
	min-height: 52px;
	border: 1px solid #dedbd3;
	border-radius: 999px;
}

.ns-product-experience form.cart .single_add_to_cart_button {
	min-height: 52px;
	flex: 1;
	padding-inline: 28px !important;
	border-radius: 999px !important;
	background: #11110f !important;
	font-weight: 800 !important;
}

.ns-product-experience .variations {
	margin-bottom: 18px !important;
}

.ns-product-experience .variations tr {
	display: grid;
	grid-template-columns: 1fr;
	gap: 7px;
	margin-bottom: 14px;
}

.ns-product-experience .variations th,
.ns-product-experience .variations td {
	display: block;
	padding: 0 !important;
}

.ns-product-experience .variations select {
	width: 100%;
	min-height: 48px;
	padding-inline: 14px;
	border: 1px solid #dedbd3;
	border-radius: 12px;
	background: #fff;
}

.ns-product-trust {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid #ebe9e3;
	color: #65645f;
	font-size: 11px;
	text-align: center;
}

.ns-product-experience .product_meta {
	margin-top: 22px;
	color: #77756f;
	font-size: 12px;
}

/* Navigation now belongs to the sticky summary instead of being a fixed page bar. */
.ns-product-section-nav {
	position: static;
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 24px;
	padding-top: 18px;
	border-top: 1px solid #ebe9e3;
}

.ns-product-section-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 12px;
	border: 1px solid #e5e2da;
	border-radius: 999px;
	color: #6d6c66;
	font-size: 11px;
	font-weight: 780;
	white-space: nowrap;
}

.ns-product-section-nav a:hover,
.ns-product-section-nav a:focus-visible {
	border-color: #11110f;
	color: #11110f;
}

/*
 * Every long-form section occupies only the left column while summary stays
 * visible on the right.
 */
.ns-product-experience div.product > .ns-product-story,
.ns-product-experience div.product > .woocommerce-tabs,
.ns-product-experience div.product > .ns-delivery-section,
.ns-product-experience div.product > .ns-smart-block {
	grid-column: 1;
}

.ns-product-experience div.product > .ns-product-story {
	grid-row: 2;
}

.ns-product-experience div.product > .woocommerce-tabs {
	grid-row: 3;
}

.ns-product-experience div.product > .ns-delivery-section {
	grid-row: 4;
}

/* Related products return to full width after the primary product experience. */
.ns-product-experience div.product > .related,
.ns-product-experience div.product > .upsells {
	grid-column: 1;
}

.ns-product-story,
.ns-delivery-section {
	margin-top: 0;
	padding: clamp(30px, 4vw, 54px);
	border-radius: 24px;
	background: #fff;
}

.ns-section-eyebrow {
	margin-bottom: 12px;
	color: #77756f;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.ns-product-story h2,
.ns-delivery-section h2 {
	max-width: 760px;
	margin: 0;
	font-size: clamp(2rem, 4vw, 4.5rem);
	line-height: .96;
	letter-spacing: -.06em;
}

/* Transform native Woo tabs into editorial sections. */
.ns-product-experience .woocommerce-tabs {
	margin-top: 0;
	padding: clamp(30px, 4vw, 54px) !important;
	border-radius: 24px;
	background: #fff;
}

.ns-product-experience .woocommerce-tabs ul.tabs {
	display: none !important;
}

.ns-product-experience .woocommerce-Tabs-panel {
	display: block !important;
	margin: 0 !important;
	padding: 38px 0 !important;
	border-bottom: 1px solid #e9e7e0;
	scroll-margin-top: 24px;
}

.ns-product-experience .woocommerce-Tabs-panel:first-of-type {
	padding-top: 0 !important;
}

.ns-product-experience .woocommerce-Tabs-panel:last-child {
	border-bottom: 0;
	padding-bottom: 0 !important;
}

.ns-product-experience .woocommerce-Tabs-panel > h2:first-child {
	margin: 0 0 26px;
	font-size: clamp(1.7rem, 2.6vw, 2.8rem);
	letter-spacing: -.045em;
}

.ns-product-experience #ns-product-story,
.ns-product-experience #reviews,
.ns-product-experience #ns-delivery,
.ns-product-experience #tab-additional_information {
	scroll-margin-top: 24px;
}

.ns-product-experience #tab-description {
	max-width: 900px;
	font-size: 16px;
	line-height: 1.85;
}

.ns-product-experience #tab-additional_information {
	max-width: 900px;
}

.ns-product-experience .shop_attributes {
	border: 0 !important;
}

.ns-product-experience .shop_attributes tr {
	display: grid;
	grid-template-columns: minmax(150px, .35fr) 1fr;
	padding: 15px 0;
	border-bottom: 1px solid #eceae4;
}

.ns-product-experience .shop_attributes th,
.ns-product-experience .shop_attributes td {
	width: auto !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	text-align: left;
}

.ns-product-experience .shop_attributes td p {
	padding: 0 !important;
}

/* Reviews fit the left content column instead of trying to become a full page. */
.ns-product-experience #reviews {
	display: grid;
	grid-template-columns: 1fr;
	gap: 26px;
}

.ns-product-experience #comments {
	min-width: 0;
}

.ns-product-experience #comments .woocommerce-Reviews-title {
	font-size: clamp(1.7rem, 2.7vw, 2.8rem);
	letter-spacing: -.04em;
}

.ns-product-experience #reviews ol.commentlist {
	display: grid;
	gap: 14px;
	padding: 0;
}

.ns-product-experience #reviews ol.commentlist li {
	margin: 0 !important;
	padding: 20px !important;
	border: 1px solid #e9e7e0;
	border-radius: 18px;
	background: #faf9f6;
}

.ns-product-experience #reviews #comments ol.commentlist li img.avatar {
	position: static !important;
	width: 42px !important;
	height: 42px !important;
	margin-bottom: 10px;
	border: 0 !important;
	border-radius: 50%;
}

.ns-product-experience #reviews #comments ol.commentlist li .comment-text {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

.ns-product-experience #review_form_wrapper {
	padding: 26px;
	border-radius: 20px;
	background: #f7f6f2;
}

.ns-product-experience #review_form #respond .comment-reply-title {
	display: block;
	margin-bottom: 18px;
	font-size: 1.45rem;
	font-weight: 800;
}

.ns-product-experience #review_form input:not([type="submit"]),
.ns-product-experience #review_form textarea {
	width: 100%;
	border: 1px solid #dedbd3;
	border-radius: 12px;
	background: #fff;
}

.ns-product-experience #review_form textarea {
	min-height: 130px;
}

.ns-product-experience #review_form .submit {
	min-height: 48px;
	padding: 0 24px !important;
	border-radius: 999px !important;
	background: #11110f !important;
	color: #fff !important;
}

.ns-delivery-section {
	display: grid;
	grid-template-columns: 1fr;
	gap: 22px;
}

.ns-delivery-section h2 {
	font-size: clamp(2rem, 3vw, 3.5rem);
}

.ns-delivery-grid details {
	padding: 18px 0;
	border-bottom: 1px solid #e9e7e0;
}

.ns-delivery-grid summary {
	cursor: pointer;
	font-weight: 800;
}

.ns-delivery-grid p {
	max-width: 65ch;
	color: #6d6c66;
	line-height: 1.7;
}

.ns-product-experience .related,
.ns-product-experience .upsells {
	margin-top: 0;
	padding: clamp(30px, 4vw, 52px);
	border-radius: 24px;
	background: #fff;
}

.ns-product-experience .related > h2,
.ns-product-experience .upsells > h2 {
	font-size: clamp(2rem, 4vw, 4rem);
	letter-spacing: -.055em;
}

html {
	scroll-behavior: smooth;
}

/* Defensive removal in case a plugin/theme fallback still outputs the classic sidebar. */
.ns-product-experience #sidebar[role="complementary"],
.ns-product-experience .widget-area#sidebar,
.ns-product-experience aside#sidebar {
	display: none !important;
}

@media (max-width: 980px) {
	.ns-product-experience div.product {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.ns-product-experience div.product .woocommerce-product-gallery,
	.ns-product-experience div.product .summary,
	.ns-product-experience div.product > .ns-product-story,
	.ns-product-experience div.product > .woocommerce-tabs,
	.ns-product-experience div.product > .ns-delivery-section,
	.ns-product-experience div.product > .ns-smart-block,
	.ns-product-experience div.product > .related,
	.ns-product-experience div.product > .upsells {
		grid-column: 1;
		grid-row: auto;
	}

	.ns-product-experience div.product .summary {
		position: static;
	}

	.ns-product-experience .woocommerce-product-gallery__image img {
		max-height: none;
		aspect-ratio: auto;
		object-fit: contain;
	}
}

@media (max-width: 640px) {
	.ns-product-experience .site-main {
		width: min(calc(100% - 24px), 1380px);
		padding-top: 12px;
	}

	.ns-product-experience div.product .woocommerce-product-gallery,
	.ns-product-experience div.product .summary,
	.ns-product-story,
	.ns-delivery-section,
	.ns-product-experience .woocommerce-tabs,
	.ns-product-experience .related,
	.ns-product-experience .upsells {
		border-radius: 18px;
	}

	.ns-product-experience div.product .summary {
		padding: 24px 18px;
	}

	.ns-product-experience .product_title {
		font-size: clamp(2.2rem, 12vw, 3.7rem);
	}

	.ns-product-section-nav {
		gap: 6px;
	}

	.ns-product-section-nav a {
		flex: 1 1 auto;
		justify-content: center;
	}

	.ns-product-story,
	.ns-delivery-section,
	.ns-product-experience .woocommerce-tabs {
		padding: 28px 20px !important;
	}

	.ns-product-experience .shop_attributes tr {
		grid-template-columns: 1fr;
		gap: 5px;
	}

	.ns-product-trust {
		grid-template-columns: 1fr;
		text-align: left;
	}
}


/* NovaShop 0.8 — Related Products stays in the editorial left column. */
.ns-product-experience div.product > .related {
	grid-column: 1 !important;
	width: 100%;
	margin-top: 0;
}

.ns-product-experience .related {
	padding: clamp(30px, 4vw, 54px);
	border-radius: 24px;
	background: #fff;
	box-shadow: none;
}

.ns-product-experience .related > h2 {
	margin-top: 0;
}

/* Cards placed inside the sticky summary remain visually separate. */
.ns-product-experience .summary .ns-fbt,
.ns-product-experience .summary .ns-bundle-card {
	margin-top: 24px;
}


/* NovaShop 0.8.3 — compact desktop purchase summary so the complete
   conversion area, including Promo Bundle CTA, fits above the fold more often. */
@media (min-width: 981px) {
	.ns-product-experience div.product > .summary {
		top: 14px;
	}

	.ns-product-experience div.product > .summary .product_title {
		margin-bottom: 10px;
		font-size: clamp(1.75rem, 2.25vw, 2.35rem);
		line-height: 1.04;
		letter-spacing: -.045em;
	}

	.ns-product-experience div.product > .summary .woocommerce-product-rating {
		margin-bottom: 10px;
	}

	.ns-product-experience div.product > .summary .price {
		margin: 10px 0 12px;
	}

	.ns-product-experience div.product > .summary .woocommerce-product-details__short-description {
		margin-bottom: 12px;
		font-size: .92rem;
		line-height: 1.5;
	}

	.ns-product-experience div.product > .summary form.cart {
		margin: 12px 0;
	}

	.ns-product-experience div.product > .summary .ns-product-trust {
		margin-top: 12px;
		padding: 10px 0;
	}

	.ns-product-experience div.product > .summary .ns-product-section-nav {
		margin-top: 12px;
		padding-top: 12px;
		gap: 6px;
	}

	.ns-product-experience div.product > .summary .ns-product-section-nav a {
		min-height: 30px;
		padding: 6px 9px;
		font-size: 10px;
	}

	.ns-product-experience .summary .ns-bundle-card,
	.ns-product-experience .summary .ns-fbt {
		margin-top: 14px;
	}
}
