/**
 * NexGen single product page (Figma "Product Page" 6150:13425).
 *
 * Restyles the Pepti single-product template: layout, gallery, summary,
 * COA link, quantity + add to cart, description and the related carousel.
 */

/* ------------------------------------------------------------- layout -- */

.single-product .l-main {
	--nx-gutter: var(--nx-gutter-fluid, 100px);
	max-width: none;
}

.single-product .l-page-content--commerce .l-container {
	max-inline-size: var(--nx-container-max, 1728px);
	padding-inline: var(--nx-gutter);
}

.single-product .l-page-content--commerce .l-section__inner {
	max-inline-size: none;
}

.single-product .pepti-single-product__product-inner {
	gap: var(--pepti-size-spacing-primitive-xs, 20px);
}

@media (min-width: 1200px) {
	/* Figma: 580px gallery, 120px gap, summary fills the rest (828px at 1728). */
	.single-product .pepti-single-product__product-layout {
		grid-template-columns: 580px minmax(0, 1fr) !important;
		column-gap: 120px !important;
	}

	.single-product .pepti-single-product__product-inner {
		padding-block-start: 140px;
	}
}

.single-product .pepti-single-product__summary,
.single-product .pepti-product-summary {
	inline-size: auto;
	max-inline-size: none;
}

.single-product .pepti-single-product__product-inner > .wp-block-breadcrumbs {
	margin-block-end: var(--pepti-size-spacing-primitive-xs, 20px);
}


/* -------------------------------------------------------- breadcrumbs -- */

