/* Natural Furniture: brand layer on top of the Shopvane theme. */

:root {
	--nf-navy: #0b1f33;
	--nf-navy-2: #12304d;
	--nf-gold: #c9a24b;
	--nf-gold-2: #e2c47a;
	--nf-cream: #faf7f0;
	--sv-font-body: "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
	--sv-font-heading: "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body,
button,
input,
select,
textarea {
	font-family: var(--sv-font-body);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--sv-font-heading);
}

a,
button,
.button,
input,
select,
textarea {
	transition: color .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease, opacity .25s ease;
}

/* ------------------------------------------------------------ Buttons */

.nf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 10px 20px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}

.nf-btn:hover,
.nf-btn:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(11, 31, 51, .18);
	text-decoration: none;
}

.nf-btn--wa {
	background: #1fa855;
	color: #fff;
}

.nf-btn--wa:hover,
.nf-btn--wa:focus-visible {
	background: #178a45;
	color: #fff;
}

.nf-btn--call {
	background: #fff;
	border-color: var(--nf-navy);
	color: var(--nf-navy);
}

.nf-btn--call:hover,
.nf-btn--call:focus-visible {
	background: var(--nf-navy);
	color: #fff;
}

.nf-btn--gold {
	background: var(--nf-gold);
	color: var(--nf-navy);
}

.nf-btn--gold:hover,
.nf-btn--gold:focus-visible {
	background: var(--nf-gold-2);
	color: var(--nf-navy);
}

/* -------------------------------------------------- Floating contact */

.nf-float {
	position: fixed;
	right: 16px;
	bottom: 20px;
	z-index: 90;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.nf-float__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	color: #fff;
	box-shadow: 0 6px 18px rgba(11, 31, 51, .28);
}

.nf-float__btn--wa {
	background: #1fa855;
}

.nf-float__btn--call {
	background: var(--nf-navy);
	border: 1px solid var(--nf-gold);
	color: var(--nf-gold-2);
}

.nf-float__btn:hover,
.nf-float__btn:focus-visible {
	transform: translateY(-2px) scale(1.05);
	color: #fff;
}

.nf-float__btn svg {
	width: 26px;
	height: 26px;
}

@media (max-width: 991px) {
	/* Clear the theme's mobile bottom bar. */
	.nf-float {
		bottom: 78px;
		right: 12px;
	}

	.nf-float__btn {
		width: 46px;
		height: 46px;
	}
}

/* ------------------------------------------------------ Product page */

.nf-orderbox {
	margin: 18px 0 6px;
	padding: 16px;
	border: 1px solid #eadfc6;
	border-radius: 10px;
	background: var(--nf-cream);
}

.nf-orderbox__charge {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 0 0 14px;
	color: var(--nf-navy);
	line-height: 1.6;
}

.nf-orderbox__charge svg {
	flex: 0 0 auto;
	margin-top: 3px;
	color: var(--nf-gold);
}

.nf-orderbox__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.nf-orderbox__custom {
	margin: 14px 0 0;
	font-size: 15px;
}

.nf-orderbox__custom a {
	font-weight: 600;
	color: var(--nf-navy);
	text-decoration: underline;
	text-decoration-color: var(--nf-gold);
	text-underline-offset: 3px;
}

@media (max-width: 480px) {
	.nf-orderbox__actions {
		grid-template-columns: 1fr;
	}
}

.nf-list {
	margin: 0 0 16px;
	padding-left: 20px;
	line-height: 1.9;
}

/* ------------------------------------------------------------ Contact */

.nf-contact {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 0 0 28px;
}

.nf-contact__item {
	display: flex;
	gap: 14px;
	padding: 18px;
	border: 1px solid #e6e2d8;
	border-radius: 10px;
	background: #fff;
}

.nf-contact__item:hover {
	border-color: var(--nf-gold);
	box-shadow: 0 8px 22px rgba(11, 31, 51, .08);
}

.nf-contact__item > svg {
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	margin-top: 2px;
	color: var(--nf-gold);
}

.nf-contact__item div {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.nf-contact__item strong {
	color: var(--nf-navy);
}

.nf-contact__item a {
	color: var(--nf-navy);
	font-weight: 600;
}

@media (max-width: 640px) {
	.nf-contact {
		grid-template-columns: 1fr;
	}
}

.nf-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

/* --------------------------------------------------------------- Form */

.nf-form {
	padding: 24px;
	border: 1px solid #e6e2d8;
	border-radius: 12px;
	background: #fff;
}

.nf-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px 18px;
}

.nf-form__grid p {
	margin: 0 0 14px;
}

.nf-form__wide {
	grid-column: 1 / -1;
}

.nf-form label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	color: var(--nf-navy);
}

.nf-form label span {
	color: #b42318;
}

