/*
Theme Name: Fenstt Modern
Theme URI: https://fenstt.com/
Author: Fens of Trinidad & Tobago
Description: A modern responsive WooCommerce storefront for Fens.
Version: 1.1.0
Text Domain: fenstt-modern
*/

:root {
	--ink: #171717;
	--muted: #686868;
	--line: #e8e8e8;
	--paper: #ffffff;
	--soft: #f6f6f4;
	--red: #c51625;
	--red-dark: #98101b;
	--black: #111111;
	--cream: #eee9df;
	--radius: 18px;
	--shadow: 0 18px 50px rgba(0, 0, 0, .1);
	--wrap: 1260px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--ink);
	background: var(--paper);
	font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.container { width: min(calc(100% - 40px), var(--wrap)); margin-inline: auto; }

.notice-bar { background: var(--black); color: #fff; font-size: 12px; letter-spacing: .015em; }
.notice-bar .container {
	min-height: 36px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.notice-bar a { color: #fff; opacity: .86; }
.notice-links { display: flex; gap: 24px; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .97);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(16px);
}
.header-main {
	min-height: 82px;
	display: grid;
	grid-template-columns: 190px minmax(260px, 1fr) auto;
	align-items: center;
	gap: 30px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 154px; max-height: 62px; object-fit: contain; }
.product-search {
	display: flex;
	max-width: 660px;
	justify-self: center;
	width: 100%;
	background: var(--soft);
	border: 1px solid transparent;
	border-radius: 999px;
	overflow: hidden;
}
.product-search:focus-within {
	border-color: var(--black);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(0, 0, 0, .06);
}
.product-search input {
	width: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	padding: 13px 18px;
	color: var(--ink);
}
.product-search button {
	width: 52px;
	border: 0;
	background: transparent;
	color: var(--black);
	cursor: pointer;
}
.product-search svg { width: 20px; height: 20px; }
.header-actions { display: flex; align-items: center; gap: 9px; }
.icon-link, .menu-toggle {
	min-width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	cursor: pointer;
}
.icon-link:hover, .menu-toggle:hover { color: var(--red); border-color: #d9a2a7; }
.icon-link svg, .menu-toggle svg { width: 21px; height: 21px; }
.cart-count {
	position: absolute;
	right: -4px;
	top: -6px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	display: grid;
	place-items: center;
	border-radius: 999px;
	background: var(--red);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
}
.menu-toggle { display: none; }

.desktop-nav { border-top: 1px solid var(--line); }
.desktop-nav .container { min-height: 48px; display: flex; align-items: center; }
.desktop-nav-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.desktop-nav a { padding: 8px 13px; border-radius: 999px; font-size: 13px; font-weight: 750; }
.desktop-nav a:hover, .desktop-nav a:focus { background: var(--soft); color: var(--red); }
.desktop-nav .sale { color: var(--red); }
.desktop-service-link { margin-left: auto; color: var(--muted); }

.mobile-drawer {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 150;
	background: #fff;
}
.mobile-drawer.is-open { display: block; }
.drawer-panel {
	width: 100%;
	height: 100%;
	padding: 20px max(22px, calc((100vw - 1260px) / 2));
	overflow-y: auto;
	background: #fff;
}
.drawer-head {
	min-height: 70px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--line);
}
.drawer-head img { width: 142px; display: block; }
.drawer-close {
	width: 46px;
	height: 46px;
	border: 1px solid var(--line);
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #fff;
	cursor: pointer;
}
.drawer-close svg { width: 23px; height: 23px; }
.drawer-label {
	margin: 38px 0 12px;
	color: var(--muted);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .15em;
	text-transform: uppercase;
}
.drawer-nav { display: grid; }
.drawer-nav a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
	font-size: clamp(25px, 7vw, 38px);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -.035em;
}
.drawer-nav a::after { content: "→"; color: #b2b2b2; font-weight: 400; }
.drawer-nav .sale { color: var(--red); }
.drawer-utility {
	padding-block: 24px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px 24px;
	border-bottom: 1px solid var(--line);
	font-weight: 700;
}
.drawer-contact { padding-block: 22px; display: grid; gap: 5px; color: var(--muted); font-size: 14px; }
.drawer-contact span { color: var(--ink); font-weight: 800; }
.drawer-contact a:hover { color: var(--red); }

.hero-banner {
	position: relative;
	min-height: clamp(560px, 72vh, 760px);
	display: flex;
	align-items: center;
	overflow: hidden;
	background: #28241f;
	color: #fff;
}
.hero-media {
	position: absolute;
	inset: 0;
	background: url("assets/hero-office.jpg") center / cover no-repeat;
	transform: scale(1.01);
}
.hero-shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, .84) 0%, rgba(0, 0, 0, .61) 44%, rgba(0, 0, 0, .08) 78%),
		linear-gradient(0deg, rgba(0, 0, 0, .35), transparent 45%);
}
.hero-content { position: relative; z-index: 2; padding-block: 80px 130px; }
.eyebrow {
	margin: 0 0 13px;
	color: var(--red);
	text-transform: uppercase;
	letter-spacing: .15em;
	font-size: 11px;
	font-weight: 850;
}
.eyebrow.light { color: #fff; opacity: .76; }
.hero-content h1 {
	max-width: 850px;
	margin: 0;
	font-size: clamp(48px, 7vw, 88px);
	line-height: .97;
	letter-spacing: -.062em;
}
.hero-content > p:not(.eyebrow) {
	max-width: 620px;
	margin: 24px 0 30px;
	color: rgba(255, 255, 255, .82);
	font-size: 18px;
}
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	min-height: 48px;
	padding: 12px 22px;
	border: 1px solid transparent;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--red);
	color: #fff;
	font-weight: 800;
	transition: .2s ease;
	cursor: pointer;
}
.button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
	background: var(--red-dark);
	color: #fff;
	transform: translateY(-1px);
}
.light-button { background: #fff; color: var(--black); }
.light-button:hover { background: #f0f0f0; color: var(--black); }
.ghost-button { border-color: rgba(255, 255, 255, .55); background: transparent; color: #fff; }
.ghost-button:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.hero-proof {
	position: absolute;
	left: 50%;
	bottom: 26px;
	z-index: 2;
	transform: translateX(-50%);
	display: flex;
	gap: 26px;
	color: rgba(255, 255, 255, .84);
	font-size: 12px;
	font-weight: 750;
}
.hero-proof span::before { content: "✓"; margin-right: 7px; color: #fff; }

.service-strip { border-bottom: 1px solid var(--line); background: #fff; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.service-grid > div {
	min-height: 108px;
	padding: 24px;
	display: flex;
	align-items: center;
	gap: 14px;
	border-right: 1px solid var(--line);
}
.service-grid > div:last-child { border: 0; }
.service-grid svg { width: 31px; height: 31px; flex: 0 0 31px; fill: var(--red); }
.service-grid p { margin: 0; }
.service-grid strong, .service-grid span { display: block; }
.service-grid span { margin-top: 2px; color: var(--muted); font-size: 12px; }

.section { padding-block: 82px; }
.section-head {
	margin-bottom: 30px;
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
}
.section-head h2 {
	margin: 0;
	font-size: clamp(34px, 4vw, 52px);
	line-height: 1.04;
	letter-spacing: -.05em;
}
.section-head p:not(.eyebrow) { margin: 9px 0 0; color: var(--muted); }
.text-link { color: var(--black); font-weight: 800; white-space: nowrap; }
.text-link span { color: var(--red); margin-left: 4px; }

.department-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-rows: 240px 200px;
	gap: 16px;
}
.department-card {
	position: relative;
	overflow: hidden;
	padding: 28px;
	border-radius: var(--radius);
	background: var(--soft);
	isolation: isolate;
}
.department-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	transition: transform .35s ease;
}
.department-card:hover::after { transform: scale(1.025); }
.department-card > div { position: relative; z-index: 2; }
.department-card span { color: var(--muted); font-size: 12px; font-weight: 700; }
.department-card h3 { margin: 5px 0 0; font-size: 28px; line-height: 1; letter-spacing: -.04em; }
.department-card b { display: inline-block; margin-top: 18px; color: var(--red); font-size: 13px; }
.department-furniture, .department-bedroom {
	grid-column: span 2;
	display: flex;
	align-items: end;
	color: #fff;
}
.department-furniture::after { background: linear-gradient(90deg, rgba(0, 0, 0, .75), rgba(0, 0, 0, .08)), url("assets/banner-furniture.jpg") center / cover no-repeat; }
.department-bedroom::after { background: linear-gradient(90deg, rgba(0, 0, 0, .68), rgba(0, 0, 0, .02)), url("assets/banner-bedroom.jpg") center / cover no-repeat; }
.department-furniture span, .department-bedroom span { color: rgba(255, 255, 255, .78); }
.department-furniture b, .department-bedroom b { color: #fff; }
.compact-card { display: flex; flex-direction: column; justify-content: space-between; }
.compact-card .card-number { color: #989898; font-size: 12px; }
.compact-card h3 { font-size: 24px; }
.dark-card { background: var(--black); color: #fff; }
.dark-card span { color: #bdbdbd; }
.red-card { background: var(--red); color: #fff; }
.red-card span { color: rgba(255, 255, 255, .7); }
.warm-card { background: var(--cream); }

.products-section { background: var(--soft); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product-card {
	min-width: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: .2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.product-image { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #fff; }
.product-image img { width: 100%; height: 100%; padding: 13px; object-fit: contain; transition: transform .3s ease; }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-placeholder { display: block; width: 100%; height: 100%; background: #f2f2f2; }
.sale-pill {
	position: absolute;
	left: 12px;
	top: 12px;
	z-index: 2;
	padding: 5px 9px;
	border-radius: 999px;
	background: var(--red);
	color: #fff;
	font-size: 10px;
	font-weight: 900;
}
.product-info { padding: 17px; }
.product-info h3 { min-height: 46px; margin: 0 0 8px; font-size: 15px; line-height: 1.4; }
.product-price { min-height: 26px; color: var(--black); font-size: 17px; font-weight: 850; }
.product-price del { margin-right: 5px; color: #969696; font-weight: 500; }
.product-price ins { color: var(--red); text-decoration: none; }
.product-card .button { width: 100%; min-height: 42px; margin-top: 13px; font-size: 13px; }

.store-cta-section { background: #fff; }
.store-cta {
	padding: clamp(34px, 6vw, 74px);
	border-radius: 28px;
	display: grid;
	grid-template-columns: 1.3fr .7fr;
	align-items: end;
	gap: 40px;
	color: #fff;
	background: var(--black);
}
.store-cta h2 { max-width: 800px; margin: 0; font-size: clamp(36px, 5vw, 62px); line-height: 1; letter-spacing: -.055em; }
.store-cta p:not(.eyebrow) { max-width: 700px; margin: 18px 0 0; color: #b9b9b9; }
.cta-actions { display: grid; justify-items: start; gap: 16px; }
.phone-link { color: #fff; font-weight: 800; }

.content-area { min-height: 52vh; padding-block: 54px 84px; }
.page-title { margin: 0 0 32px; font-size: clamp(36px, 5vw, 58px); letter-spacing: -.05em; }
.entry-content { max-width: 920px; }
.entry-content a { color: var(--red); text-decoration: underline; }

.site-footer { background: var(--black); color: #dfdfdf; }
.footer-main { padding-block: 62px; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 42px; }
.footer-brand img { width: 150px; padding: 8px; border-radius: 10px; background: #fff; }
.footer-brand p { max-width: 330px; color: #999; }
.site-footer h3 { margin: 0 0 17px; color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.footer-links { display: grid; gap: 10px; color: #aaa; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
	min-height: 72px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	color: #818181;
	font-size: 12px;
}

.woocommerce .woocommerce-breadcrumb { margin-bottom: 24px; color: var(--muted); }
.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
}
.woocommerce ul.products li.product img { border-radius: 12px; }
.woocommerce div.product { display: flow-root; }
.woocommerce div.product .product_title { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; }
.woocommerce table.shop_table { overflow: hidden; border-color: var(--line); border-radius: 14px; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #cfcfcf;
	border-radius: 9px;
	background: #fff;
}

@media (max-width: 1000px) {
	.header-main { grid-template-columns: 160px 1fr auto; gap: 16px; }
	.desktop-nav { display: none; }
	.menu-toggle { display: inline-flex; }
	.service-grid { grid-template-columns: repeat(2, 1fr); }
	.service-grid > div:nth-child(2) { border-right: 0; }
	.service-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.department-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 230px 170px 170px; }
	.product-grid, .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.footer-main { grid-template-columns: 1.4fr repeat(2, 1fr); }
	.footer-main > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 720px) {
	.container { width: min(calc(100% - 28px), var(--wrap)); }
	.notice-bar .container { min-height: 33px; justify-content: center; text-align: center; }
	.notice-links { display: none; }
	.header-main { min-height: 70px; grid-template-columns: 1fr auto; }
	.brand img { width: 124px; max-height: 50px; }
	.product-search { grid-column: 1 / -1; grid-row: 2; margin-bottom: 12px; }
	.account-link { display: none; }
	.hero-banner { min-height: 620px; align-items: end; }
	.hero-media { background-position: 56% center; }
	.hero-shade { background: linear-gradient(0deg, rgba(0, 0, 0, .91) 0%, rgba(0, 0, 0, .55) 65%, rgba(0, 0, 0, .08) 100%); }
	.hero-content { padding-block: 220px 118px; }
	.hero-content h1 { font-size: clamp(43px, 13vw, 63px); }
	.hero-content > p:not(.eyebrow) { margin-block: 18px 24px; font-size: 15px; }
	.hero-proof { bottom: 24px; flex-wrap: wrap; gap: 4px 16px; }
	.service-grid { grid-template-columns: 1fr; }
	.service-grid > div { min-height: 82px; border-right: 0; border-bottom: 1px solid var(--line); }
	.section { padding-block: 58px; }
	.section-head { align-items: start; flex-direction: column; gap: 8px; }
	.department-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px 160px 160px; gap: 11px; }
	.department-furniture, .department-bedroom { grid-column: 1 / -1; }
	.department-card { padding: 20px; }
	.compact-card h3 { font-size: 19px; }
	.product-grid, .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.product-info { padding: 13px; }
	.product-info h3 { min-height: 42px; font-size: 13px; }
	.product-price { font-size: 14px; }
	.product-card .button { padding-inline: 9px; font-size: 11px; }
	.store-cta { grid-template-columns: 1fr; align-items: start; gap: 26px; }
	.footer-main { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
	.footer-brand { grid-column: 1 / -1; }
	.footer-main > div:last-child { grid-column: auto; }
	.footer-bottom { padding-block: 20px; align-items: start; flex-direction: column; }
}

@media (max-width: 390px) {
	.department-grid, .product-grid, .woocommerce ul.products { grid-template-columns: 1fr; grid-template-rows: auto; }
	.department-card { min-height: 160px; }
	.department-furniture, .department-bedroom { min-height: 210px; }
}
