/* SearchUs pilot microsites — browser frame + brand systems */

.fw-si-microsite-request {
	--fw-ms-ink: #102a2e;
	--fw-ms-paper: #f4f7f6;
	--fw-ms-accent: #0b6e6e;
	background: #d7dee3 !important;
}

.fw-si-microsite-schools {
	--fw-ms-ink: #0f2a32;
	--fw-ms-paper: #f3f6f5;
	--fw-ms-accent: #0b6e6e;
	--fw-ms-accent-soft: #d7efef;
	--fw-ms-display: "Cormorant Garamond", Georgia, serif;
	--fw-ms-sans: "Source Sans 3", "Segoe UI", sans-serif;
}

.fw-si-microsite-manufacturing {
	--fw-ms-ink: #1b1f24;
	--fw-ms-paper: #f5f4f1;
	--fw-ms-accent: #b45309;
	--fw-ms-accent-soft: #f3e7d8;
	--fw-ms-display: "IBM Plex Sans", "Segoe UI", sans-serif;
	--fw-ms-sans: "IBM Plex Sans", "Segoe UI", sans-serif;
	--fw-ms-mono: "IBM Plex Mono", ui-monospace, monospace;
}

.fw-si-microsite-commerce {
	--fw-ms-ink: #1c1917;
	--fw-ms-paper: #fff;
	--fw-ms-accent: #0f766e;
	--fw-ms-accent-soft: #ccfbf1;
	--fw-ms-display: "Source Sans 3", "Segoe UI", sans-serif;
	--fw-ms-sans: "Source Sans 3", "Segoe UI", sans-serif;
	background: #fff !important;
}

/* Keep SearchUs/Botiga site nav above the frame; hide only page chrome that fights the microsite */
.fw-si-microsite-request .site-footer,
.fw-si-microsite-request .bhfb-footer,
.fw-si-microsite-request .botiga-breadcrumb-trail,
.fw-si-microsite-request .page-header,
.fw-si-microsite-request .entry-header,
.fw-si-microsite-request .content-wrapper > .page-title,
.fw-si-microsite-request #primary > .page-header {
	display: none !important;
}

.fw-si-microsite-request .content-wrapper,
.fw-si-microsite-request .content-area,
.fw-si-microsite-request #content,
.fw-si-microsite-request .site-content,
.fw-si-microsite-request #primary,
.fw-si-microsite-request .content-wrapper-sidebar-none,
.fw-si-microsite-request .container.content-wrapper,
.fw-si-microsite-request .container,
.fw-si-microsite-request .site-main,
.fw-si-microsite-request .main-row,
.fw-si-microsite-request .row.main-row {
	display: block !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	max-width: none !important;
	width: 100% !important;
	float: none !important;
	background: transparent !important;
}

.fw-si-microsite-request #page,
.fw-si-microsite-request .site {
	background: transparent !important;
	overflow-x: clip;
}

.fw-ms-outer {
	display: block;
	width: 100%;
	max-width: none;
	min-height: calc(100vh - 120px);
	padding: clamp(16px, 3vw, 36px) clamp(12px, 2.5vw, 28px) clamp(28px, 4vw, 48px);
	box-sizing: border-box;
	font-family: var(--fw-ms-sans);
	color: var(--fw-ms-ink);
}

.fw-ms-demo-heading {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto 18px;
	text-align: center;
}

.fw-ms-demo-heading__title {
	margin: 0;
	font-family: var(--fw-ms-sans);
	font-size: clamp(1.35rem, 2.6vw, 2rem);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: #0f172a;
}

.fw-ms-demo-heading__404 {
	margin: 10px auto 0;
	max-width: 52rem;
	font-size: 0.98rem;
	line-height: 1.45;
	color: #334155;
}

.fw-ms-demo-heading__404-links {
	margin: 8px 0 0;
	font-size: 0.92rem;
	line-height: 1.5;
}

