/*
 * Mr.Volt Industry — single product page (Figma «mr-product», desktop 1440).
 * Loaded only on product pages together with catalog.css (tokens --mvc-*, product cards).
 *
 * 1. Page & hero grid
 * 2. Side strip
 * 3. Gallery
 * 4. Summary (breadcrumbs, title, meta, price, stock)
 * 5. Variations & buy actions
 * 6. Share bar
 * 7. Tabs (description, specs, reviews)
 * 8. Related products
 * 9. (Dialogs moved to main.css, section 15)
 * 10. Responsive
 */

/* ==========================================================================
   1. Page & hero grid
   ========================================================================== */

.mv-product-page {
	--mvc-text: #333333;
	--mvc-muted: #637381;
	--mvc-subtle: #9ba1ac;
	--mvc-border: #e4e7ec;
	--mvc-chip-bg: #f3f4f6;
	--mvc-accent: #09b1e7;
	--mvc-accent-hover: #0798c7;
	--mvc-accent-soft: #ecf8fe;
	--mvc-sale: #e02424;
	--mvc-success: #16a34a;
	--mvc-warning: #d97706;
}

.site-main.mv-product-page {
	max-width: none;
	padding: 0;
	background-color: #ffffff;
}

.mv-product-page .woocommerce-notices-wrapper:not(:empty) {
	width: 100%;
	max-width: calc(var(--mv-container) + 2 * var(--mv-gutter));
	margin: 24px auto 0;
	padding-inline: var(--mv-gutter);
}

/* Neutralize woocommerce-layout/general rules for div.product (floats 48%, form margins). */
.woocommerce div.product.mv-product {
	margin: 0;
}

.woocommerce div.product.mv-product div.images.mv-product-gallery,
.woocommerce div.product.mv-product div.summary.mv-product-summary {
	float: none;
	width: auto;
	margin: 0;
}

.woocommerce div.product.mv-product form.cart {
	margin: 0;
}

.woocommerce div.product.mv-product form.cart::before,
.woocommerce div.product.mv-product form.cart::after {
	content: none;
}

.woocommerce div.product.mv-product form.cart .variations {
	margin: 0;
}

.woocommerce div.product.mv-product div.images img {
	height: 100%;
}

.mv-product-hero {
	padding-block: 48px 64px;
}

.mv-product-hero__grid {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) 520px;
	align-items: start;
	gap: 24px;
}

.mv-round-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 32px;
	padding: 0;
	border: 1px solid var(--mvc-border);
	border-radius: 18px;
	background-color: #ffffff;
	color: var(--mvc-text);
	cursor: pointer;
	transition: border-color var(--mv-transition), background-color var(--mv-transition);
}

.mv-round-icon:hover {
	border-color: var(--mvc-accent);
	background-color: var(--mvc-accent-soft);
}

.mv-round-icon .mv-icon {
	width: 16px;
	height: 16px;
}

/* ==========================================================================
   2. Side strip
   ========================================================================== */

.mv-product-strip {
	display: flex;
	flex-direction: column;
	gap: 50px;
	height: 640px;
}

.mv-product-strip__top {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	min-height: 0;
	padding-block: 32px;
	border: 1px solid var(--mvc-border);
	border-radius: var(--mv-radius-lg);
	overflow: hidden;
}

.mv-product-strip__category {
	font-size: var(--mv-fs-12);
	font-weight: 700;
	line-height: 16px;
	letter-spacing: 2px;
	text-transform: uppercase;
	white-space: nowrap;
	text-decoration: none;
	color: var(--mvc-text);
	writing-mode: vertical-rl;
	transform: rotate(180deg);
}

.mv-product-strip__category:hover {
	color: var(--mvc-accent);
}

.mv-product-strip__line {
	width: 1px;
	height: 48px;
	background-color: var(--mvc-text);
}

/* Max 3 thumbs visible (3 × 72 + 2 × 10 gap), the rest scroll. */
.mv-product-strip__thumbs {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	position: relative;
	gap: 10px;
	max-height: 236px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-y: auto;
	overscroll-behavior: contain;
	scroll-snap-type: y mandatory;
	scrollbar-width: none;
}

.mv-product-strip__thumbs::-webkit-scrollbar {
	display: none;
}

.mv-product-strip__thumbs li {
	flex: 0 0 auto;
	scroll-snap-align: start;
}