.nf-form input[type="text"],
.nf-form input[type="tel"],
.nf-form select,
.nf-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 10px 12px;
	border: 1px solid #cfcabd;
	border-radius: 8px;
	background: #fff;
	font-size: 16px;
}

.nf-form input:focus,
.nf-form select:focus,
.nf-form textarea:focus {
	border-color: var(--nf-gold);
	box-shadow: 0 0 0 3px rgba(201, 162, 75, .25);
	outline: none;
}

.nf-form small {
	display: block;
	margin-top: 6px;
	color: #5b6470;
}

.nf-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.nf-form__msg {
	margin: 0 0 18px;
	padding: 14px 16px;
	border-radius: 8px;
	font-weight: 600;
	animation: nf-fade .45s ease both;
}

.nf-form__msg.is-ok {
	background: #e7f6ec;
	color: #11602f;
}

.nf-form__msg.is-error {
	background: #fdecea;
	color: #8f1d14;
}

@keyframes nf-fade {
	from {
		opacity: 0;
		transform: translateY(6px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 640px) {
	.nf-form {
		padding: 16px;
	}

	.nf-form__grid {
		grid-template-columns: 1fr;
	}
}

/* ----------------------------------------------------------- Content */

.nf-points {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.nf-points li {
	padding: 18px;
	border-radius: 10px;
	background: var(--nf-cream);
	border: 1px solid #eadfc6;
	line-height: 1.7;
}

.nf-points strong {
	display: block;
	margin-bottom: 4px;
	color: var(--nf-navy);
	font-size: 17px;
}

@media (max-width: 782px) {
	.nf-points {
		grid-template-columns: 1fr;
	}
}

.nf-banner img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
}

.nf-pay {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nf-pay li {
	padding: 6px 12px;
	border: 1px solid rgba(226, 196, 122, .55);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
}

/* Gold accents the theme has no setting for. */
.sv-topbar a,
.sv-footer a:hover {
	color: var(--nf-gold-2);
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
	}
}

/* ------------------------------------------------------ Landing page */

.nf-landing {
	max-width: 860px;
	margin: 0 auto 24px;
	text-align: center;
}

.nf-landing__eyebrow {
	display: inline-block;
	margin: 0 0 12px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--nf-navy);
	color: var(--nf-gold-2);
	font-weight: 600;
	font-size: 14px;
}

.nf-landing__title {
	margin: 0 0 12px;
	color: var(--nf-navy);
	font-size: clamp(26px, 5vw, 40px);
	line-height: 1.3;
}

.nf-landing__lead {
	margin: 0 auto 22px;
	max-width: 640px;
	font-size: 18px;
	line-height: 1.8;
}

.nf-landing .nf-banner {
	margin-bottom: 22px;
}

.nf-landing .nf-points {
	text-align: left;
}

.nf-landing__order {
	margin: 8px 0 0;
	padding: 14px;
	border-radius: 10px;
	background: var(--nf-navy);
	color: #fff;
	font-size: 20px;
}

/* The header is navy, so the theme's navy hover/current link colour would vanish. */
.sv-header .sv-nav__list > li > a:hover,
.sv-header .sv-nav__list > li.current-menu-item > a,
.sv-header .sv-nav__list > li.current-menu-ancestor > a,
.sv-header .sv-nav__list > li.current-product_cat-ancestor > a {
	color: var(--nf-gold-2);
}

/* Phone: the boxed USP cards put icon and Bangla text side by side in a 150px column. */
@media (max-width: 640px) {
	.sv-usp--boxed .sv-usp__item {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		padding: 16px;
	}

	/* The phone number is already one tap away in the floating button; keep the bar to one line. */
	.sv-topbar__left {
		display: none;
	}

	.sv-topbar__note {
		width: 100%;
		text-align: center;
		font-size: 13px;
		white-space: normal;
	}
}

/* ----------------------------------------------------------- Checkout */

.woocommerce-checkout .nf-hidden {
	display: none !important;
}

.woocommerce-checkout .form-row-wide,
.woocommerce-checkout .form-row-wide .woocommerce-input-wrapper,
.woocommerce-checkout .form-row-wide input.input-text,
.woocommerce-checkout .form-row-wide select,
.woocommerce-checkout .form-row-wide textarea,
.woocommerce-checkout .select2-container {
	width: 100% !important;
	max-width: 100%;
}

.woocommerce-checkout .form-row label {
	font-weight: 600;
	color: var(--nf-navy);
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
	min-height: 48px;
	font-size: 16px;
}

/* Page blocks follow the theme's centred reading column. */
.sv-prose > .nf-points,
.sv-prose > .nf-form,
.sv-prose > .nf-contact,
.sv-prose > .nf-banner,
.sv-prose > .nf-cta,
.sv-prose > .nf-list {
	margin-left: auto;
	margin-right: auto;
}

.sv-prose > .nf-banner {
	margin-bottom: 24px;
}