.fw-ms-demo-heading__404-links a {
	color: #0b6e6e;
	font-weight: 600;
	text-decoration: none;
	word-break: break-all;
}

.fw-ms-demo-heading__404-links a:hover {
	text-decoration: underline;
}

.fw-ms-chrome {
	width: 100%;
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 18px 50px rgba(16, 24, 32, 0.22);
	background: #fff;
	border: 1px solid rgba(16, 24, 32, 0.12);
}

.fw-ms-chrome__bar {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 12px;
	align-items: center;
	padding: 10px 14px;
	background: linear-gradient(180deg, #eceff2, #e2e6ea);
	border-bottom: 1px solid rgba(16, 24, 32, 0.1);
}

.fw-ms-chrome__dots {
	display: flex;
	gap: 6px;
}

.fw-ms-chrome__dots span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #c4c9ce;
}

.fw-ms-chrome__dots span:nth-child(1) { background: #ef6a5b; }
.fw-ms-chrome__dots span:nth-child(2) { background: #f5c04e; }
.fw-ms-chrome__dots span:nth-child(3) { background: #61c454; }

.fw-ms-chrome__address {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	padding: 7px 12px;
	border-radius: 8px;
	background: #fff;
	border: 1px solid rgba(16, 24, 32, 0.1);
	font-size: 13px;
	color: #44505a;
}

.fw-ms-chrome__lock {
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: #61c454;
	flex: 0 0 auto;
}

.fw-ms-chrome__url {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fw-ms-site {
	background: #e6ebea;
}

.fw-si-microsite-commerce .fw-ms-site {
	background: #fff;
}

.fw-ms-header {
	background: #fff;
	border-bottom: 2px solid #0f2a32;
}

.fw-si-microsite-manufacturing .fw-ms-header {
	border-bottom-color: #1b1f24;
}

.fw-si-microsite-commerce .fw-ms-header {
	border-bottom-color: #1c1917;
}

.fw-ms-header__inner {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) 42px;
	grid-template-areas:
		"nav brand balance"
		"search search search";
	gap: 12px 14px;
	align-items: center;
	padding: 12px clamp(12px, 2.5vw, 28px);
}

.fw-ms-nav {
	grid-area: nav;
	min-width: 0;
	justify-self: start;
}

.fw-ms-brand {
	grid-area: brand;
	justify-self: center;
	display: inline-flex;
	gap: 6px;
	align-items: center;
	text-decoration: none;
	color: var(--fw-ms-ink);
	min-width: 0;
	max-width: 100%;
}

.fw-ms-header__balance {
	grid-area: balance;
	width: 42px;
	height: 42px;
	justify-self: end;
}

.fw-ms-header--no-search .fw-ms-header__inner {
	grid-template-areas: "nav brand balance";
	grid-template-rows: auto;
}

.fw-ms-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.fw-ms-nav__list--drawer {
	justify-content: flex-start;
	flex-direction: column;
	gap: 0;
	padding: 8px 0 4px;
}

.fw-ms-nav__list--drawer .fw-ms-nav__item a {
	display: block;
	padding: 10px 4px;
	border-bottom: 1px solid rgba(16, 24, 32, 0.08);
}

.fw-ms-nav__disclosure {
	position: relative;
	display: block;
}

.fw-ms-nav__toggle {
	list-style: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid rgba(16, 24, 32, 0.14);
	border-radius: 10px;
	background: #fff;
	color: var(--fw-ms-ink);
}

.fw-ms-nav__toggle::-webkit-details-marker {
	display: none;
}

.fw-ms-nav__burger {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 18px;
}

.fw-ms-nav__burger span {
	display: block;
	height: 2px;
	width: 100%;
	border-radius: 1px;
	background: currentColor;
}

.fw-ms-nav__disclosure[open] .fw-ms-nav__list--drawer {
	display: flex;
	position: absolute;
	left: 0;
	top: calc(100% + 6px);
	z-index: 50;
	background: #fff;
	border: 1px solid rgba(16, 24, 32, 0.12);
	border-radius: 12px;
	padding: 8px 14px 12px;
	box-shadow: 0 12px 28px rgba(16, 24, 32, 0.16);
	min-width: min(280px, 78vw);
}

.fw-ms-nav__item a {
	color: var(--fw-ms-ink);
	text-decoration: none;
	font-size: 0.92rem;
	font-weight: 600;
	opacity: 0.78;
	white-space: nowrap;
}

.fw-ms-nav__item.is-active a,
.fw-ms-nav__item a:hover {
	opacity: 1;
	color: var(--fw-ms-accent);
}

.fw-ms-header__search {
	grid-area: search;
	min-width: 0;
	width: 100%;
}

.fw-ms-header__search .fw-si-search-embed,
.fw-ms-header__search .fw-si-search-form {
	margin: 0 auto !important;
	width: 100% !important;
	max-width: calc(800px - 2em) !important;
}

.fw-ms-header__search .fw-si-search-embed__row {
	width: 100% !important;
	max-width: calc(800px - 2em) !important;
	margin-left: auto;
	margin-right: auto;
}

.fw-ms-header__search form,
.fw-ms-header__search .fw-si-search-embed__form {
	display: flex !important;
	flex-wrap: nowrap;
	gap: 8px;
	align-items: stretch;
	width: 100%;
}

.fw-ms-header__search input[type="search"],
.fw-ms-header__search input[type="text"],
.fw-ms-header__search .fw-si-search-embed__input {
	font-size: 0.9rem !important;
	min-width: 0 !important;
	flex: 1 1 auto !important;
	width: 100% !important;
}

.fw-ms-header__search button,
.fw-ms-header__search .fw-si-search-embed__submit {
	flex: 0 0 auto;
	white-space: nowrap;
}

.fw-ms-brand__mark {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: linear-gradient(145deg, var(--fw-ms-accent), #164e63);
	flex: 0 0 auto;
}

.fw-ms-brand__mark--cap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border-radius: 0;
	color: var(--fw-ms-ink);
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
}

.fw-ms-brand__mark--cap svg {
	display: block;
	width: 42px;
	height: 42px;
}

.fw-si-microsite-manufacturing .fw-ms-brand__mark:not(.fw-ms-brand__mark--cap) {
	background: linear-gradient(145deg, #b45309, #1b1f24);
	border-radius: 4px;
}

.fw-ms-brand__mark--northline img {
	display: block;
	width: 42px;
	height: 42px;
	object-fit: contain;
}

.fw-si-microsite-commerce .fw-ms-brand__mark--star {
	color: #0f766e;
}

.fw-ms-brand__name {
	font-family: var(--fw-ms-display);
	font-weight: 700;
	font-size: clamp(1.25rem, 2.5vw, 1.6rem);
	line-height: 42px;
	height: 42px;
	color: var(--fw-ms-ink);
	white-space: nowrap;
}

.fw-ms-brand__tag {
	display: block;
	font-size: 0.72rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	opacity: 0.7;
	margin-top: 2px;
}

.fw-ms-main {
	padding: 0;
	background: #e6ebea;
}

.fw-si-microsite-commerce .fw-ms-main {
	background: #fff;
}

.fw-ms-crumbs {
	max-width: 1120px;
	margin: 0 auto;
	padding: 16px clamp(18px, 4vw, 48px) 12px;
	font-size: 0.86rem;
}

.fw-ms-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	list-style: none;
	margin: 0;
	padding: 0;
	color: #4a5c61;
}

.fw-ms-crumbs li {
	display: inline-flex;
	align-items: center;
}

.fw-ms-crumbs li:not(:last-child)::after {
	content: "/";
	margin: 0 8px;
	opacity: 0.45;
}

.fw-ms-crumbs a {
	color: var(--fw-ms-accent);
	text-decoration: none;
	font-weight: 600;
}

.fw-ms-crumbs a:hover {
	text-decoration: underline;
}

.fw-ms-pagehead {
	width: 100%;
	height: min(42vw, 320px);
	background-size: cover;
	background-position: center;
	border-block: 1px solid #cfd8da;
}

.fw-ms-pagehead--title {
	height: auto;
	padding: 14px clamp(18px, 4vw, 40px) 16px;
	background: var(--fw-ms-accent);
	color: #fff;
	border-block: 0;
}

.fw-ms-pagehead--title .fw-ms-kicker {
	margin: 0 0 4px;
	color: rgba(255, 255, 255, 0.82);
}

.fw-ms-pagehead--title h1 {
	font-family: var(--fw-ms-display);
	font-size: clamp(1.55rem, 2.8vw, 2.1rem);
	line-height: 1.15;
	margin: 0 0 6px;
	color: #fff;
}

.fw-ms-pagehead--title .fw-ms-pagehead__lead {
	margin: 0;
	max-width: 72ch;
	font-size: 0.95rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.92);
}

.fw-ms-article--faculty {
	border-top: 0;
}

.fw-ms-article--faculty .fw-ms-faculty-profile__grid .fw-ms-kicker,
.fw-ms-article--faculty .fw-ms-faculty-profile__grid .fw-ms-section__lead {
	display: none;
}

.fw-ms-article--faculty .fw-ms-faculty-profile__grid .fw-ms-meta {
	margin-top: 0;
}

.fw-ms-article--page {
	max-width: 1120px;
	margin: 0 auto 48px;
	background: #fff;
	border: 1px solid #d4dcde;
}

.fw-ms-pagetitle {
	padding: 28px clamp(18px, 4vw, 48px) 4px;
}

.fw-ms-pagetitle h1 {
	font-family: var(--fw-ms-display);
	font-size: clamp(1.85rem, 3.6vw, 2.7rem);
	line-height: 1.12;
	margin: 0 0 10px;
}

.fw-ms-pagetitle .fw-ms-section__lead {
	margin: 0 0 8px;
	max-width: 62ch;
}

.fw-ms-pagebody {
	padding: 12px clamp(18px, 4vw, 48px) 44px;
}

.fw-ms-pagebody > .fw-ms-section {
	padding: 0;
	max-width: none;
	margin: 0;
}

.fw-ms-pagebody > .fw-ms-section > h1:first-of-type,
.fw-ms-pagebody > .fw-ms-section > p.fw-ms-section__lead:first-of-type {
	display: none;
}

.fw-ms-course {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
	gap: 36px;
	align-items: start;
}

.fw-ms-course__aside {
	background: #f3f6f5;
	padding: 18px 18px 22px;
	border-top: 3px solid var(--fw-ms-accent);
}

.fw-ms-course__aside h2 {
	font-size: 1.05rem;
	margin: 0 0 12px;
	font-family: var(--fw-ms-sans);
}

.fw-ms-course__aside .fw-ms-meta {
	margin-top: 0;
}

.fw-ms-faculty-chip {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 10px;
	align-items: center;
	margin-top: 16px;
	text-decoration: none;
	color: inherit;
}

.fw-ms-faculty-chip img {
	width: 64px;
	height: 80px;
	object-fit: cover;
	object-position: center top;
}

.fw-ms-faculty-chip strong {
	display: block;
	font-size: 0.95rem;
}

.fw-ms-faculty-chip span {
	display: block;
	font-size: 0.82rem;
	opacity: 0.75;
}

.fw-ms-lecture {
	margin: 0 0 22px;
}

.fw-ms-lecture video {
	display: block;
	width: 100%;
	height: auto;
	background: #111;
}

.fw-ms-lecture figcaption {
	margin-top: 8px;
	font-size: 0.9rem;
	color: #4a5c61;
}

@media (max-width: 800px) {
	.fw-ms-course {
		grid-template-columns: 1fr;
	}
}

.fw-ms-article > *:first-child {
	margin-top: 0;
}

/* Shared content modules */
.fw-ms-hero {
	position: relative;
	min-height: min(72vh, 640px);
	display: grid;
	align-items: end;
	padding: clamp(28px, 6vw, 72px);
	color: #fff;
	background-size: cover;
	background-position: center;
	isolation: isolate;
}

.fw-ms-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(8, 20, 28, 0.18) 10%, rgba(8, 20, 28, 0.78) 100%);
	z-index: -1;
}