.mv-product-strip__thumb {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	padding: 4px;
	border: 1px solid var(--mvc-border);
	border-radius: var(--mv-radius-md);
	background-color: #fff;
	cursor: pointer;
	transition: border-color 0.2s ease;
}

.mv-product-strip__thumb:hover,
.mv-product-strip__thumb.is-active {
	border-color: var(--mvc-accent);
}

.mv-product-strip__thumb:focus-visible {
	outline: 2px solid var(--mvc-accent);
	outline-offset: -2px;
}

.mv-product-strip__thumb-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: var(--mv-radius-sm);
}

/* ==========================================================================
   3. Gallery
   ========================================================================== */

.mv-product-gallery {
	position: relative;
	height: 640px;
	overflow: hidden;
	border-radius: var(--mv-radius-lg);
	background-color: #f9fafb;
}

.mv-product-gallery__track {
	display: flex;
	height: 100%;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.mv-product-gallery__track::-webkit-scrollbar {
	display: none;
}

.mv-product-gallery__track:focus-visible {
	outline: 2px solid var(--mv-color-focus);
	outline-offset: -2px;
}

.mv-product-gallery__slide {
	flex: 0 0 100%;
	height: 100%;
	scroll-snap-align: start;
}

.mv-product-gallery__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mv-product-gallery__badge {
	top: 20px;
	left: 20px;
}

.mv-product-gallery__nav {
	position: absolute;
	right: 20px;
	bottom: 20px;
	display: flex;
	align-items: center;
	overflow: hidden;
	border: 1px solid var(--mvc-border);
	border-radius: var(--mv-radius-md);
	background-color: #ffffff;
}

.mv-product-gallery__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	transition: background-color var(--mv-transition), opacity var(--mv-transition);
}

.mv-product-gallery__btn:hover:not(:disabled) {
	background-color: var(--mvc-chip-bg);
}

.mv-product-gallery__btn:disabled {
	cursor: default;
	opacity: 0.35;
}

.mv-product-gallery__btn .mv-icon {
	width: 18px;
	height: 18px;
}

.mv-product-gallery__divider {
	width: 1px;
	height: 24px;
	background-color: var(--mvc-border);
}

/* ==========================================================================
   4. Summary
   ========================================================================== */

.mv-product-summary {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	min-width: 0;
	padding: 8px 0 0 32px;
}

.mv-product-summary > * {
	margin: 0;
}

.mv-product-crumbs {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
}

.mv-product-crumbs__line {
	flex: none;
	width: 40px;
	height: 1px;
	background-color: var(--mvc-accent);
}

.mv-product-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--mv-fs-13);
	line-height: 1.3;
	color: var(--mvc-accent);
}

.mv-product-crumbs li + li::before {
	content: "—";
	padding-inline: 0.6em;
}

.mv-product-crumbs a {
	color: inherit;
	text-decoration: none;
}

.mv-product-crumbs a:hover {
	color: var(--mvc-accent-hover);
	text-decoration: underline;
}

.mv-product-summary__title {
	width: 100%;
	font-size: var(--mv-fs-40);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -1px;
	overflow-wrap: anywhere;
	color: var(--mvc-text);
}

.mv-product-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	font-size: var(--mv-fs-13);
	line-height: 1.3;
}

.mv-product-meta__reviews {
	font-weight: 600;
	text-decoration: none;
	color: var(--mvc-muted);
}

.mv-product-meta__reviews:hover {
	color: var(--mvc-accent);
}

.mv-product-meta__sku {
	color: var(--mvc-subtle);
}

.mv-product-meta__sku [aria-hidden] {
	margin-right: 8px;
}

.mv-product-price {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	line-height: 1.3;
}

.mv-product-price__current {
	font-size: var(--mv-fs-32);
	font-weight: 800;
	color: var(--mvc-text);
}

.mv-product-price__from {
	font-size: var(--mv-fs-18);
	font-weight: 600;
	color: var(--mvc-muted);
}

.mv-product-price__old {
	font-size: 17px;
	color: var(--mvc-subtle);
}

.mv-product-price__pill {
	padding: 4px 10px;
	border-radius: var(--mv-radius-pill);
	background-color: var(--mvc-sale);
	font-size: var(--mv-fs-12);
	font-weight: 700;
	color: #ffffff;
}

.mv-product-summary__excerpt {
	font-size: var(--mv-fs-15);
	line-height: 1.6;
	color: var(--mvc-muted);
}