.single-product .pepti-single-product__product-inner > .wp-block-breadcrumbs {
	font-family: var(--pepti-type-page-hero-desktop-breadcrumb-font-family, "Poppins", sans-serif);
	font-size: var(--pepti-type-page-hero-desktop-breadcrumb-font-size, 14px);
	line-height: 1.4;
	color: var(--pepti-color-component-breadcrumb-content-default, #cccecf);
}

.single-product .pepti-single-product__product-inner > .wp-block-breadcrumbs [aria-current],
.single-product .pepti-single-product__product-inner > .wp-block-breadcrumbs li:last-child {
	color: var(--pepti-color-component-breadcrumb-content-current, #fff);
}

/* ------------------------------------------------------------ gallery -- */

.single-product .pepti-single-product__gallery-shell .wc-block-product-gallery-large-image,
.single-product .pepti-single-product__gallery-shell .wc-block-product-gallery-large-image__container {
	overflow: hidden;
	border-radius: var(--pepti-size-radius-primitive-lg, 30px);
}

.single-product .pepti-single-product__gallery-shell .wc-block-product-gallery-large-image {
	box-sizing: border-box;
	border: 1px solid var(--pepti-color-global-border-base, #041e42);
}

.single-product .pepti-single-product__gallery-shell .wc-block-product-gallery {
	gap: var(--pepti-size-spacing-primitive-xxs, 10px);
}

.single-product .pepti-single-product__gallery-shell .wc-block-product-gallery-thumbnails {
	gap: var(--pepti-size-spacing-primitive-xxs, 10px);
	margin-block-start: 0;
}

.single-product .pepti-single-product__gallery-shell .wc-block-product-gallery-thumbnails__thumbnail {
	overflow: hidden;
	box-sizing: border-box;
	border: 1px solid var(--pepti-color-global-border-base, #041e42);
	border-radius: var(--pepti-size-radius-primitive-md, 20px);
}

.single-product .pepti-single-product__gallery-shell .wc-block-product-gallery-thumbnails__thumbnail img {
	border-radius: 0;
	object-fit: cover;
}

/* Figma: 56px circular arrows over the thumbnail strip. */
.single-product .pepti-single-product__gallery-shell :is(.wc-block-next-previous-buttons__button, .wc-block-product-gallery-thumbnails__scroll-button, [class*="gallery"][class*="__button--"]) {
	box-sizing: border-box;
	inline-size: 56px;
	block-size: 56px;
	border: 1px solid var(--pepti-color-component-button-secondary-border-default, #fff);
	border-radius: 50%;
	background: var(--pepti-color-global-surface-base, #00080f);
	color: var(--pepti-color-component-button-secondary-content-default, #fff);
}

.single-product .pepti-single-product__gallery-shell :is(.wc-block-next-previous-buttons__button, .wc-block-product-gallery-thumbnails__scroll-button, [class*="gallery"][class*="__button--"]):disabled {
	border-color: var(--pepti-color-component-button-secondary-border-disabled, #999c9f);
	color: var(--pepti-color-component-button-secondary-border-disabled, #999c9f);
}

/* ------------------------------------------------------------ summary -- */

.single-product .pepti-product-summary {
	gap: var(--pepti-size-spacing-primitive-xs, 20px);
}

.single-product .pepti-product-summary__heading {
	gap: var(--pepti-size-spacing-primitive-xxs, 10px);
}

.single-product .pepti-product-summary__eyebrow,
.single-product .pepti-product-summary__eyebrow a {
	font-family: var(--pepti-type-product-card-desktop-meta-font-family, "Space Grotesk", sans-serif);
	font-size: var(--pepti-type-product-card-desktop-meta-font-size, 14px);
	font-weight: var(--pepti-type-product-card-desktop-meta-font-weight, 400);
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--pepti-color-global-content-accent, #05f4f9);
}

.single-product .pepti-product-summary__title {
	margin: 0;
	font-family: var(--pepti-type-product-summary-desktop-title-font-family, "Space Grotesk", sans-serif);
	font-size: var(--pepti-type-product-summary-desktop-title-font-size, 40px);
	font-weight: var(--pepti-type-product-summary-desktop-title-font-weight, 600);
	line-height: 1;
	color: var(--pepti-color-global-content-primary, #fff);
}

.single-product .pepti-product-summary__intro {
	gap: var(--pepti-size-spacing-primitive-xs, 20px);
}

.single-product .pepti-product-summary__price-row {
	align-items: center;
	gap: var(--pepti-size-spacing-primitive-sm, 30px);
}

.single-product .pepti-product-summary__price-primary .wc-block-components-product-price {
	font-family: var(--pepti-type-product-summary-desktop-price-font-family, "Poppins", sans-serif);
	font-size: var(--pepti-type-product-summary-desktop-price-font-size, 24px);
	font-weight: var(--pepti-type-product-summary-desktop-price-font-weight, 600);
	line-height: 1.2;
	color: var(--pepti-color-global-content-primary, #fff);
}

.single-product .pepti-product-summary__compliance {
	margin: 0;
	font-family: var(--pepti-type-product-summary-desktop-meta-font-family, "Space Grotesk", sans-serif);
	font-size: var(--pepti-type-product-summary-desktop-meta-font-size, 14px);
	font-weight: var(--pepti-type-product-summary-desktop-meta-font-weight, 400);
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--pepti-color-global-content-secondary, #cccecf);
}

.single-product .pepti-product-summary__excerpt,
.single-product .pepti-product-summary__excerpt p {
	margin: 0;
	font-family: var(--pepti-type-product-summary-desktop-description-font-family, "Poppins", sans-serif);
	font-size: var(--pepti-type-product-summary-desktop-description-font-size, 16px);
	line-height: 1.4;
	color: var(--pepti-color-global-content-base, #e6e7e7);
}

.single-product .pepti-product-summary__excerpt {
	opacity: 0.8;
}

/* Figma "BTN / Quick View": small accent pill, document icon on the left. */
.single-product .pepti-coa-action {
	/* Pepti paints this link through the button render variables (!important). */
	--pepti-button-border-width: 1px;
	--pepti-button-render-surface: var(--pepti-color-global-surface-subtle, #081017);
	--pepti-button-render-border: var(--pepti-color-global-border-accent, #05f4f9);
	--pepti-button-render-content: var(--pepti-color-global-content-accent, #05f4f9);
	display: inline-flex;
	flex-direction: row-reverse;
	align-items: center;
	align-self: flex-start;
	gap: 4px;
	box-sizing: border-box;
	inline-size: auto;
	min-block-size: 0;
	padding: 10px 14px;
	border: 1px solid var(--pepti-color-global-border-accent, #05f4f9);
	border-radius: var(--pepti-size-radius-primitive-pill, 100px);
	background: var(--pepti-color-global-surface-subtle, #081017);
	font-family: var(--pepti-type-product-summary-desktop-coa-link-font-family, "Poppins", sans-serif);
	font-size: var(--pepti-type-product-summary-desktop-coa-link-font-size, 14px);
	font-weight: var(--pepti-type-product-summary-desktop-coa-link-font-weight, 500);
	line-height: 1.4;
	text-decoration: none;
	color: var(--pepti-color-global-content-accent, #05f4f9);
}

.single-product .pepti-coa-action > span {
	font: inherit;
	color: inherit;
}

.single-product .pepti-coa-action::before,
.single-product .pepti-coa-action::after {
	flex: none;
	inline-size: 20px;
	block-size: 20px;
	margin: 0;
	background-color: currentColor;
	-webkit-mask: url("../images/product/icon-coa.svg") center / 20px 20px no-repeat;
	mask: url("../images/product/icon-coa.svg") center / 20px 20px no-repeat;
}

.single-product .pepti-coa-action:is(:hover, :focus-visible) {
	--pepti-button-render-surface: var(--pepti-color-global-content-accent, #05f4f9);
	--pepti-button-render-content: var(--pepti-color-component-button-primary-content-default, #00080f);
	border-color: var(--pepti-color-global-border-accent, #05f4f9);
	background: var(--pepti-color-global-content-accent, #05f4f9);
	color: var(--pepti-color-component-button-primary-content-default, #00080f);
}

/* ------------------------------------------------- quantity + add to cart -- */

/* Figma: 30px from the COA link to the buttons, 40px from the buttons to the description. */
.single-product .pepti-product-summary form.wc-block-add-to-cart-with-options {
	margin-block-start: 10px;
	padding-block: 0;
}

/* Classic variation wrapper is empty in the block form but still adds a flex gap. */
.single-product .pepti-product-summary form.wc-block-add-to-cart-with-options .single_variation_wrap {
	display: contents;
}

/*
 * Stock line (not drawn in Figma): uses the summary meta style and the
 * design grid — 30px under the COA link, 10px above quantity + Add to Cart.
 */
.single-product .pepti-product-summary form.wc-block-add-to-cart-with-options:has(> .pepti-atc__stock) .pepti-atc__stock + .pepti-atc__actions {
	margin-block-start: -10px;
}

.single-product .pepti-atc__stock {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-family: var(--pepti-type-product-summary-desktop-meta-font-family, "Space Grotesk", sans-serif);
	font-size: var(--pepti-type-product-summary-desktop-meta-font-size, 14px);
	font-weight: var(--pepti-type-product-summary-desktop-meta-font-weight, 400);
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--pepti-color-global-content-secondary, #cccecf);
}

.single-product .pepti-atc__stock::before {
	content: "";
	flex: none;
	inline-size: 8px;
	block-size: 8px;
	border-radius: 50%;
	background: var(--pepti-color-global-content-accent, #05f4f9);
}

.single-product .pepti-atc__stock:is(.wc-block-components-product-stock-indicator--out-of-stock) {
	color: var(--pepti-color-primitive-status-error-base, #fa0b05);
}

.single-product .pepti-atc__stock:is(.wc-block-components-product-stock-indicator--out-of-stock)::before {
	background: currentColor;
}

.single-product .pepti-atc__stock.wc-block-components-product-stock-indicator--available-on-backorder::before {
	background: var(--pepti-color-component-button-secondary-border-disabled, #999c9f);
}

/* QA NG-6: at or below the low stock threshold (see nexgen_low_stock_availability()). */
.single-product .pepti-atc__stock.wc-block-components-product-stock-indicator--low-stock {
	color: var(--pepti-color-status-content-warning, #ffb020);
}

.single-product .pepti-atc__stock.wc-block-components-product-stock-indicator--low-stock::before {
	background: currentColor;
}

.single-product .pepti-atc__actions {
	align-items: center;
	gap: var(--pepti-size-spacing-semantic-layout-grid-gap, 20px);
}

.single-product .wc-block-add-to-cart-with-options__quantity-selector .wc-block-components-quantity-selector {
	/* Pepti lays this out as a 44/28/44 grid; Figma is "−  1  +" centred with 24px gaps. */
	display: inline-grid !important;
	grid-template-columns: 12px max-content 12px !important;
	align-items: center;
	justify-content: center;
	column-gap: 24px !important;
	box-sizing: border-box;
	inline-size: 118px;
	block-size: 56px;
	min-block-size: 0;
	margin: 0;
	padding: 0 !important;
	border: 1px solid var(--pepti-color-component-form-field-border-default, #041e42);
	border-radius: var(--pepti-size-radius-primitive-pill, 100px);
	background: var(--pepti-color-component-form-field-surface-default, #081017);
	overflow: hidden;
}

.single-product .wc-block-add-to-cart-with-options__quantity-selector .wc-block-components-quantity-selector::after {
	content: none;
}

.single-product .wc-block-add-to-cart-with-options__quantity-selector .wc-block-components-quantity-selector__input {
	order: 2;
	flex: 0 0 auto;
	inline-size: 2ch !important;
	min-inline-size: 0;
	block-size: auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	font-family: var(--pepti-type-form-label-desktop-medium-font-family, "Poppins", sans-serif);
	font-size: var(--pepti-type-form-label-desktop-medium-font-size, 16px);
	font-weight: var(--pepti-type-form-label-desktop-medium-font-weight, 500);
	line-height: 1.4;
	text-align: center;
	color: var(--pepti-color-component-form-field-content-filled, #fff);
	-moz-appearance: textfield;
}

.single-product .wc-block-add-to-cart-with-options__quantity-selector .wc-block-components-quantity-selector__input::-webkit-inner-spin-button,
.single-product .wc-block-add-to-cart-with-options__quantity-selector .wc-block-components-quantity-selector__input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.single-product .wc-block-add-to-cart-with-options__quantity-selector .wc-block-components-quantity-selector__button {
	/* Pepti sizes and fills these through variables with !important. */
	--pepti-quantity-action-size: 12px;
	--pepti-quantity-action-surface: var(--pepti-color-component-form-field-content-filled, #fff);
	--pepti-button-render-surface: var(--pepti-color-component-form-field-content-filled, #fff);
	--pepti-button-block-size: 12px;
	display: block;
	flex: none;
	inline-size: 12px;
	block-size: 12px;
	min-inline-size: 0;
	min-block-size: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background-color: var(--pepti-color-component-form-field-content-filled, #fff);
	box-shadow: none;
	font-size: 0;
	color: transparent;
	opacity: 1;
	cursor: pointer;
	-webkit-mask: url("../images/product/icon-minus.svg") center / 12px 12px no-repeat;
	mask: url("../images/product/icon-minus.svg") center / 12px 12px no-repeat;
}

.single-product .wc-block-add-to-cart-with-options__quantity-selector .wc-block-components-quantity-selector__button--minus {
	order: 1;
}

.single-product .wc-block-add-to-cart-with-options__quantity-selector .wc-block-components-quantity-selector__button--plus {
	order: 3;
	-webkit-mask-image: url("../images/product/icon-plus.svg");
	mask-image: url("../images/product/icon-plus.svg");
}

.single-product .wc-block-add-to-cart-with-options__quantity-selector .wc-block-components-quantity-selector__button:disabled {
	opacity: 0.4;
	cursor: default;
}

.single-product .wc-block-add-to-cart-with-options__quantity-selector .wc-block-components-quantity-selector__button::before,
.single-product .wc-block-add-to-cart-with-options__quantity-selector .wc-block-components-quantity-selector__button::after {
	content: none;
}

.single-product .single_add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	box-sizing: border-box;
	block-size: 56px;
	min-block-size: 0;
	padding: 16px var(--pepti-size-spacing-primitive-sm, 30px);
	border-radius: var(--pepti-size-radius-primitive-pill, 100px);
	font-family: var(--pepti-type-button-default-desktop-medium-font-family, "Poppins", sans-serif);
	font-size: var(--pepti-type-button-default-desktop-medium-font-size, 16px);
	font-weight: var(--pepti-type-button-default-desktop-medium-font-weight, 500);
	line-height: 1.4;
}

.single-product .single_add_to_cart_button:not([hidden])::after {
	content: "";
	display: block;
	flex: none;
	inline-size: 24px;
	block-size: 24px;
	background-color: currentColor;
	-webkit-mask: url("../images/product/icon-cart.svg") center / 24px 24px no-repeat;
	mask: url("../images/product/icon-cart.svg") center / 24px 24px no-repeat;
}

/* -------------------------------------------------------- description -- */

.single-product .pepti-product-summary__details {
	margin-block-start: var(--pepti-size-spacing-primitive-xs, 20px);
}

/* Figma shows a single "Product Description" section, not tabs. */
.single-product .pepti-product-summary__details .c-tablist {
	gap: 0;
	margin: 0 0 var(--pepti-size-spacing-primitive-xs, 20px);
	border: 0;
	box-shadow: none;
}

.single-product .pepti-product-summary__details .c-tablist::before,
.single-product .pepti-product-summary__details .c-tablist::after {
	content: none;
}

.single-product .pepti-product-summary__details .c-tab:not([data-pepti-tab-target="description"]) {
	display: none;
}

.single-product .pepti-product-summary__details .c-tab[data-pepti-tab-target="description"] {
	min-block-size: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	font-family: var(--pepti-type-product-detail-section-title-desktop-semi-bold-font-family, "Space Grotesk", sans-serif);
	font-size: var(--pepti-type-product-detail-section-title-desktop-semi-bold-font-size, 24px);
	font-weight: var(--pepti-type-product-detail-section-title-desktop-semi-bold-font-weight, 600);
	line-height: 1.2;
	color: var(--pepti-color-global-content-primary, #fff);
	cursor: default;
	pointer-events: none;
}

.single-product .pepti-product-summary__details .c-tab::before,
.single-product .pepti-product-summary__details .c-tab::after {
	content: none;
}

.single-product .pepti-product-summary__details .c-tabs__panel {
	padding: 0;
}

.single-product .pepti-product-summary__details .c-tabs__panel[data-pepti-tab-panel="description"] {
	display: flex;
	flex-direction: column;
	gap: var(--pepti-size-spacing-primitive-xs, 20px);
}

.single-product .pepti-product-summary__details .wc-block-product-description > * {
	margin-block: 0;
}

.single-product .pepti-product-summary__details .wc-block-product-description > * + * {
	margin-block-start: var(--pepti-size-spacing-primitive-xs, 20px);
}

.single-product .pepti-product-summary__details .wc-block-product-description :is(p, li),
.single-product .pepti-product-storage__text {
	margin: 0;
	font-family: var(--pepti-type-product-detail-body-desktop-regular-font-family, "Poppins", sans-serif);
	font-size: var(--pepti-type-product-detail-body-desktop-regular-font-size, 16px);
	line-height: 1.4;
	color: var(--pepti-color-global-content-base, #e6e7e7);
}

.single-product .pepti-product-storage {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.single-product .pepti-product-storage__label {
	margin: 0;
	font-family: var(--pepti-type-product-detail-label-desktop-semi-bold-font-family, "Space Grotesk", sans-serif);
	font-size: var(--pepti-type-product-detail-label-desktop-semi-bold-font-size, 14px);
	font-weight: var(--pepti-type-product-detail-label-desktop-semi-bold-font-weight, 600);
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--pepti-color-global-content-primary, #fff);
}

/* ---------------------------------------------------- related carousel -- */

.single-product .c-product-carousel .c-product-carousel__header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-block-end: var(--pepti-size-spacing-primitive-sm, 30px);
}

.single-product .c-product-carousel .c-product-carousel__heading {
	order: 0;
	flex: 1 1 auto;
	margin: 0;
	font-family: var(--pepti-type-heading-h2-desktop-semi-bold-font-family, "Space Grotesk", sans-serif);
	font-size: var(--pepti-type-heading-h2-desktop-semi-bold-font-size, 40px);
	font-weight: var(--pepti-type-heading-h2-desktop-semi-bold-font-weight, 600);
	line-height: 1;
	text-align: start;
	color: var(--pepti-color-global-content-primary, #fff);
}

.single-product .c-product-carousel {
	--pepti-carousel-gap: var(--pepti-size-spacing-primitive-xs, 20px);
}

.single-product .c-product-carousel .c-product-carousel__button {
	--pepti-button-border-width: 1px;
	--pepti-button-render-surface: transparent;
	--pepti-button-render-border: var(--pepti-color-component-button-secondary-border-default, #fff);
	--pepti-button-render-content: var(--pepti-color-component-button-secondary-content-default, #fff);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	visibility: visible;
	order: 1;
	box-sizing: border-box;
	inline-size: 44px;
	block-size: 44px;
	min-inline-size: 0;
	min-block-size: 0;
	padding: 0;
	border: 1px solid var(--pepti-color-component-button-secondary-border-default, #fff);
	border-radius: 50%;
	background: transparent !important;
	box-shadow: none;
	color: var(--pepti-color-component-button-secondary-content-default, #fff) !important;
}

.single-product .c-product-carousel .c-product-carousel__button--next {
	order: 2;
}

.single-product .c-product-carousel .c-product-carousel__button::before {
	display: block;
	inline-size: 24px;
	block-size: 24px;
	background-color: currentColor;
	-webkit-mask: url("../images/home/icon-arrow-right.svg") center / 24px 24px no-repeat;
	mask: url("../images/home/icon-arrow-right.svg") center / 24px 24px no-repeat;
	transform: none;
}

.single-product .c-product-carousel .c-product-carousel__button--previous::before {
	-webkit-mask-image: url("../images/home/icon-arrow-left.svg");
	mask-image: url("../images/home/icon-arrow-left.svg");
}

.single-product .c-product-carousel .c-product-carousel__button:disabled {
	--pepti-button-render-border: var(--pepti-color-component-button-secondary-border-disabled, #999c9f);
	border-color: var(--pepti-color-component-button-secondary-border-disabled, #999c9f);
	color: var(--pepti-color-component-button-secondary-border-disabled, #999c9f) !important;
	opacity: 1;
	cursor: default;
}

.single-product .c-product-carousel .c-product-carousel__inner {
	max-inline-size: none;
}

@media (max-width: 767px) {
	.single-product .pepti-product-summary__price-row {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: flex-start;
		align-items: center;
		column-gap: var(--pepti-size-spacing-primitive-xs, 20px);
		row-gap: 4px;
		text-align: start;
	}

	.single-product .c-product-carousel .c-product-carousel__header {
		flex-direction: row !important;
		flex-wrap: nowrap;
		justify-content: flex-start;
	}

	.single-product .pepti-product-summary__title {
		font-size: var(--pepti-type-product-summary-mobile-title-font-size, 30px);
	}

	.single-product .c-product-carousel .c-product-carousel__heading {
		font-size: var(--pepti-type-heading-h2-mobile-semi-bold-font-size, 30px);
	}
}

/* Product specifications table (imported descriptions): the label column was
   squeezed to ~70px and broke words ("Appearanc-e"). */
.wp-block-woocommerce-product-description table th[scope="row"] {
	width: 35%;
	overflow-wrap: normal;
	word-break: normal;
	hyphens: manual;
}

/* ------------------------------------------------------- bulk pricing -- */

/* Figma 6703:18351: tiers between the COA link and quantity + Add to Cart
   (inc/bulk-pricing.php); the tier for the chosen quantity is outlined. */
.single-product .nx-bulk {
	container-type: inline-size;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-block: 10px !important;
}

.single-product .nx-bulk__title {
	margin: 0;
	font-family: var(--pepti-type-caption-desktop-semi-bold-font-family, "Space Grotesk", sans-serif);
	font-size: var(--pepti-type-caption-desktop-semi-bold-font-size, 14px);
	font-weight: var(--pepti-type-caption-desktop-semi-bold-font-weight, 600);
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--pepti-color-global-content-primary, #fff);
}

.single-product .nx-bulk__tiers {
	display: grid;
	grid-auto-columns: minmax(0, 1fr);
	grid-auto-flow: column;
	gap: var(--pepti-size-spacing-primitive-xxs, 10px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.single-product .nx-bulk__item {
	display: flex;
	min-inline-size: 0;
	margin: 0;
}

.single-product .nx-bulk__tier {
	flex: 1 1 auto;
	box-sizing: border-box;
	inline-size: 100%;
	font: inherit;
	text-align: start;
	color: inherit;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--pepti-size-spacing-primitive-xxs, 10px);
	min-inline-size: 0;
	margin: 0;
	padding: var(--pepti-size-spacing-primitive-xs, 20px);
	border: 1px solid var(--pepti-color-global-border-base, #041e42);
	border-radius: var(--pepti-size-spacing-primitive-xs, 20px);
	background: var(--pepti-color-global-surface-subtle, #081017);
	white-space: nowrap;
	transition: border-color 0.2s ease;
}

.single-product .nx-bulk__tier:hover {
	border-color: var(--pepti-color-global-border-accent-low, rgba(5, 244, 249, 0.4));
}

.single-product .nx-bulk__tier.is-active {
	border-color: var(--pepti-color-global-border-accent, #05f4f9);
}

.single-product .nx-bulk__tier:focus-visible {
	outline: 2px solid var(--pepti-color-global-border-accent, #05f4f9);
	outline-offset: 2px;
}

.single-product .nx-bulk__range,
.single-product .nx-bulk__unit,
.single-product .nx-bulk__note {
	margin: 0;
	font-family: var(--pepti-type-body-small-desktop-regular-font-family, "Poppins", sans-serif);
	font-size: var(--pepti-type-body-small-desktop-regular-font-size, 14px);
	font-weight: var(--pepti-type-body-small-desktop-regular-font-weight, 400);
	line-height: 1.4;
	color: var(--pepti-color-global-content-secondary, #cccecf);
}

.single-product .nx-bulk__note {
	white-space: normal;
	color: var(--pepti-color-global-content-base, #e6e7e7);
}

.single-product .nx-bulk__price {
	display: flex;
	align-items: baseline;
	gap: 4px;
}

.single-product .nx-bulk__amount {
	font-family: var(--pepti-type-commerce-total-desktop-font-family, "Poppins", sans-serif);
	font-size: var(--pepti-type-commerce-total-desktop-font-size, 24px);
	font-weight: var(--pepti-type-commerce-total-desktop-font-weight, 600);
	line-height: 1.2;
	color: var(--pepti-color-global-content-primary, #fff);
}

.single-product .nx-bulk__save {
	font-family: var(--pepti-type-product-detail-label-desktop-semi-bold-font-family, "Space Grotesk", sans-serif);
	font-size: var(--pepti-type-product-detail-label-desktop-semi-bold-font-size, 14px);
	font-weight: var(--pepti-type-product-detail-label-desktop-semi-bold-font-weight, 600);
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--pepti-color-global-content-secondary, #cccecf);
}

.single-product .nx-bulk__save.is-saving {
	color: var(--pepti-color-global-content-accent, #05f4f9);
}

/* Narrow summary (phones): one row per tier — range, price, saving. */
@container (max-width: 559px) {
	.single-product .nx-bulk__tiers {
		grid-template-columns: 1fr;
		grid-auto-flow: row;
	}

	.single-product .nx-bulk__tier {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas: "range price" "save price";
		align-items: center;
		column-gap: 12px;
		row-gap: 2px;
		padding: 14px 20px;
		border-radius: var(--pepti-size-radius-primitive-md, 20px);
	}

	.single-product .nx-bulk__range { grid-area: range; }
	.single-product .nx-bulk__price { grid-area: price; }
	.single-product .nx-bulk__save { grid-area: save; }

	.single-product .nx-bulk__amount {
		font-size: 20px;
	}
}