.fw-ms-hero__inner {
	max-width: 720px;
}

.fw-ms-hero__brand {
	font-family: var(--fw-ms-display);
	font-size: clamp(2.4rem, 7vw, 4.6rem);
	line-height: 0.95;
	margin: 0 0 12px;
	font-weight: 700;
}

.fw-ms-hero__lead {
	font-size: clamp(1.2rem, 2.6vw, 1.55rem);
	line-height: 1.45;
	margin: 0 0 22px;
	max-width: 34em;
	opacity: 0.97;
	font-weight: 550;
}

.fw-ms-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	border-radius: 999px;
	background: #fff;
	color: var(--fw-ms-ink);
	font-weight: 700;
	text-decoration: none;
}

.fw-si-microsite-manufacturing .fw-ms-btn {
	border-radius: 4px;
	background: var(--fw-ms-accent);
	color: #fff;
}

.fw-ms-section {
	padding: clamp(36px, 5vw, 72px) clamp(18px, 4vw, 48px);
	max-width: 1120px;
	margin: 0 auto;
}

.fw-ms-section h2 {
	font-family: var(--fw-ms-display);
	font-size: clamp(1.8rem, 3.5vw, 2.5rem);
	line-height: 1.15;
	margin: 0 0 12px;
}

.fw-ms-section > p.fw-ms-section__lead {
	margin: 0 0 28px;
	max-width: 58ch;
	font-size: 1.05rem;
	line-height: 1.65;
	opacity: 0.88;
}

