:root {
	--bs-ink: #0b1220;
	--bs-primary: #0f766e;
	--bs-secondary: #334155;
	--bs-accent: #ff2d6a;
	--bs-accent-deep: #e11d48;
	--bs-gold: #22d3ee;
	--bs-bg: #c9dbe3;
	--bs-paper: #c5dbff;
	--bs-card: #ffffff;
	--bs-muted: #4b6270;
	--bs-line: #b7c9d2;
	--bs-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
	--bs-radius: 18px;
	--bs-font: "Outfit", "Segoe UI", system-ui, sans-serif;
	--bs-display: "Plus Jakarta Sans", "Outfit", "Segoe UI", sans-serif;
	--bs-wrap: 1180px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.bs-theme {
	margin: 0;
	font-family: var(--bs-font);
	color: var(--bs-ink);
	background: var(--bs-bg);
	line-height: 1.6;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--bs-accent);
	text-decoration: none;
}

a:hover {
	color: var(--bs-accent-deep);
}

.bs-skip {
	position: absolute;
	left: -999px;
	top: 0;
}

.bs-skip:focus {
	left: 12px;
	top: 12px;
	background: #fff;
	padding: 8px 12px;
	z-index: 100;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

.bs-wrap {
	width: min(var(--bs-wrap), calc(100% - 32px));
	margin: 0 auto;
}

.bs-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--bs-primary);
	border-bottom: 0;
	box-shadow: 0 10px 28px rgba(15, 118, 110, 0.28);
}

.bs-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 76px;
}

.bs-logo,
.custom-logo-link {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	font-weight: 750;
	color: #fff;
	letter-spacing: -0.04em;
}

.bs-logo__name {
	font-family: var(--bs-display);
	font-size: 1.28rem;
	font-weight: 800;
	letter-spacing: -0.05em;
}

.bs-logo__mark {
	display: block;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	filter: drop-shadow(0 8px 16px rgba(15, 118, 110, 0.28));
}

.bs-logo--footer {
	color: #fff;
}

.bs-logo--footer .bs-logo__mark {
	filter: none;
}

.bs-nav {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.bs-nav ul {
	display: flex;
	gap: 1.1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bs-nav a {
	color: rgba(255, 255, 255, 0.92);
	font-weight: 600;
}

.bs-nav a:hover {
	color: #fff;
}

.bs-nav-toggle {
	display: none;
}

.bs-search {
	display: flex;
	border: 1px solid var(--bs-line);
	border-radius: 999px;
	overflow: hidden;
	background: #fff;
}

.bs-search input {
	border: 0;
	padding: 0.5rem 0.85rem;
	min-width: 160px;
	background: transparent;
}

.bs-search button {
	border: 0;
	background: var(--bs-ink);
	color: #fff;
	padding: 0.5rem 0.9rem;
	cursor: pointer;
}

.bs-search button:hover {
	background: var(--bs-accent);
}

.bs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--bs-ink);
	color: #fff;
	border-radius: 999px;
	padding: 0.8rem 1.2rem;
	font-weight: 700;
	border: 0;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(11, 18, 32, 0.18);
}

.bs-btn:hover {
	background: var(--bs-accent);
	color: #fff;
}

.bs-btn--ghost,
.bs-btn--ghost-dark {
	background: transparent;
	color: inherit;
	border: 1px solid currentColor;
	box-shadow: none;
}

.bs-btn--ghost-dark:hover {
	background: var(--bs-ink);
	color: #fff;
	border-color: var(--bs-ink);
}

.bs-btn--small {
	padding: 0.45rem 0.85rem;
	font-size: 0.9rem;
}

.bs-kicker {
	margin: 0 0 0.45rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--bs-accent);
}

.bs-kicker--on-dark {
	color: #fb7185;
}

.bs-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(900px 420px at 92% -8%, rgba(255, 45, 106, 0.32), transparent 55%),
		radial-gradient(720px 380px at -8% 112%, rgba(34, 211, 238, 0.22), transparent 52%),
		linear-gradient(135deg, #0b1220 0%, #115e59 52%, #0f766e 100%);
	color: #fff;
	padding: 5.5rem 0 5rem;
}

.bs-hero h1 {
	font-family: var(--bs-display);
	font-size: clamp(2.6rem, 6vw, 4.6rem);
	line-height: 0.98;
	margin: 0 0 1rem;
	font-weight: 800;
	letter-spacing: -0.06em;
	max-width: 14ch;
}

.bs-hero__lead {
	max-width: 38rem;
	font-size: 1.15rem;
	color: rgba(255, 255, 255, 0.82);
}

.bs-hero__actions {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-top: 1.75rem;
}

.bs-hero .bs-btn {
	background: var(--bs-accent);
	box-shadow: 0 12px 24px rgba(255, 45, 106, 0.28);
}

.bs-hero .bs-btn:hover {
	background: #fff;
	color: var(--bs-ink);
}

.bs-hero .bs-btn--ghost {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.38);
	background: transparent;
	box-shadow: none;
}

.bs-hero .bs-btn--ghost:hover {
	border-color: #fff;
	color: var(--bs-ink);
	background: #fff;
}

.bs-section {
	padding: 4.25rem 0;
}

.bs-section--paper {
	background: var(--bs-paper);
}

.bs-section__head {
	margin-bottom: 1.75rem;
}

.bs-section__head h2,
.bs-page h1,
.bs-shop h1,
.bs-book h1,
.bs-author h1 {
	font-family: var(--bs-display);
	margin: 0;
	line-height: 1.08;
	letter-spacing: -0.05em;
	font-weight: 800;
}

.bs-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
}

