.nrp-item-page {
	color: var(--text-dark, #4b2b11);
	flex: 1;
	display: flex;
	flex-direction: column;
	padding-bottom: 0;
	font-family: "Montserrat", "Inter", system-ui, -apple-system, sans-serif;
}

.nrp-item-shell {
	display: flex;
	flex-direction: column;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding: clamp(5.25rem, 3vw, 2.5rem) clamp(1rem, 3vw, 3rem) 0;
	flex: 1 0 auto;
	gap: 1.5rem;
}

.nrp-item-grid {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	align-items: stretch;
	min-height: 30rem;
}

.nrp-item-media {
	position: relative;
	background: var(--card-bg);
	border: 1px solid var(--border-color, #e5e5e5);
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
	width: 100%;
	min-height: 400px;
}

.nrp-item-media img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: clamp(1rem, 2vw, 1.6rem);
	border-radius: 16px;
}

.nrp-item-summary {
	background: var(--card-bg, #ffffff);
	border-radius: 18px;
	border: 1px solid var(--border-color, #e5e5e5);
	padding: clamp(1.1rem, 2vw, 1.7rem);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
	display: flex;
	flex-direction: column;
	height: 100%;
}

.nrp-item-title {
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	line-height: 1.1;
	margin-bottom: 0.35rem;
	margin-top: 1rem;
}

.nrp-item-price-row {
	display: flex;
	gap: 0.65rem;
	align-items: baseline;
	margin-bottom: 0.7rem;
	flex-wrap: wrap;
}

.nrp-item-price {
	font-size: 1.6rem;
	font-weight: 800;
	color: var(--theme-color, #cfab71);
}

.nrp-item-price-old {
	font-size: 1.05rem;
	color: var(--state-quiet-text, #8b8b8b);
	text-decoration: line-through;
	font-weight: 600;
}

.nrp-price-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	background: var(--state-sale-bg, #ffe9e0);
	color: var(--state-sale-text, #e35b36);
	padding: 0.2rem 0.6rem;
	border-radius: 10px;
	font-weight: 700;
	font-size: 0.95rem;
}

.nrp-item-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.3rem 0.9rem;
	border-radius: 999px;
	background: var(--theme-color-muted);
	color: var(--theme-color, #cfab71);
	font-weight: 700;
	font-size: 0.95rem;
}

.nrp-item-badge.warn {
	background: var(--state-error-bg);
	color: var(--accent-error);
}

.nrp-item-badge.info {
	background: var(--state-info-bg);
	color: var(--accent-info);
}

.nrp-item-desc {
	color: var(--text-dim, #666666);
	line-height: 1.6;
	margin: 0.6rem 0 1.2rem;
	flex: 1;
}

/* Variants + Actions Row Container */
.nrp-variants-actions-row {
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
	margin-top: 0.5rem;
}

.nrp-variants-actions-row .nrp-item-variants {
	flex: 1;
	margin-top: 0;
}

.nrp-item-actions {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	align-items: center;
	flex-shrink: 0;
	margin-left: auto;
}

/* Simple Qty Input (no +/- buttons) */
.nrp-qty-simple {
	display: inline-flex;
	align-items: center;
}

.nrp-qty-simple .nrp-qty-input {
	width: 4rem;
	height: 2.75rem;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	text-align: center;
	padding: 0.5rem;
	font-weight: 600;
	font-size: 1rem;
	color: var(--text-dark, #4b2b11);
	background: var(--card-bg);
	/* Hide native spinner */
	-moz-appearance: textfield;
}

.nrp-qty-simple .nrp-qty-input::-webkit-outer-spin-button,
.nrp-qty-simple .nrp-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.nrp-qty-simple .nrp-qty-input:focus {
	outline: none;
	border-color: var(--theme-color, #cfab71);
	box-shadow: 0 0 0 2px rgba(207, 171, 113, 0.2);
}

/* Legacy Qty with buttons (kept for backwards compat) */
.nrp-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	overflow: hidden;
	background: var(--card-bg);
}

.nrp-qty button {
	background: var(--card-bg);
	border: none;
	padding: 0.65rem 0.9rem;
	cursor: pointer;
	font-weight: 700;
	color: var(--text-dark, #4b2b11);
	transition: background 0.2s ease;
}

.nrp-qty button:hover {
	background: var(--bg-light, #faf8f5);
}

.nrp-qty-input {
	width: 3.5rem;
	border: none;
	text-align: center;
	padding: 0.65rem 0.2rem;
	margin: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	color: var(--text-dark, #4b2b11);
	font-size: 1rem;
	/* Hide native spinner */
	-moz-appearance: textfield;
}

.nrp-qty-input::-webkit-outer-spin-button,
.nrp-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Add to Cart Button */
.nrp-add-to-cart-btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--theme-color, #cfab71);
	color: var(--text-deep);
	border: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 4px 12px rgba(207, 171, 113, 0.25);
	padding: 0;
	text-decoration: none;
	flex-shrink: 0;
}

.nrp-add-to-cart-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(207, 171, 113, 0.35);
}

.nrp-add-to-cart-btn:disabled {
	background: var(--state-disabled-bg);
	color: var(--state-disabled-text);
	cursor: not-allowed;
	box-shadow: none;
}

.nrp-add-to-cart-btn svg {
	stroke: currentColor;
}

/* Larger button and icon for product info page */
.nrp-item-actions .nrp-add-to-cart-btn.nrp-item-btn {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	padding: 0;
	color: var(--text-inverse) !important;
}

.nrp-item-actions .nrp-add-to-cart-btn.nrp-item-btn svg {
	width: 28px;
	height: 28px;
	stroke: var(--text-inverse) !important;
}

.nrp-qty-control {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	border-radius: 999px;
	padding: 4px;
	background: var(--theme-color) !important;
	box-shadow: 0 4px 12px rgba(207, 171, 113, 0.25);
	margin-top: 1rem;
}

.nrp-qty-control .nrp-qty-btn {
	width: 32px;
	height: 32px;
	min-width: 32px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.4) !important;
	color: var(--text-dark) !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	line-height: 1;
}

.nrp-qty-control .nrp-qty-btn:hover {
	background: rgba(255, 255, 255, 0.6) !important;
}

.nrp-qty-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.nrp-qty-control .nrp-qty-input {
	width: 36px;
	height: 32px;
	min-width: 36px;
	text-align: center;
	border: none;
	border-radius: 16px;
	padding: 0;
	font-weight: 700;
	font-size: 0.95rem;
	background: var(--card-bg) !important;
	color: var(--text-deep) !important;
	line-height: 32px;
}

.nrp-qty-control .nrp-qty-input:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

/* Hide number input spinners */
.nrp-qty-control .nrp-qty-input::-webkit-outer-spin-button,
.nrp-qty-control .nrp-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.nrp-qty-control .nrp-qty-input {
	-moz-appearance: textfield;
}

/* Legacy class for grid quick-add FAB - only applies to buttons */
button.nrp-quick-add {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--theme-color, #cfab71);
	color: var(--text-deep);
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(207, 171, 113, 0.25);
	padding: 0;
}

button.nrp-quick-add:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(207, 171, 113, 0.35);
}

button.nrp-quick-add:disabled {
	background: var(--state-disabled-bg);
	color: var(--state-disabled-text);
	cursor: not-allowed;
	box-shadow: none;
}

button.nrp-quick-add svg {
	stroke: currentColor;
}

.nrp-hidden {
	display: none !important;
}

.nrp-item-btn {
	border: none;
	border-radius: 12px;
	padding: 0.9rem 1.25rem;
	font-weight: 800;
	cursor: pointer;
	background: var(--card-bg, #ffffff);
	color: var(--text-dark, #4b2b11);
	transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nrp-item-btn.primary {
	background: var(--theme-color, #cfab71);
	color: var(--text-deep);
	border: 1px solid var(--theme-color, #cfab71);
	box-shadow: 0 12px 28px rgba(207, 171, 113, 0.35);
}

.nrp-item-btn.secondary,
.nrp-item-btn.secondary:link,
.nrp-item-btn.secondary:visited,
.nrp-item-btn.secondary:hover,
.nrp-item-btn.secondary:active,
.nrp-item-btn.secondary:focus {
	background: var(--card-bg, #ffffff);
	color: var(--text-dark, #4b2b11);
	border: 1px solid var(--border-color, #e5e5e5);
	box-shadow: none;
}

/* Contact icon button - next to Add to Cart */
.nrp-contact-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	background: var(--ink-overlay);
	color: var(--text-inverse);
	border: 2px solid var(--theme-color, #cfab71);
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: all 0.2s ease;
	text-decoration: none;
	flex-shrink: 0;
}

.nrp-contact-icon-btn:hover {
	background: var(--ink-overlay-strong);
	transform: scale(1.05);
	color: var(--text-inverse);
}

.nrp-contact-icon-btn svg {
	width: 26px;
	height: 26px;
	stroke: currentColor;
}

/* Tooltip styles for action buttons */
.nrp-item-actions .nrp-add-to-cart-btn,
.nrp-item-actions .nrp-contact-icon-btn {
	position: relative;
}

.nrp-item-actions .nrp-add-to-cart-btn::after,
.nrp-item-actions .nrp-contact-icon-btn::after {
	content: attr(data-tooltip);
	position: absolute;
	right: calc(100% + 12px);
	left: auto;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.85);
	color: var(--text-inverse);
	padding: 0.5rem 0.85rem;
	border-radius: 6px;
	font-size: 0.8rem;
	font-weight: 500;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease;
	pointer-events: none;
	z-index: 100;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
/* Tooltip arrow */
.nrp-item-actions .nrp-add-to-cart-btn::before,
.nrp-item-actions .nrp-contact-icon-btn::before {
	content: "";
	position: absolute;
	right: calc(100% + 4px);
	left: auto;
	top: 50%;
	transform: translateY(-50%);
	border: 5px solid transparent;
	border-left-color: rgba(0, 0, 0, 0.85); /* was border-right-color */
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease;
	pointer-events: none;
	z-index: 100;
}

.nrp-item-actions .nrp-add-to-cart-btn:hover::after,
.nrp-item-actions .nrp-add-to-cart-btn:hover::before,
.nrp-item-actions .nrp-contact-icon-btn:hover::after,
.nrp-item-actions .nrp-contact-icon-btn:hover::before {
	opacity: 1;
	visibility: visible;
}

.nrp-item-specs {
	margin-top: 1.4rem;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0.85rem;
	padding-top: 1rem;
	border-top: 1px solid var(--border-color, #e5e5e5);
}

.nrp-item-spec {
	border: 1px solid var(--border-color, #e5e5e5);
	background: var(--card-bg);
	border-radius: 12px;
	padding: 0.85rem;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.nrp-item-spec .label {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.35px;
	color: var(--text-dim, #666666);
	margin-bottom: 0.2rem;
}

.nrp-item-hidden {
	display: none !important;
}

.nrp-newsletter-wrapper {
	margin-top: 2rem;
	margin-bottom: 0;
	flex: 0 0 auto;
	width: 100vw;
	max-width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	overflow-x: clip;
	box-sizing: border-box;
}

@media (max-width: 960px) {
	.nrp-item-grid {
		grid-template-columns: 1fr;
	}
	.nrp-item-media {
		height: auto;
	}
}

@media (max-width: 640px) {
	.nrp-variants-actions-row {
		flex-direction: column;
		gap: 1rem;
	}
	.nrp-item-actions {
		flex-direction: row;
		align-items: center;
		margin-left: 0;
		gap: 0.75rem;
	}
	.nrp-item-actions .nrp-item-btn {
		text-align: center;
	}
	.nrp-item-actions .nrp-contact-icon-btn {
		flex-shrink: 0;
	}
}

/* ===== Description Row ===== */
.nrp-item-description-row {
	background: var(--card-bg, #ffffff);
	border-radius: 18px;
	border: 1px solid var(--border-color, #e5e5e5);
	padding: clamp(1.5rem, 3vw, 2rem);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.nrp-section-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--text-dark, #4b2b11);
	margin: 0 0 1rem 0;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--theme-color, #cfab71);
}

.nrp-item-description-row .nrp-item-desc {
	color: var(--text-dim, #666666);
	line-height: 1.8;
	margin: 0;
	flex: none;
}

.nrp-item-description-row .nrp-item-desc p {
	margin-bottom: 1rem;
}

.nrp-item-description-row .nrp-item-desc p:last-child {
	margin-bottom: 0;
}

/* ===== Specifications Row ===== */
.nrp-item-specifications-row {
	background: var(--card-bg, #ffffff);
	border-radius: 18px;
	border: 1px solid var(--border-color, #e5e5e5);
	padding: clamp(1.5rem, 3vw, 2rem);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.nrp-specs-table {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.nrp-spec-row {
	display: grid;
	grid-template-columns: minmax(120px, 0.4fr) 1fr;
	gap: 1rem;
	padding: 0.85rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nrp-spec-row:last-child {
	border-bottom: none;
}

.nrp-spec-label {
	font-weight: 600;
	color: var(--text-dark, #4b2b11);
	font-size: 0.9rem;
}

.nrp-spec-value {
	color: var(--text-dim, #666666);
	font-size: 0.9rem;
}

/* ===== Variant Attributes (for variant items) ===== */
.nrp-item-variant-attrs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.nrp-variant-attr {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.4rem 0.85rem;
	background: rgba(207, 171, 113, 0.1);
	border: 1px solid rgba(207, 171, 113, 0.3);
	border-radius: 8px;
	font-size: 0.85rem;
}

.nrp-variant-attr .attr-label {
	color: var(--text-dim, #666666);
}

.nrp-variant-attr .attr-value {
	font-weight: 600;
	color: var(--text-dark, #4b2b11);
}

/* ===== Variants Selector (for template items) ===== */
.nrp-item-variants {
	margin: 1rem 0 1.5rem;
}

.nrp-variants-label {
	display: block;
	font-weight: 600;
	color: var(--text-dark, #4b2b11);
	margin-bottom: 0.75rem;
	font-size: 0.95rem;
}

.nrp-variants-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 0.75rem;
}

.nrp-variant-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0.7rem 0.75rem;
	background: var(--bg-light, #faf8f5);
	border: 1px solid transparent;
	border-radius: 12px;
	text-decoration: none;
	color: var(--text-dark, #4b2b11);
	transition: all 0.2s ease;
	row-gap: 0.3rem;
}

.nrp-variant-card:hover {
	border-color: var(--theme-color, #cfab71);
	box-shadow: 0 4px 12px rgba(207, 171, 113, 0.2);
	transform: translateY(-2px);
}

.nrp-variant-card.active {
	border-color: var(--theme-color, #cfab71);
	background: var(--theme-color-muted);
}

.nrp-variant-img {
	width: 60px;
	height: 60px;
	object-fit: contain;
	border-radius: 8px;
	margin-bottom: 0.5rem;
	background: var(--card-bg);
}

.nrp-variant-name {
	font-size: 0.8rem;
	font-weight: 600;
	text-align: center;
	line-height: 1.3;
	margin-bottom: 0.15rem;
	max-height: 2.6em; /* ~2 lines */
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.nrp-variant-price {
	font-size: 0.75rem;
	color: var(--theme-color, #cfab71);
	font-weight: 700;
}

.nrp-variant-attrs-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	justify-content: center;
	margin: 0.25rem 0;
}

.nrp-variant-attr-badge {
	font-size: 0.7rem;
	padding: 0.15rem 0.5rem;
	background: rgba(207, 171, 113, 0.15);
	border-radius: 4px;
	color: var(--text-dark, #4b2b11);
	font-weight: 500;
}

@media (max-width: 640px) {
	.nrp-variants-grid {
		grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
	}

	.nrp-spec-row {
		grid-template-columns: 1fr;
		gap: 0.25rem;
	}
}

footer.web-footer {
	display: none;
}