.fw-ms-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px;
}

.fw-ms-card {
	background: #fff;
	border: 1px solid rgba(16, 24, 32, 0.08);
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	display: block;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fw-si-microsite-manufacturing .fw-ms-card {
	border-radius: 2px;
}

.fw-ms-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(16, 24, 32, 0.12);
}

.fw-ms-card img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.fw-ms-grid--faculty .fw-ms-card img,
.fw-ms-faculty-profile__photo {
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center top;
}

.fw-ms-faculty-profile__grid {
	display: grid;
	grid-template-columns: minmax(180px, 240px) 1fr;
	gap: 28px;
	align-items: start;
	margin-bottom: 28px;
}

.fw-ms-faculty-profile__photo {
	width: 100%;
	border-radius: 2px;
}

.fw-ms-kicker {
	margin: 0 0 6px;
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--fw-ms-accent);
}

.fw-ms-meta {
	display: grid;
	grid-template-columns: 88px 1fr;
	gap: 4px 12px;
	margin: 16px 0 0;
	font-size: 0.95rem;
}

.fw-ms-meta dt {
	margin: 0;
	font-weight: 700;
	color: var(--fw-ms-ink);
}

.fw-ms-meta dd {
	margin: 0;
}

.fw-ms-credit {
	font-size: 0.85rem;
	color: #4a5c61;
}

