/* ==========================================================================
   Product pages – archive & single
   ========================================================================== */

.site-main--product-archive,
.site-main--product-single {
	padding: 0;
	margin: 0;
	max-width: none;
}

.nt-hero--page {
	height: 440px;
}

.nt-hero--page .nt-hero__bg {
	bottom: 80px;
}

/* Archive */
.nt-product-archive {
	padding: 48px 0 72px;
}

.nt-product-archive__title {
	font-family: var(--font-accent);
	font-size: clamp(var(--nt-fs-md), 3vw, var(--nt-fs-xl));
	font-weight: 800;
	color: var(--nt-orange);
	text-align: center;
	text-transform: uppercase;
	margin: 0 0 40px;
}

.nt-product-archive__layout {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 32px;
	align-items: start;
}

.nt-product-sidebar {
	background: var(--nt-white);
	border-radius: var(--nt-radius);
	padding: 24px 20px;
	box-shadow: var(--nt-shadow);
}
.nt-product-sidebar__title {
    font-family: var(--font-main);
    font-size: var(--nt-fs-base);
    font-weight: normal;
    color: #535050;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--nt-cream-dark);
}

.nt-product-sidebar__group {
	margin-bottom: 20px;
}

.nt-product-sidebar__group-title {
    font-family: var(--font-accent);
    font-size: var(--nt-fs-lg);
    font-weight: 500;
    color: var(--nt-orange);
    text-transform: uppercase;
    margin: 0 0 12px;
}

.nt-product-sidebar__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nt-product-sidebar__list li + li {
	margin-top: 8px;
}

.nt-product-sidebar__checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--nt-fs-base);
    color: #C85108;
    cursor: pointer;
}
.nt-product-sidebar__checkbox input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 16px;
	height: 16px;
	margin: 0;
	flex-shrink: 0;
	border: 2px solid var(--nt-orange);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.nt-product-sidebar__checkbox input[type="checkbox"]:checked {
	background: var(--nt-orange);
	box-shadow: inset 0 0 0 3px var(--nt-white);
}

.nt-product-sidebar__empty {
	margin: 0;
	font-size: var(--nt-fs-sm);
	color: #535050;
}

.nt-product-sidebar__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 8px;
	padding-top: 16px;
	border-top: 2px solid var(--nt-cream-dark);
}

.nt-product-sidebar__submit {
	padding: 8px 20px;
	font-size: var(--nt-fs-sm);
}

.nt-product-sidebar__clear {
	font-size: var(--nt-fs-sm);
	color: #535050;
	text-decoration: underline;
}