.bs-card {
	background: var(--bs-card);
	border: 1px solid var(--bs-line);
	border-radius: var(--bs-radius);
	overflow: hidden;
	box-shadow: var(--bs-shadow);
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bs-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
}

.bs-card__cover {
	display: block;
	padding: 1rem 1rem 0;
	background:
		radial-gradient(circle at 80% 0%, rgba(255, 45, 106, 0.1), transparent 46%),
		linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.bs-card__cover img,
.bs-card__placeholder {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	background: var(--bs-primary);
	border-radius: 14px;
	box-shadow: 0 16px 28px rgba(15, 23, 42, 0.16);
}

.bs-card__placeholder {
	display: grid;
	place-items: center;
	color: var(--bs-gold);
	padding: 1rem;
	text-align: center;
}

.bs-card__body {
	padding: 1rem 1rem 1.15rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	flex: 1;
}

.bs-card__cat,
.bs-card__meta {
	margin: 0;
	color: var(--bs-muted);
	font-size: 0.9rem;
}

.bs-card__author {
	margin: 0;
	color: var(--bs-primary);
	font-size: 0.9rem;
	font-weight: 600;
}

.bs-card__title {
	font-family: var(--bs-display);
	font-size: 1.12rem;
	margin: 0;
	letter-spacing: -0.03em;
}

.bs-card__title a {
	color: var(--bs-ink);
}

.bs-card .bs-btn {
	margin-top: auto;
	align-self: flex-start;
}

.bs-tech,
.bs-collections,
.bs-why__grid,
.bs-authors {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.85rem;
}

.bs-tech__item,
.bs-collections__item,
.bs-why__grid article,
.bs-authors__item {
	background: var(--bs-card);
	border: 1px solid var(--bs-line);
	border-radius: 18px;
	padding: 1.1rem;
	color: var(--bs-ink);
	transition: transform 0.18s ease, border-color 0.18s ease;
}

.bs-tech__item:hover,
.bs-collections__item:hover {
	transform: translateY(-3px);
	border-color: var(--bs-accent);
	color: var(--bs-primary);
}

.bs-collections {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bs-why__grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bs-authors {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bs-page,
.bs-shop,
.bs-author,
.bs-book {
	padding: 2.75rem 0 4.5rem;
}

.bs-page--narrow {
	max-width: 720px;
}

.bs-filters {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 1.5rem 0 2rem;
	align-items: end;
}

.bs-filters label span {
	display: block;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 0.3rem;
}

.bs-filters select,
.bs-filters input {
	width: 100%;
	border: 1px solid var(--bs-line);
	border-radius: 12px;
	padding: 0.55rem 0.7rem;
	background: #fff;
}

.bs-book__hero {
	display: grid;
	grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
	gap: 2rem;
	align-items: start;
	margin-bottom: 2.5rem;
}

.bs-book__cover img {
	width: 100%;
	border-radius: 18px;
	box-shadow: 0 22px 44px rgba(15, 23, 42, 0.18);
}

.bs-book__facts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.55rem 1rem;
	padding: 0;
	list-style: none;
	color: var(--bs-muted);
}

.bs-book__price {
	font-family: var(--bs-display);
	font-size: 2rem;
	margin: 0.4rem 0 1rem;
}

.bs-book__cta {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-top: 1.25rem;
}

.bs-book__body {
	display: grid;
	gap: 1.75rem;
}

.bs-list {
	padding-left: 1.2rem;
}

.bs-author__head {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.bs-author__head img {
	width: 180px;
	height: 180px;
	object-fit: cover;
	border-radius: 50%;
	box-shadow: 0 16px 32px rgba(15, 23, 42, 0.16);
	border: 4px solid #fff;
}

.bs-prose {
	max-width: 72ch;
}

.bs-footer {
	background: #0b1220;
	color: #cbd5e1;
	padding: 2.5rem 0;
}

.bs-footer a {
	color: #22d3ee;
}

.bs-footer__inner {
	display: grid;
	gap: 1rem;
}

.bs-footer ul {
	display: flex;
	gap: 1rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.woocommerce-account .woocommerce {
	width: min(var(--bs-wrap), calc(100% - 32px));
	margin: 2rem auto 4rem;
}

.woocommerce-MyAccount-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	list-style: none;
	padding: 0;
}

.woocommerce-MyAccount-navigation a {
	display: inline-block;
	padding: 0.4rem 0.8rem;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--bs-line);
	color: var(--bs-ink);
}

@media (max-width: 980px) {
	.bs-grid,
	.bs-tech,
	.bs-why__grid,
	.bs-authors {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bs-collections,
	.bs-book__hero,
	.bs-author__head,
	.bs-filters {
		grid-template-columns: 1fr 1fr;
	}

	.bs-nav-toggle {
		display: inline-flex;
		background: transparent;
		color: #fff;
		border: 1px solid rgba(255, 255, 255, 0.4);
		border-radius: 999px;
		padding: 0.4rem 0.8rem;
	}

	.bs-nav {
		display: none;
		position: absolute;
		inset: 76px 16px auto;
		background: #fff;
		border: 1px solid var(--bs-line);
		border-radius: 16px;
		padding: 1rem;
		flex-direction: column;
		align-items: stretch;
	}

	.bs-nav a {
		color: var(--bs-ink);
	}

	.bs-nav.is-open,
	.bs-nav ul {
		display: flex;
		flex-direction: column;
	}
}

@media (max-width: 640px) {
	.bs-grid,
	.bs-tech,
	.bs-collections,
	.bs-why__grid,
	.bs-authors,
	.bs-filters,
	.bs-book__hero,
	.bs-author__head {
		grid-template-columns: 1fr;
	}
}