.fw-ms-transcript {
	margin-top: 28px;
	padding: 14px 16px;
	background: #f3f6f5;
	border: 1px solid #d4dcde;
}

.fw-ms-transcript summary {
	font-weight: 700;
	cursor: pointer;
}

.fw-ms-transcript p {
	margin: 12px 0 0;
	font-size: 0.92rem;
	line-height: 1.55;
	max-width: 68ch;
}

.fw-ms-callout {
	margin: 18px 0;
	padding: 14px 16px;
	background: var(--fw-ms-accent-soft);
	border-left: 3px solid var(--fw-ms-accent);
}

@media (max-width: 700px) {
	.fw-ms-faculty-profile__grid {
		grid-template-columns: 1fr;
	}
}

.fw-ms-card__body {
	padding: 16px 16px 18px;
}

.fw-ms-card__body h3 {
	margin: 0 0 6px;
	font-size: 1.05rem;
}

.fw-ms-card__body p {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.5;
	opacity: 0.8;
}

.fw-ms-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	padding: 36px clamp(18px, 4vw, 48px);
	background: #0f2a32;
	color: #fff;
}

.fw-si-microsite-manufacturing .fw-ms-stats {
	background: #1b1f24;
}

.fw-ms-stats div strong {
	display: block;
	font-family: var(--fw-ms-display);
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	line-height: 1;
	margin-bottom: 6px;
}