.mv-product-summary__excerpt p {
	margin: 0;
}

.mv-product-summary__excerpt p + p {
	margin-top: 8px;
}

.mv-product-stock {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: var(--mv-fs-13);
	font-weight: 600;
	line-height: 1.3;
	color: var(--mvc-success);
}

.mv-product-stock__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: currentColor;
}

.mv-product-stock--out {
	color: var(--mvc-sale);
}

.mv-product-stock--backorder {
	color: var(--mvc-warning);
}

.mv-product-summary__divider {
	width: 100%;
	height: 1px;
	border: 0;
	background-color: var(--mvc-border);
}

.mv-product-help {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	font-size: var(--mv-fs-13);
	line-height: 1.3;
	color: var(--mvc-muted);
}

.mv-product-help__link,
.mv-variation__guide {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.mv-product-help__link {
	color: var(--mvc-accent);
}

.mv-product-help__link:hover {
	color: var(--mvc-accent-hover);
}

/* ==========================================================================
   5. Variations & buy actions
   ========================================================================== */

.mv-product-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
	margin: 0;
}

.mv-variations {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.mv-variation {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.mv-variation__head {
	display: flex;
	align-items: center;
	gap: 16px;
}

.mv-variation__label {
	font-size: var(--mv-fs-14);
	font-weight: 700;
	line-height: 1.3;
	color: var(--mvc-text);
}

.mv-variation__line {
	flex: 1 1 auto;
	height: 1px;
	background-color: var(--mvc-border);
}

.mv-variation__guide {
	font-size: var(--mv-fs-13);
	color: var(--mvc-text);
}

.mv-variation__guide:hover {
	color: var(--mvc-accent);
}

.mv-variation__options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.mv-option {
	padding: 9px 15px;
	border: 1px solid var(--mvc-border);
	border-radius: 10px;
	background-color: #ffffff;
	font-family: inherit;
	font-size: var(--mv-fs-13);
	font-weight: 600;
	line-height: 1.3;
	color: var(--mvc-text);
	cursor: pointer;
	transition: border-color var(--mv-transition), background-color var(--mv-transition);
}

.mv-option:hover {
	border-color: var(--mvc-accent);
}

.mv-option.is-selected {
	padding: 8.5px 14.5px;
	border: 1.5px solid var(--mvc-accent);
	background-color: var(--mvc-accent-soft);
	font-weight: 700;
}

.mv-option.is-oos {
	text-decoration: line-through;
	color: var(--mvc-subtle);
}

.mv-option:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.mv-option[hidden] {
	display: none;
}

/* «Ще +N» — reveals the collapsed tail of chips (assets/js/product.js). */
.mv-option--more {
	border-style: dashed;
	color: var(--mvc-accent);
}

.mv-option--more:hover {
	background-color: var(--mvc-accent-soft);
}

.mv-variation__native {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Variation data box of WooCommerce: we show price/stock above, keep only the variation description. */
.mv-product-form .single_variation .woocommerce-variation-price,
.mv-product-form .single_variation .woocommerce-variation-availability {
	display: none;
}

.mv-product-form .single_variation .woocommerce-variation-description {
	margin-bottom: 20px;
	font-size: var(--mv-fs-14);
	line-height: 1.6;
	color: var(--mvc-muted);
}

.mv-product-form .single_variation .woocommerce-variation-description p {
	margin: 0;
}

.mv-product-form .single_variation .woocommerce-variation-description:empty {
	display: none;
}

.mv-product-form .reset_variations {
	display: none !important;
}

.mv-product-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	width: 100%;
}

.mv-product-actions__cart,
.mv-product-actions__wishlist.mvwl-button {
	display: inline-flex;
	flex: 1 1 0;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 0;
	min-height: 56px;
	padding: 18px 20px;
	border: 0;
	border-radius: var(--mv-radius-md);
	font-family: inherit;
	font-size: var(--mv-fs-15);
	font-weight: 700;
	line-height: 1.3;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color var(--mv-transition), opacity var(--mv-transition);
}

.mv-product-actions__cart {
	background-color: var(--mvc-accent);
	color: #ffffff;
}

.mv-product-actions__cart:hover {
	background-color: var(--mvc-accent-hover);
}

.mv-product-actions__cart .mv-icon {
	width: 20px;
	height: 20px;
}

.mv-product-actions__cart.disabled,
.mv-product-actions__cart:disabled {
	background-color: #b6e6f7;
	cursor: not-allowed;
}

.mv-product-actions__cart.loading {
	opacity: 0.7;
	pointer-events: none;
}

.mv-product-actions__cart.added {
	background-color: var(--mvc-success);
}

/* WooCommerce injects «Переглянути кошик» next to the button; the theme shows its own note below. */
.mv-product-actions .added_to_cart,
.mv-product-form a.added_to_cart.wc-forward {
	display: none !important;
}

.mv-product-actions__wishlist.mvwl-button {
	background-color: var(--mvc-chip-bg);
	color: var(--mvc-text);
}

.mv-product-actions__wishlist.mvwl-button:hover {
	background-color: var(--mvc-border);
}

.mv-product-actions__wishlist .mv-icon {
	width: 18px;
	height: 18px;
}

.mv-product-actions__wishlist .mv-icon path {
	stroke: var(--mvc-text);
}

.mv-product-actions__wishlist.is-active .mv-icon path {
	fill: #ef4444;
	stroke: #ef4444;
}

.mv-product-actions__wishlist.is-loading {
	opacity: 0.6;
}

.mv-product-added {
	width: 100%;
	margin: -8px 0 0;
	font-size: var(--mv-fs-13);
	font-weight: 600;
	color: var(--mvc-success);
}

.mv-product-added a {
	margin-left: 6px;
	color: var(--mvc-accent);
}

/* ==========================================================================
   6. Share bar
   ========================================================================== */

.mv-product-share__bar {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding-block: 17px;
	border-top: 1px solid var(--mvc-border);
	border-bottom: 1px solid var(--mvc-border);
}

.mv-product-share__label {
	font-size: var(--mv-fs-13);
	font-weight: 600;
	line-height: 1.3;
	color: var(--mvc-muted);
}

.mv-product-share__list {
	display: flex;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mv-product-share__status {
	position: absolute;
	top: 50%;
	left: calc(50% + 150px);
	font-size: var(--mv-fs-12);
	font-weight: 600;
	color: var(--mvc-success);
	transform: translateY(-50%);
}

.mv-product-share__status:empty {
	display: none;
}

/* ==========================================================================
   7. Tabs
   ========================================================================== */

.mv-product-tabs {
	padding-block: 48px;
}

.mv-product-tabs__grid {
	display: grid;
	grid-template-columns: 240px 1px minmax(0, 1fr);
	gap: 48px;
}

.mv-product-tabs__list {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
}

.mv-product-tabs__tab {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 0;
	border: 0;
	background: none;
	font-family: inherit;
	font-size: var(--mv-fs-13);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--mvc-text);
	cursor: pointer;
}

.mv-product-tabs__tab:hover {
	color: var(--mvc-accent);
}

.mv-product-tabs__mark {
	display: none;
	width: 16px;
	height: 2px;
	background-color: var(--mvc-accent);
}

.mv-product-tabs__tab.is-active {
	font-weight: 700;
	color: var(--mvc-accent);
}

.mv-product-tabs__tab.is-active .mv-product-tabs__mark {
	display: block;
}

.mv-product-tabs__divider {
	width: 1px;
	background-color: var(--mvc-border);
}

.mv-product-tabs__panels {
	min-width: 0;
}

.mv-product-tabs__panel[hidden] {
	display: none;
}

.mv-product-tabs__panel:focus-visible {
	outline: 2px solid var(--mv-color-focus);
	outline-offset: 8px;
}

.mv-product-description {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.mv-product-description__title,
.mv-product-tabs__panel-title {
	margin: 0;
	font-size: var(--mv-fs-18);
	font-weight: 700;
	line-height: 1.3;
	color: var(--mvc-text);
}

.mv-product-description__content {
	font-size: var(--mv-fs-15);
	line-height: 1.6;
	color: var(--mvc-muted);
}

.mv-product-description__content > :first-child {
	margin-top: 0;
}

.mv-product-description__content > :last-child {
	margin-bottom: 0;
}

.mv-product-description__content img {
	height: auto;
	border-radius: var(--mv-radius-md);
}

.mv-product-description__highlights {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mv-product-description__highlights li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: var(--mv-fs-14);
	font-weight: 600;
	line-height: 18px;
	color: var(--mvc-text);
}

.mv-product-description__highlights .mv-icon {
	flex: none;
	width: 18px;
	height: 18px;
}

/* Specs table (wc_display_product_attributes) */
.mv-product-specs {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.mv-product-specs .woocommerce-product-attributes {
	width: 100%;
	max-width: 720px;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: var(--mv-fs-14);
	line-height: 1.5;
}

.mv-product-specs .woocommerce-product-attributes-item__label,
.mv-product-specs .woocommerce-product-attributes-item__value {
	padding: 12px 0;
	border: 0;
	border-bottom: 1px solid var(--mvc-border);
	background: none;
	text-align: left;
	vertical-align: top;
}

.mv-product-specs .woocommerce-product-attributes-item__label {
	width: 40%;
	padding-right: 24px;
	font-weight: 600;
	color: var(--mvc-muted);
}

.mv-product-specs .woocommerce-product-attributes-item__value {
	font-style: normal;
	color: var(--mvc-text);
}

.mv-product-specs .woocommerce-product-attributes-item__value p {
	margin: 0;
	padding: 0;
}

/* Reviews (WooCommerce single-product-reviews.php) */
.mv-product-reviews #reviews {
	display: grid;
	gap: 32px;
}

.mv-product-reviews .woocommerce-Reviews-title,
.mv-product-reviews .comment-reply-title {
	display: block;
	margin: 0 0 16px;
	font-size: var(--mv-fs-18);
	font-weight: 700;
	line-height: 1.3;
	color: var(--mvc-text);
}

.mv-product-reviews .commentlist {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mv-product-reviews .commentlist li {
	margin: 0;
	padding: 20px;
	border: 1px solid var(--mvc-border);
	border-radius: var(--mv-radius-lg);
}

.mv-product-reviews .comment_container {
	display: flex;
	gap: 16px;
}

.mv-product-reviews .comment_container .avatar {
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 50%;
}

.mv-product-reviews .comment-text {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.mv-product-reviews .comment-text .star-rating {
	float: none;
	margin-bottom: 6px;
}

.mv-product-reviews .comment-text .meta {
	margin: 0 0 8px;
	font-size: var(--mv-fs-13);
	color: var(--mvc-muted);
}

.mv-product-reviews .woocommerce-review__author {
	font-weight: 700;
	color: var(--mvc-text);
}

.mv-product-reviews .comment-text .description {
	font-size: var(--mv-fs-15);
	line-height: 1.6;
	color: var(--mvc-text);
}

.mv-product-reviews .comment-text .description p {
	margin: 0;
}

.mv-product-reviews .star-rating {
	color: #f59e0b;
}

.mv-product-reviews .stars a {
	color: #f59e0b;
}

.mv-product-reviews #review_form_wrapper {
	padding: 24px;
	border-radius: var(--mv-radius-lg);
	background-color: #f9fafb;
}

.mv-product-reviews .comment-form {
	display: grid;
	gap: 14px;
	margin: 0;
}

.mv-product-reviews .comment-form p {
	margin: 0;
}

.mv-product-reviews .comment-form label {
	display: block;
	margin-bottom: 6px;
	font-size: var(--mv-fs-13);
	font-weight: 600;
	color: var(--mvc-text);
}

.mv-product-reviews .comment-form input[type="text"],
.mv-product-reviews .comment-form input[type="email"],
.mv-product-reviews .comment-form textarea,
.mv-product-reviews .comment-form select {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--mvc-border);
	border-radius: var(--mv-radius-sm);
	background-color: #ffffff;
	font-family: inherit;
	font-size: var(--mv-fs-15);
	line-height: 1.4;
	color: var(--mvc-text);
}

.mv-product-reviews .comment-form textarea {
	min-height: 120px;
	resize: vertical;
}

.mv-product-reviews .comment-form input:focus,
.mv-product-reviews .comment-form textarea:focus {
	border-color: var(--mvc-accent);
	outline: none;
	box-shadow: 0 0 0 3px rgba(9, 177, 231, 0.18);
}

.mv-product-reviews .comment-form .submit {
	min-height: 48px;
	padding: 12px 24px;
	border: 0;
	border-radius: var(--mv-radius-md);
	background-color: var(--mvc-accent);
	font-family: inherit;
	font-size: var(--mv-fs-15);
	font-weight: 700;
	color: #ffffff;
	cursor: pointer;
}

.mv-product-reviews .comment-form .submit:hover {
	background-color: var(--mvc-accent-hover);
}

.mv-product-reviews .woocommerce-noreviews {
	margin: 0;
	color: var(--mvc-muted);
}

/* ==========================================================================
   8. Related products
   ========================================================================== */

.mv-product-related {
	padding-block: 24px 72px;
}

.mv-product-related__head {
	margin-bottom: 24px;
}

.mv-product-related__title {
	margin: 0;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--mvc-text);
}

.mv-product-related__track {
	display: flex;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.mv-product-related__track::-webkit-scrollbar {
	display: none;
}

.mv-product-related__item {
	flex: 0 0 calc((100% - 72px) / 4);
	min-width: 0;
	scroll-snap-align: start;
}

/* ==========================================================================
   10. Responsive
   ========================================================================== */

@media (max-width: 1279.98px) {
	.mv-product-hero__grid {
		grid-template-columns: 64px minmax(0, 1fr) 420px;
		gap: 20px;
	}

	.mv-product-summary {
		padding-left: 12px;
	}

	.mv-product-summary__title {
		font-size: var(--mv-fs-32);
	}

	.mv-product-gallery,
	.mv-product-strip {
		height: 560px;
	}

	.mv-product-strip__thumbs {
		max-height: 212px;
	}

	.mv-product-related__item {
		flex-basis: calc((100% - 48px) / 3);
	}
}

@media (max-width: 1023.98px) {
	.mv-product-hero {
		padding-block: 24px 48px;
	}

	.mv-product-hero__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.mv-product-strip {
		display: none;
	}

	.mv-product-gallery {
		height: auto;
		aspect-ratio: 1 / 1;
		max-height: 80vh;
	}

	.mv-product-summary {
		padding: 0;
	}

	.mv-product-tabs__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.mv-product-tabs__list {
		flex-direction: row;
		gap: 24px;
		margin-inline: calc(-1 * var(--mv-gutter));
		padding: 0 var(--mv-gutter) 12px;
		overflow-x: auto;
		border-bottom: 1px solid var(--mvc-border);
		scrollbar-width: none;
	}

	.mv-product-tabs__list::-webkit-scrollbar {
		display: none;
	}

	.mv-product-tabs__tab {
		min-height: 44px;
	}

	.mv-product-tabs__divider {
		display: none;
	}

	.mv-product-related__head {
		margin-bottom: 24px;
	}

	.mv-product-related__track {
		margin-inline: calc(-1 * var(--mv-gutter));
		padding-inline: var(--mv-gutter);
		scroll-padding-inline: var(--mv-gutter);
	}

	.mv-product-related__item {
		flex-basis: 42%;
	}

	.mv-product-share__status {
		position: static;
		flex-basis: 100%;
		text-align: center;
		transform: none;
	}
}

@media (max-width: 767.98px) {
	.mv-product-hero {
		padding-top: 16px;
	}

	.mv-product-hero__grid {
		gap: 20px;
	}

	.mv-product-hero .mv-container {
		padding-inline: var(--mv-gutter);
	}

	.mv-product-gallery {
		margin-inline: calc(-1 * var(--mv-gutter));
		border-radius: 0;
	}

	.mv-product-gallery__badge {
		top: 14px;
		left: calc(var(--mv-gutter) + 2px);
	}

	.mv-product-gallery__nav {
		right: var(--mv-gutter);
		bottom: 14px;
	}

	.mv-product-gallery__btn {
		width: 48px;
		height: 44px;
	}

	.mv-product-summary {
		gap: 16px;
	}

	.mv-product-summary__title {
		font-size: var(--mv-fs-28);
		letter-spacing: -0.5px;
	}

	.mv-product-price__current {
		font-size: var(--mv-fs-28);
	}

	.mv-option {
		min-height: 44px;
	}

	.mv-product-tabs {
		padding-block: 32px;
	}

	.mv-product-related {
		padding-bottom: 48px;
	}

	.mv-product-related__item {
		flex-basis: 64%;
	}

	.mv-product-reviews .comment_container {
		gap: 12px;
	}

	.mv-product-reviews #review_form_wrapper {
		padding: 16px;
	}
}

@media (max-width: 479.98px) {
	.mv-product-actions {
		flex-direction: column;
	}

	.mv-product-actions__cart,
	.mv-product-actions__wishlist.mvwl-button {
		flex-basis: auto;
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mv-product-gallery__track {
		scroll-behavior: auto;
	}
}