.nt-product-archive__results.is-loading {
	opacity: 0.55;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.nt-product-archive__toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.nt-product-archive__count {
    margin: 0;
    font-size: var(--nt-fs-base);
    color: #535050;
}

.nt-product-archive__search {
	position: relative;
}

.nt-product-archive__search input {
    border: none;
    outline: none;
    flex: 1;
    font-family: var(--font-main);
    font-size: var(--nt-fs-base);
    background: transparent;
    width: 100%;
    border: 1px solid #C85108;
    padding-right: 44px;
	padding-left: 15px;
}

.nt-product-archive__search button.btn.nt-btn {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	min-width: 36px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: transparent;
	color: var(--nt-white);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.nt-product-archive__search button.btn.nt-btn:hover,
.nt-product-archive__search button.btn.nt-btn:focus {
	background: var(--nt-orange);
	opacity: 0.9;
	color: var(--nt-white);
}

.nt-product-archive__search button.btn.nt-btn svg {
	display: block;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.nt-products-grid--archive {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.nt-product-card--grid {
	text-align: center;
	padding: 0;
	background: transparent;
	border-radius: 0;
}

.nt-product-card--grid .nt-product-card__link {
	display: block;
	color: inherit;
}

.nt-product-card--grid .nt-product-card__title {
	font-family: var(--font-accent);
	color: var(--nt-orange);
	font-size: var(--nt-fs-lg);
}

.nt-product-card__badge {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 128px;
    min-height: 34px;
    padding: 10px 30px;
    background: transparent url(../images/frame-btn.png) center / 100% 100% no-repeat;
    border-radius: 0;
    color: var(--nt-white);
    font-size: var(--nt-fs-md);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    white-space: nowrap;
}

.nt-product-card__image {
	position: relative;
	overflow: visible;
}

.nt-product-card__image--has-badge {
	margin-top: 18px;
}

.nt-product-card__media {
	position: relative;
	aspect-ratio: 1;
	overflow: hidden;
}

.nt-product-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.nt-product-archive__empty {
	text-align: center;
	padding: 40px 0;
	color: #666;
}

/* Pagination */
.nt-pagination {
	margin-top: 40px;
}

.nt-pagination .page-numbers {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}

.nt-pagination .page-numbers li {
	margin: 0;
}

.nt-pagination .page-numbers a, .nt-pagination .page-numbers span {
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: 'lnum' 1, 'tnum' 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
    padding: 0 10px;
    border-radius: 50%;
    font-size: var(--nt-fs-base);
    font-weight: 600;
    line-height: 20px;
    color: #fff;
    background: #893400;
    border: 1px solid var(--nt-cream-dark);
}

.nt-pagination .page-numbers .current {
	background: var(--nt-orange);
	color: var(--nt-white);
	border-color: var(--nt-orange);
}

.v-2.nt-featured-products--page {
	margin-top: 0;
	/* background-color: var(--nt-cream); */
	background-image: none;
	padding: 56px 0 72px;
	overflow: visible;
}

.nt-featured-products--page .nt-section-title {
	margin-bottom: 32px;
}

.nt-featured-products--page .nt-featured-products__carousel--outside-nav {
	display: flex;
	align-items: center;
	gap: 12px;
}

.nt-featured-products--page .nt-featured-products-swiper--page {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	overflow: hidden;
	padding: 8px 0 44px;
}

.nt-featured-products--page .nt-featured-products-swiper--page .swiper-slide {
	height: auto;
	box-sizing: border-box;
}

.nt-featured-products--page .nt-featured-products-swiper__prev,
.nt-featured-products--page .nt-featured-products-swiper__next {
	position: static;
	flex: 0 0 50px;
	width: 50px;
	height: 50px;
	margin: 0;
	inset: auto;
	transform: none;
	align-self: center;
}

.nt-featured-products--page .nt-featured-products-swiper__prev,
.nt-featured-products--page .nt-featured-products-swiper__next {
	color: var(--nt-cream);
}

.nt-featured-products--page .nt-featured-products-swiper__prev svg,
.nt-featured-products--page .nt-featured-products-swiper__next svg {
	width: 16px;
	height: 25px;
}

.nt-featured-products--page .nt-featured-products-swiper__pagination {
	bottom: 0 !important;
}

.nt-featured-products--page .nt-featured-products-swiper__pagination .swiper-pagination-bullet {
	background: rgba(0, 0, 0, 0.2);
}

.nt-featured-products--page .nt-featured-products-swiper__pagination .swiper-pagination-bullet-active {
	background: #fff;
}

/* Single product */
.nt-product-single {
	background: var(--nt-cream);
	padding: 32px 0 56px;
}

.nt-breadcrumb {
	font-size: var(--nt-fs-xs);
	font-weight: 600;
	color: var(--nt-orange);
	margin-bottom: 10px;
	text-transform: uppercase;
}

.nt-breadcrumb a {
    font-size: var(--nt-fs-base);
    color: #535050;
}

.nt-breadcrumb span {
	margin: 0 8px;
}

.nt-product-single__hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
	max-width: 1100px;
	margin: 0 auto;
}
.nt-product-single__content {
	padding: 10px 0;
}
.nt-product-single__gallery {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.nt-product-single__main-image,
.nt-product-single__sub-image {
	border-radius: 30px;
	overflow: hidden;
}

.nt-product-single__main-image {
	flex: 1 1 auto;
}

.nt-product-single__main-image img,
.nt-product-single__sub-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 200px;
}

.nt-product-single__main-image img {
	min-height: 420px;
	max-height: 560px;
}

.nt-product-single__thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.nt-product-single__thumb {
	flex: 0 0 calc(25% - 9px);
	padding: 0;
	border: 2px solid transparent;
	border-radius: 16px;
	overflow: hidden;
	background: var(--nt-white);
	box-shadow: var(--nt-shadow);
	cursor: pointer;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.nt-product-single__thumb.is-active,
.nt-product-single__thumb:hover {
	border-color: var(--nt-orange);
}

.nt-product-single__thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

.nt-product-single__title {
	font-family: var(--font-accent);
	font-size: clamp(var(--nt-fs-lg), 3vw, var(--nt-fs-2xl));
	font-weight: 800;
	color: var(--nt-orange);
	text-transform: uppercase;
	margin: 0 0 20px;
	line-height: 1.2;
}

.nt-product-single__excerpt {
    font-size: var(--nt-fs-base);
    line-height: 26px;
    color: var(--nt-text);
    margin-bottom: 10px;
}

.nt-product-single__excerpt p {
	margin: 0;
	color: #000;
}

.nt-product-single__details {
	margin-bottom: 32px;
}

.nt-product-single__detail-item {
	margin-bottom: 20px;
}

.nt-product-single__detail-item h3 {
    font-family: var(--font-main);
    font-size: var(--nt-fs-base);
    line-height: 29px;
    font-weight: 800;
    color: var(--nt-orange);
    text-transform: uppercase;
    margin: 0;
}

.nt-product-single__detail-item p {
	margin: 0;
	font-size: var(--nt-fs-base);
	line-height: 29px;
	color: #666;
}

.nt-btn--contact {
    font-family: var(--font-accent);
    font-size: var(--nt-fs-md);
    padding: 14px 36px;
    background: transparent;
    color: var(--nt-orange);
    border: 2px solid var(--nt-orange);
    border-radius: 8px;
    position: relative;
    font-family: 'Phudu';
    font-weight: 500;
}

.nt-btn--contact:hover {
	background: var(--nt-orange);
	color: var(--nt-white);
	opacity: 1;
}

/* Collage gallery */
.nt-product-collage {
	position: relative;
	padding: 72px 0 clamp(120px, 18vw, 220px);
	background-color: var(--nt-cream);
	background-image: url('../images/bg-s7.png');
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: 100% auto;
	overflow: visible;
}
.nt-product-collage__grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 180px;
	gap: 16px;
	margin-bottom: 40px;
	max-width: 1100px;
	margin: 0 auto;
}

.nt-product-collage__item {
	border-radius: var(--nt-radius);
	overflow: hidden;
	box-shadow: var(--nt-shadow);
}

.nt-product-collage__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nt-product-collage__item--wide {
	grid-column: span 2;
}

.nt-product-collage__item--large {
	grid-column: span 2;
	grid-row: span 2;
}

.nt-product-single__content {
	color:#6d6c6c;
    position: relative;
    background: var(--nt-white);
    border-radius: 10px;
    padding: 10px 15px;
    box-shadow: var(--nt-shadow);
    max-width: 1100px;
    margin-top: 20px !important;
    margin: 0 auto;
}
/* Responsive */
@media (max-width: 1400px) {
	.nt-product-single__hero {
		max-width: 960px;
		gap: 32px;
	}

	.nt-product-single__main-image img {
		min-height: 320px;
		max-height: 440px;
	}

	.nt-product-single__details {
		margin-bottom: 24px;
	}

	.nt-product-single__detail-item {
		margin-bottom: 14px;
	}

	.nt-product-collage__grid {
		max-width: 960px;
		grid-auto-rows: 150px;
	}
}

@media (max-width: 1024px) {
	.nt-product-archive__layout {
		grid-template-columns: 220px 1fr;
	}

	.nt-products-grid--archive {
		grid-template-columns: repeat(2, 1fr);
	}

	.nt-product-single__hero {
		gap: 32px;
	}
}

@media (max-width: 768px) {
	.nt-hero--page {
		height: 320px;
	}

	.nt-product-archive__layout {
		grid-template-columns: 1fr;
	}

	.nt-product-archive__toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	.nt-product-archive__search {
		min-width: 100%;
	}

	.nt-products-grid--archive,
	.nt-product-single__hero {
		grid-template-columns: 1fr;
	}

	.nt-product-single__thumb {
		flex: 0 0 calc(33.333% - 8px);
	}

	.nt-product-single__main-image {
		grid-row: auto;
	}

	.nt-product-single__main-image img {
		min-height: 280px;
	}

	.nt-product-collage__grid {
		grid-template-columns: 1fr 1fr;
		grid-auto-rows: 180px;
	}
	.nt-product-card__badge {
		top: -20px;
	}
	.nt-product-collage__item--wide,
	.nt-product-collage__item--large {
		grid-column: span 2;
		grid-row: span 1;
	}

	.nt-featured-products--page .nt-featured-products__carousel--outside-nav {
		gap: 0;
	}

	.nt-featured-products--page .nt-featured-products-swiper__prev,
	.nt-featured-products--page .nt-featured-products-swiper__next,
	.nt-featured-products--page .nt-featured-products-swiper__prev.swiper-button-disabled,
	.nt-featured-products--page .nt-featured-products-swiper__next.swiper-button-disabled {
		display: none !important;
	}

	.nt-featured-products--page .nt-featured-products-swiper--page {
		padding-left: 0;
		padding-right: 0;
	}
	.nt-product-collage {
		padding: 20px 0 clamp(120px, 18vw, 220px);
	}

	.nt-product-single {
		padding: 32px 0 20px;
	}
}

@media (max-width: 480px) {
	.nt-products-grid--archive,
	.nt-product-collage__grid {
		grid-template-columns: 1fr;
	}

	.nt-product-collage__item--wide,
	.nt-product-collage__item--large {
		grid-column: span 1;
	}
}