.fw-ms-stats div span {
	font-size: 0.85rem;
	opacity: 0.8;
}

.fw-ms-table-wrap {
	overflow-x: auto;
	border: 1px solid rgba(16, 24, 32, 0.1);
	background: #fff;
}

.fw-ms-table-wrap table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.92rem;
}

.fw-ms-table-wrap th,
.fw-ms-table-wrap td {
	padding: 10px 12px;
	border-bottom: 1px solid rgba(16, 24, 32, 0.08);
	text-align: left;
	white-space: nowrap;
}

.fw-ms-table-wrap th {
	background: var(--fw-ms-accent-soft);
	font-weight: 700;
}

.fw-si-microsite-manufacturing .fw-ms-table-wrap td:first-child,
.fw-si-microsite-manufacturing .fw-ms-table-wrap th:first-child {
	font-family: var(--fw-ms-mono);
}

.fw-ms-callout {
	padding: 18px 20px;
	background: var(--fw-ms-accent-soft);
	border-left: 4px solid var(--fw-ms-accent);
	margin: 20px 0;
}

.fw-ms-footer {
	border-top: 1px solid rgba(16, 24, 32, 0.08);
	background: #fff;
	padding: 28px clamp(18px, 4vw, 48px);
	text-align: center;
}

.fw-ms-footer__brand {
	font-family: var(--fw-ms-display);
	font-weight: 700;
	margin: 0 0 6px;
}

.fw-ms-footer__note {
	margin: 0 auto;
	font-size: 0.85rem;
	opacity: 0.7;
	max-width: 70ch;
}

.fw-ms-landing-hero {
	padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 72px) !important;
	background: linear-gradient(135deg, #0f2a32 0%, #0b6e6e 60%, #164e63 100%) !important;
	color: #fff !important;
}

