/*
Theme Name: Neev Living
Theme URI: http://localhost/neevliving-wordpress
Author: Neev Living
Description: Editorial furniture, lighting and decor storefront.
Version: 1.0.1
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: neev-living
*/

:root {
	--wine: #453323;
	--ink: #1c1917;
	--muted: #6f675f;
	--line: #e6dfd6;
	--sand: #f6f3ef;
	--paper: #ffffff;
	--serif: "Cormorant Garamond", Georgia, serif;
	--sans: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--ink);
	background: var(--paper);
	font-family: var(--sans);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
}
body.nl-lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.nl-skip {
	position: absolute;
	left: 12px;
	top: -40px;
	background: #fff;
	padding: 8px 12px;
	z-index: 100;
}
.nl-skip:focus { top: 12px; }
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.nl-wrap { width: min(1280px, calc(100% - 40px)); margin: 0 auto; }
.nl-kicker {
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 500;
}

.nl-header {
	position: relative;
	z-index: 40;
	background: #fff;
}
.nl-header__bar {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 74px;
	padding: 8px 28px;
	z-index: 22;
	position: relative;
}
.nl-header__side { display: flex; gap: 4px; align-items: center; }
.nl-header__side--end { margin-left: 0; }
.nl-header-search {
	display: flex;
	align-items: center;
	width: 220px;
	height: 40px;
	margin-left: auto;
	margin-right: 4px;
	border: 1px solid var(--line);
	background: var(--sand);
	position: relative;
	flex: 0 0 auto;
}
.nl-header-search:focus-within { border-color: var(--wine); background: #fff; }
.nl-header-search input {
	width: 100%;
	height: 100%;
	border: 0;
	background: transparent;
	padding: 0 38px 0 14px;
	font-size: 14px;
	outline: none;
}
.nl-header-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.nl-header-search button {
	position: absolute;
	right: 0;
	top: 0;
	width: 36px;
	height: 100%;
	border: 0;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
	display: grid;
	place-items: center;
	padding: 0;
}
.nl-nav {
	display: flex;
	align-items: center;
	gap: 2px;
	margin-left: 28px;
	min-width: 0;
}
.nl-nav__item { position: relative; }
.nl-nav__item > a {
	display: block;
	padding: 12px 11px;
	text-decoration: none;
	font-size: 13px;
	letter-spacing: .06em;
	text-transform: uppercase;
	white-space: nowrap;
}
.nl-nav__item > a:hover { color: var(--wine); }
.nl-nav__drop {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 230px;
	max-height: 70vh;
	overflow: auto;
	background: #fff;
	border: 1px solid var(--line);
	padding: 8px 0;
	box-shadow: 0 12px 30px rgba(28, 25, 23, .08);
}
.nl-nav__item:hover .nl-nav__drop,
.nl-nav__item:focus-within .nl-nav__drop { display: block; }
.nl-nav__drop a {
	display: block;
	padding: 8px 16px;
	text-decoration: none;
	font-size: 14px;
	letter-spacing: 0;
	text-transform: none;
}
.nl-nav__drop a:hover { background: var(--sand); }
.nl-iconbtn.nl-menu-toggle { display: none; }
.nl-iconbtn {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	cursor: pointer;
	text-decoration: none;
	position: relative;
}
.nl-logo { display: flex; align-items: center; flex: 0 0 auto; }
.nl-header .nl-logo__img,
.woocommerce .nl-logo__img,
.woocommerce-page .nl-logo__img {
	display: block;
	height: 46px;
	width: auto;
	max-width: none;
	max-height: 46px;
}
.nl-cart-count {
	position: absolute;
	top: 4px;
	right: 2px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 99px;
	background: #e6ddd3;
	color: var(--ink);
	font-size: 10px;
	line-height: 16px;
	text-align: center;
}

.nl-promo {
	display: grid;
	scrollbar-width: none;
	grid-template-columns: repeat(4, 1fr);
	background: var(--wine) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='80' viewBox='0 0 180 80'%3E%3Cpath d='M10 60c20-30 30-30 40-8 8 18 18 20 30 4 14-18 28-10 36 8' fill='none' stroke='%23ffffff' stroke-opacity='.18'/%3E%3Cpath d='M120 20c10 16 8 28-6 34' fill='none' stroke='%23ffffff' stroke-opacity='.18'/%3E%3C/svg%3E") center/420px repeat;
	color: #fff;
	z-index: 9;
	position: relative;
}
.nl-promo a {
	text-align: center;
	text-decoration: none;
	padding: 14px 12px 16px;
	border-left: 1px solid rgba(255,255,255,.28);
}
.nl-promo::-webkit-scrollbar { display: none; }
.nl-promo a:first-child { border-left: 0; }
.nl-promo strong { display: block; font-weight: 500; font-size: 16px; }
.nl-promo span { display: block; font-size: 13px; opacity: .92; }

.nl-overlay { position: fixed; inset: 0; z-index: 80; }
.nl-overlay[hidden] { display: none; }
.nl-overlay__backdrop { position: absolute; inset: 0; background: rgba(28,25,23,.35); border: 0; }
.nl-drawer {
	position: relative;
	width: min(420px, 100%);
	height: 100%;
	background: #fff;
	overflow: auto;
	padding: 22px 22px 48px;
}
.nl-drawer__top, .nl-acc > button, .nl-drawer__link, .nl-acc__panel a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	text-decoration: none;
}
.nl-drawer__top { margin-bottom: 12px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.nl-drawer__top button, .nl-search__close {
	border: 0;
	background: transparent;
	cursor: pointer;
	letter-spacing: .08em;
	text-transform: uppercase;
	font-size: 12px;
}
.nl-acc > button, .nl-drawer__link {
	border: 0;
	border-bottom: 1px solid var(--line);
	background: transparent;
	text-align: left;
	padding: 16px 0;
	cursor: pointer;
	font-size: 18px;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.nl-acc > button[aria-expanded="true"] { color: var(--wine); }
.nl-acc__panel a {
	padding: 10px 0 10px 8px;
	font-size: 15px;
	color: var(--muted);
	text-transform: none;
	letter-spacing: 0;
	border-bottom: 1px solid #f1ece6;
}
.nl-search {
	position: relative;
	margin: 12vh auto 0;
	width: min(720px, calc(100% - 32px));
	background: #fff;
	padding: 28px;
}
.nl-search form { display: flex; gap: 8px; }
.nl-search input, .nl-newsletter input, .woocommerce form .input-text, .qty {
	border: 1px solid var(--line);
	background: #fff;
	padding: 14px 16px;
	width: 100%;
	outline: none;
}
.nl-search button, .nl-newsletter button, .nl-btn, .single_add_to_cart_button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	border: 0;
	background: var(--ink);
	color: #fff;
	padding: 14px 22px;
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
	letter-spacing: .08em;
	text-transform: uppercase;
	font-size: 13px;
}
.nl-btn { background: #fff; color: var(--ink); }

.nl-hero { position: relative; min-height: 78vh; background: #cbbba8; }
.nl-hero img { width: 100%; height: 78vh; object-fit: cover; }
.nl-hero__copy {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #fff;
	text-align: center;
	text-shadow: 0 10px 30px rgba(0,0,0,.25);
	padding: 24px;
}
.nl-hero h1 {
	font-family: var(--serif);
	font-weight: 500;
	font-style: italic;
	font-size: clamp(84px, 14vw, 168px);
	line-height: .8;
}
.nl-hero__line {
	margin-top: 12px;
	letter-spacing: .22em;
	text-transform: uppercase;
	font-size: 13px;
	line-height: 1.7;
}

.nl-section { padding: 72px 0 20px; }
.nl-section__head { text-align: center; margin-bottom: 28px; }
.nl-section__head h2, .nl-stores h2, .nl-story h2, .nl-page h1, .nl-shop__head h1, .nl-product h1, .nl-newsletter h2 {
	font-family: var(--serif);
	font-weight: 500;
	font-size: clamp(34px, 4vw, 52px);
	line-height: 1.05;
}
.nl-section__head p, .nl-shop__head p { color: var(--muted); margin-top: 8px; }

.nl-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.nl-cat { position: relative; display: block; aspect-ratio: 3/4; overflow: hidden; background: var(--sand); text-decoration: none; }
.nl-cat img,
.woocommerce .nl-cat img { width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .6s ease; }
.nl-cat:hover img { transform: scale(1.04); }
.nl-cat span {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 36px 18px 16px;
	color: #fff;
	font-size: 26px;
	font-family: var(--serif);
	background: linear-gradient(to top, rgba(28, 23, 20, .82) 0%, rgba(28, 23, 20, .45) 55%, rgba(28, 23, 20, 0) 100%);
}

.nl-carousel { --nl-gap: 22px; position: relative; }
.nl-carousel__track {
	display: flex;
	gap: var(--nl-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding: 0 0 8px;
}
.nl-carousel__track::-webkit-scrollbar { display: none; }
.nl-carousel__btn {
	position: absolute;
	top: calc(((100% - (var(--nl-gap) * 3)) / 4) * .625);
	z-index: 2;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: #fff;
	box-shadow: 0 6px 18px rgba(28, 25, 23, .12);
	cursor: pointer;
	display: grid;
	place-items: center;
	transform: translateY(-50%);
}
.nl-carousel__btn--prev { left: -20px; }
.nl-carousel__btn--next { right: -20px; }

.nl-card { flex: 0 0 calc((100% - (var(--nl-gap) * 3)) / 4); min-width: 0; scroll-snap-align: start; }
.nl-card a { display: block; text-decoration: none; }
.nl-card__media { display: block; position: relative; aspect-ratio: 4/5; background: var(--sand); overflow: hidden; }
.nl-card__media img,
.woocommerce .nl-card__media img,
.woocommerce-page .nl-card__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform .5s ease;
}
.nl-card:hover img { transform: scale(1.04); }
.nl-card__name {
	display: block;
	margin-top: 12px;
	min-height: 2.7em;
	font-size: 15px;
	font-weight: 400;
}
.nl-card__meta { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; }
.nl-card__price, .nl-product__price { display: block; margin-top: 2px; font-size: 15px; }
.nl-card__price .woocommerce-Price-amount, .nl-product__price .woocommerce-Price-amount { font-weight: 500; }

.nl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 16px; }
.nl-grid .nl-card { flex: none; }
.nl-shop { padding: 36px 0 80px; }
.nl-shop__head { margin-bottom: 28px; }
.nl-empty { color: var(--muted); }
.woocommerce-pagination { margin-top: 28px; }
.woocommerce-pagination ul { display: flex; gap: 8px; }
.woocommerce-pagination a, .woocommerce-pagination span { display: inline-block; padding: 8px 12px; border: 1px solid var(--line); text-decoration: none; }

.nl-look { display: grid; grid-template-columns: 1.4fr .8fr; gap: 28px; align-items: center; }
.nl-look[hidden] { display: none; }
.nl-look__photo { background: var(--sand); min-height: 460px; }
.nl-look__photo img { width: 100%; height: 560px; object-fit: cover; }
.nl-look__panel li + li { border-top: 1px solid var(--line); }
.nl-look__panel a {
	display: grid;
	grid-template-columns: 36px 1fr auto;
	gap: 10px;
	align-items: baseline;
	padding: 14px 0;
	text-decoration: none;
}
.nl-look__panel em { font-style: normal; color: var(--muted); }
.nl-textlink { display: inline-block; margin-top: 12px; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
.nl-look__nav { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 18px; }
.nl-look__nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; }

.nl-stores { padding: 70px 0; background: var(--sand); overflow: hidden; }
.nl-marquee { display: flex; gap: 0; margin-bottom: 28px; }
.nl-marquee__row { display: flex; gap: 42px; padding-right: 42px; animation: nl-slide 28s linear infinite; }
.nl-marquee__row span { font-family: var(--serif); font-size: 42px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
@keyframes nl-slide { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.nl-stores__copy { text-align: center; max-width: 680px; }
.nl-stores__copy p { margin: 12px auto 22px; color: var(--muted); }

.nl-story { padding-bottom: 40px; }
.nl-prose { max-width: 760px; }
.nl-page .nl-prose, .nl-story .nl-prose { margin: 0 auto; }
.nl-page { padding: 48px 0 80px; }
.nl-prose p, .nl-prose li { margin-top: 14px; color: #3f3934; }
.nl-prose h2, .nl-prose h3 { margin-top: 28px; font-family: var(--serif); font-weight: 500; }
.nl-journal li { border-bottom: 1px solid var(--line); }
.nl-journal a { display: block; padding: 22px 0; text-decoration: none; }
.nl-journal h2 { font-family: var(--serif); font-size: 32px; font-weight: 500; }
.nl-journal p { color: var(--muted); margin-top: 6px; }

.nl-footer { background: #201c1a; color: #f6f1ea; padding: 72px 0 36px; margin-top: 28px; }
.nl-footer__grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 36px 28px; padding-top: 8px; border-top: 1px solid rgba(246,241,234,.14); }
.nl-footer__name { font-family: var(--serif); font-size: 28px; letter-spacing: .16em; font-weight: 500; margin: 0 0 14px; color: #fff; }
.nl-footer__brand p { max-width: 280px; line-height: 1.6; color: rgba(246,241,234,.72); }
.nl-footer h3 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; margin: 8px 0 14px; color: #fff; }
.nl-footer a, .nl-footer p { display: block; color: rgba(246,241,234,.78); text-decoration: none; margin: 8px 0; font-weight: 300; }
.nl-footer a:hover { color: #fff; }
.nl-copy { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(246,241,234,.14); font-size: 13px; color: rgba(246,241,234,.55); }

.nl-tabbar { display: none; }

.nl-product { padding: 28px 0 10px; }
.nl-product__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .82fr); gap: 56px; align-items: start; }
.nl-product__summary { position: sticky; top: 24px; }
.nl-product h1 { font-size: clamp(36px, 4vw, 54px); margin: 10px 0 16px; }
.nl-product__price { font-size: 22px; margin-bottom: 16px; }
.nl-product form.cart { display: flex; gap: 10px; margin: 22px 0; align-items: center; flex-wrap: wrap; }
.nl-product .qty,
.woocommerce .nl-product .quantity .qty,
.woocommerce .nl-product .quantity select.qty {
	width: 84px;
	height: 48px;
	border: 1px solid var(--line);
	border-radius: 0;
	background: #fff;
	padding: 0 10px;
	cursor: pointer;
}
.woocommerce .nl-product button.single_add_to_cart_button {
	background: var(--wine);
	color: #fff;
	border: 0;
	border-radius: 0;
	min-height: 48px;
	padding: 0 28px;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 500;
}
.nl-gallery__stage { background: #fff; border: 1px solid var(--line); }
.nl-gallery__stage img,
.woocommerce .nl-gallery__stage img,
.woocommerce-page .nl-gallery__stage img { width: 100%; height: 640px; max-width: 100%; object-fit: contain; display: block; background: #fff; }
.nl-gallery__caption { margin: 8px 0 0; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nl-gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; }
.nl-gallery__thumbs button { width: 92px; padding: 0 0 6px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.nl-gallery__thumbs button.is-active { border-color: var(--wine); }
.nl-gallery__thumbs img,
.woocommerce .nl-gallery__thumbs img { width: 92px; height: 78px; max-width: none; object-fit: cover; display: block; }
.nl-gallery__thumbs span { display: block; margin-top: 4px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.nl-size-label { margin: 18px 0 8px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.nl-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.nl-sizes button { border: 1px solid var(--line); background: #fff; padding: 10px 16px; cursor: pointer; }
.nl-sizes button.is-active { border-color: var(--wine); color: var(--wine); }
.nl-product table.variations, .nl-product .reset_variations, .nl-product .woocommerce-variation-price { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nl-specs { width: 100%; border-collapse: collapse; margin-top: 8px; }
.nl-specs th, .nl-specs td { text-align: left; font-weight: 400; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.nl-specs th { width: 42%; color: var(--muted); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.nl-product__details { width: min(1280px, calc(100% - 40px)); margin: 8px auto 0; }
.nl-payline { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.nl-product__details h2 { font-size: 28px; margin: 28px 0 12px; }
.nl-notes { margin-top: 18px; color: var(--muted); }
.nl-notes li { padding: 8px 0; border-top: 1px solid var(--line); }
.woocommerce-breadcrumb { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.woocommerce-breadcrumb a { text-decoration: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .nl-paynote { padding: 12px 14px; background: var(--sand); margin: 0 0 16px; list-style: none; }
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-bottom: 1px solid var(--line); padding: 14px 8px; text-align: left; }
.woocommerce-cart .nl-page, .woocommerce-checkout .nl-page, .woocommerce-account .nl-page { width: auto; margin: 0; padding: 48px 0 72px; }
.woocommerce-cart .nl-prose, .woocommerce-checkout .nl-prose, .woocommerce-account .nl-prose { max-width: none; }
.woocommerce-cart .nl-page h1, .woocommerce-checkout .nl-page h1 { margin-bottom: 28px; }
.wc-block-components-sidebar { background: var(--sand); padding: 8px 22px 18px; }
.wc-block-cart .wc-block-components-product-name { font-weight: 500; text-decoration: none; }
.wc-block-cart-item__image img, .wc-block-components-product-image img { width: 92px; height: 104px; object-fit: cover; }
.wc-block-components-button:not(.is-link) { background: var(--wine); color: #fff; border-radius: 0; }
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button { min-height: 48px; }
.nl-shop__count { margin-top: 8px; color: var(--muted); }

@media (max-width: 1100px) {
	.nl-header__bar {
		display: grid;
		grid-template-columns: auto 1fr auto;
		padding: 8px 12px;
	}
	.nl-iconbtn.nl-menu-toggle { display: inline-flex; }
	.nl-nav { display: none; }
	.nl-logo { justify-self: center; }
	.nl-header-search { grid-column: 1 / -1; width: auto; margin: 2px 0 8px; order: 4; }
}
@media (max-width: 980px) {
	.nl-cats, .nl-grid, .nl-footer__grid { grid-template-columns: repeat(2, 1fr); }
	.nl-footer__brand { grid-column: 1 / -1; }
	.nl-card { flex-basis: calc((100% - var(--nl-gap)) / 2); }
	.nl-carousel__btn { top: calc(((100% - var(--nl-gap)) / 2) * .625); left: 8px; right: auto; }
	.nl-carousel__btn--next { left: auto; right: 8px; }
	.nl-look, .nl-product__grid { grid-template-columns: 1fr; }
	.nl-product__summary { position: static; }
	.nl-look__photo img { height: 420px; }
	.nl-promo { display: flex; overflow-x: auto; }
	.nl-promo a { min-width: 72%; flex: none; border-left: 0; border-right: 1px solid rgba(255,255,255,.28); }
}
@media (max-width: 720px) {
	.nl-header__bar { min-height: 64px; padding: 6px 8px; }
	.nl-header .nl-logo__img,
	.woocommerce .nl-logo__img,
	.woocommerce-page .nl-logo__img { height: 34px; max-height: 34px; }
	.nl-gallery__stage img,
	.woocommerce .nl-gallery__stage img,
	.woocommerce-page .nl-gallery__stage img { height: 420px; }
	.nl-promo a { min-width: 100%; }
	.nl-product h1 { font-size: 34px; }
	.nl-hero, .nl-hero img { min-height: 68vh; height: 68vh; }
	.nl-section { padding-top: 48px; }
	.nl-tabbar {
		display: grid;
		grid-template-columns: repeat(5, 1fr);
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 50;
		background: #fff;
		border-top: 1px solid var(--line);
	}
	.nl-tabbar a, .nl-tabbar button {
		border: 0;
		background: transparent;
		text-decoration: none;
		text-align: center;
		padding: 12px 4px 14px;
		font-size: 12px;
		position: relative;
	}
	.nl-tabbar .nl-cart-count { top: 4px; right: calc(50% - 22px); }
	body { padding-bottom: 58px; }
	.nl-footer__grid { grid-template-columns: 1fr; }
	.nl-marquee__row span { font-size: 28px; }
}