.fw-ms-landing-hero--commerce {
	background: linear-gradient(135deg, #1c1917 0%, #44403c 42%, #0f766e 100%) !important;
}

.fw-ms-landing-kicker {
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-weight: 700;
	font-size: 0.8rem;
}

.fw-ms-landing-guide {
	padding: 40px 24px 64px;
}

.fw-ms-article--woo {
	padding-top: 28px;
	padding-bottom: 40px;
}

.fw-ms-article--woo .products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Keep Botiga mobile offcanvas above the framed chrome */
body.fw-si-microsite-request .bhfb-mobile_offcanvas,
body.fw-si-microsite-request .botiga-offcanvas-menu {
	z-index: 10050 !important;
}

body.fw-si-microsite-request .bhfb-header {
	position: relative;
	z-index: 200;
}

@media (max-width: 900px) {
	.fw-ms-stats {
		grid-template-columns: repeat(2, 1fr);
	}

	.fw-ms-chrome__bar {
		grid-template-columns: auto 1fr;
	}
}

@media (max-width: 640px) {
	.fw-ms-chrome__exit {
		display: none;
	}

	.fw-ms-brand__tag {
		display: none;
	}

	.fw-ms-header__search button,
	.fw-ms-header__search .fw-si-search-embed__submit {
		padding-left: 12px;
		padding-right: 12px;
		font-size: 0.8rem;
	}

	.fw-ms-stats {
		grid-template-columns: 1fr 1fr;
	}

	.fw-ms-outer {
		padding: 12px 10px 20px;
	}

	.fw-ms-demo-heading {
		margin-bottom: 12px;
	}

	.fw-ms-chrome {
		border-radius: 10px;
	}
}

/* Marketing iframe: hide Botiga chrome; fill frame with microsite only */
body.fw-si-demo-embed .bhfb-header,
body.fw-si-demo-embed .site-header,
body.fw-si-demo-embed .bhfb-footer,
body.fw-si-demo-embed .site-footer,
body.fw-si-demo-embed .bhfb-mobile_offcanvas {
	display: none !important;
}

body.fw-si-demo-embed {
	margin: 0;
	background: #e6ebea;
}

body.fw-si-demo-embed.fw-si-microsite-commerce {
	background: #fff !important;
}

body.fw-si-demo-embed #page,
body.fw-si-demo-embed .site,
body.fw-si-demo-embed .content-wrapper,
body.fw-si-demo-embed #content,
body.fw-si-demo-embed #primary,
body.fw-si-demo-embed .site-main,
body.fw-si-demo-embed .container,
body.fw-si-demo-embed .row.main-row {
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	min-height: 0 !important;
	height: auto !important;
}

body.fw-si-demo-embed .fw-ms-outer,
body.fw-si-demo-embed .fw-ms-outer--embed {
	padding: 0;
	max-width: none;
	min-height: 0 !important;
}

body.fw-si-demo-embed .fw-ms-site {
	border: 0;
	border-radius: 0;
	min-height: 0;
	box-shadow: none;
}

html:has(body.fw-si-demo-embed),
body.fw-si-demo-embed {
	min-height: 0 !important;
	height: auto !important;
	overflow: hidden !important;
}

body.fw-si-demo-embed .fw-ms-outer {
	min-height: 0;
	overflow: hidden;
}

body.fw-si-demo-embed .fw-si-serp-facets__drawer {
	height: auto;
	max-height: var(--fw-si-embed-vis-h, 100%);
	top: var(--fw-si-embed-vis-top, 0px);
	bottom: auto;
}

body.fw-si-demo-embed .fw-si-serp-facets__form {
	flex: 0 1 auto;
}

body.fw-si-demo-embed .fw-si-serp-facets__body {
	flex: 1 1 auto;
	max-height: none;
}

body.fw-si-demo-embed .fw-ms-hero {
	min-height: 280px;
}

body.fw-si-demo-embed .fw-si-serp-main {
	min-height: 0 !important;
}

.fw-ms-pdf-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: stretch;
	justify-content: center;
	padding: 10px;
	background: rgba(16, 24, 32, 0.52);
}

.fw-ms-pdf-overlay.is-open {
	display: flex;
	animation: fw-ms-pdf-fade 0.18s ease-out;
}

@keyframes fw-ms-pdf-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

.fw-ms-pdf-overlay__backdrop {
	position: absolute;
	inset: 0;
}

.fw-ms-pdf-overlay__dialog {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(1120px, 100%);
	height: min(94vh, 100%);
	background: #fff;
	color: var(--fw-ms-ink, #102a2e);
	font-family: var(--fw-ms-sans, "Source Sans 3", sans-serif);
	box-shadow: 0 18px 50px rgba(15, 23, 32, 0.28);
	animation: fw-ms-pdf-rise 0.22s ease-out;
}

@keyframes fw-ms-pdf-rise {
	from { transform: translateY(10px); opacity: 0.7; }
	to { transform: none; opacity: 1; }
}

.fw-ms-pdf-overlay__bar {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
	padding: 10px 12px 10px 16px;
	border-bottom: 1px solid #d7dee3;
	background: #f7f8f9;
}

.fw-ms-pdf-overlay__title {
	margin: 0;
	flex: 1;
	min-width: 0;
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.fw-ms-pdf-overlay__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.fw-ms-pdf-overlay__new {
	color: var(--fw-ms-accent, #0b6e6e);
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
}

.fw-ms-pdf-overlay__new:hover {
	text-decoration: underline;
}

.fw-ms-pdf-overlay__close {
	appearance: none;
	border: 0;
	margin: 0;
	padding: 8px 14px;
	background: var(--fw-ms-ink, #102a2e);
	color: #fff;
	font: inherit;
	font-size: 0.88rem;
	font-weight: 600;
	cursor: pointer;
}

.fw-ms-pdf-overlay__close:hover,
.fw-ms-pdf-overlay__close:focus-visible {
	background: var(--fw-ms-accent, #0b6e6e);
}

.fw-ms-pdf-overlay__frame {
	flex: 1;
	width: 100%;
	border: 0;
	background: #525659;
}

html.fw-ms-pdf-overlay-open,
html.fw-ms-pdf-overlay-open body,
body.fw-si-demo-embed.fw-ms-pdf-overlay-open {
	overflow: hidden !important;
}

/* Embed fake checkout (Buy Now stays inside marketing iframe) */
.fw-ms-demo-checkout {
	max-width: 960px;
	margin: 0 auto;
	padding: 8px 4px 28px;
}

.fw-ms-demo-checkout__badge {
	display: inline-block;
	margin: 0 0 10px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #e8f3ef;
	color: #0f5c4c;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.fw-ms-demo-checkout__title {
	margin: 0 0 8px;
	font-size: clamp(1.6rem, 2.4vw, 2rem);
	line-height: 1.15;
	color: #122018;
}

.fw-ms-demo-checkout__lead,
.fw-ms-demo-checkout__note,
.fw-ms-demo-checkout__item-done {
	margin: 0 0 18px;
	color: #4a5b54;
	font-size: 0.98rem;
	line-height: 1.45;
}

.fw-ms-demo-checkout__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.9fr);
	gap: 28px;
	align-items: start;
}

.fw-ms-demo-checkout__h2 {
	margin: 0 0 14px;
	font-size: 1.05rem;
	color: #122018;
}

.fw-ms-demo-checkout__form label {
	display: block;
	margin: 0 0 12px;
	font-size: 0.86rem;
	font-weight: 600;
	color: #2a3a33;
}

.fw-ms-demo-checkout__form input {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 10px 12px;
	border: 1px solid #c9d5cf;
	border-radius: 8px;
	background: #fff;
	font: inherit;
	font-weight: 400;
	color: #122018;
}

.fw-ms-demo-checkout__row--2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.fw-ms-demo-checkout__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 8px;
	padding: 12px 18px;
	border: 0;
	border-radius: 8px;
	background: #0f766e;
	color: #fff !important;
	font: inherit;
	font-weight: 650;
	text-decoration: none !important;
	cursor: pointer;
}

.fw-ms-demo-checkout__btn:hover {
	background: #0b5f59;
}

.fw-ms-demo-checkout__summary {
	padding: 16px;
	border: 1px solid #d7e2dc;
	border-radius: 12px;
	background: #f7faf8;
}

.fw-ms-demo-checkout__line {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) auto;
	gap: 12px;
	align-items: start;
	margin-bottom: 14px;
}

.fw-ms-demo-checkout__line img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 8px;
	background: #fff;
}

.fw-ms-demo-checkout__name {
	margin: 0 0 4px;
	font-weight: 650;
	color: #122018;
	font-size: 0.95rem;
}

.fw-ms-demo-checkout__attrs {
	margin: 0;
	font-size: 0.82rem;
	color: #5a6b64;
}

.fw-ms-demo-checkout__price {
	margin: 0;
	font-weight: 700;
	color: #122018;
	white-space: nowrap;
}

.fw-ms-demo-checkout__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
	margin-top: 8px;
}

.fw-ms-demo-checkout__link {
	color: #0f766e;
	font-weight: 600;
}

@media (max-width: 760px) {
	.fw-ms-demo-checkout__grid,
	.fw-ms-demo-checkout__row--2,
	.fw-ms-demo-checkout__line {
		grid-template-columns: 1fr;
	}
}
