/* PepLaunchpad theme styles — overrides on top of Bootstrap 5 */

:root {
	--bs-primary: #2563eb;
	--pl-primary-dark: #1e40af;
	--pl-ink: #0f172a;
	--pl-muted: #64748b;
	--pl-surface: #f8fafc;
	--pl-border: #e2e8f0;
	--pl-navy: #0b1120;
	--pl-navy-2: #121b33;
	--pl-radius: 14px;
	--pl-radius-sm: 8px;
	--pl-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
	--pl-shadow-hover: 0 12px 28px rgba(15, 23, 42, 0.12);
	--pl-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--pl-font-heading: 'Poppins', var(--pl-font-body);
}

body {
	font-family: var(--pl-font-body);
	color: var(--pl-ink);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: var(--pl-font-heading);
	font-weight: 600;
	letter-spacing: -0.01em;
}

/* Buttons */

.btn {
	border-radius: var(--pl-radius-sm);
	font-weight: 600;
	padding: 0.6rem 1.3rem;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-primary {
	background: var(--bs-primary);
	border-color: var(--bs-primary);
	box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
	background: var(--pl-primary-dark);
	border-color: var(--pl-primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(37, 99, 235, 0.35);
}

.btn-lg {
	padding: 0.85rem 2rem;
	font-size: 1.05rem;
}

/* Navbar */

.site-header .navbar {
	position: sticky;
	top: 0;
	z-index: 1030;
	padding-top: 0.85rem;
	padding-bottom: 0.85rem;
	box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.navbar-brand img {
	max-height: 40px;
}

.navbar-nav .nav-link {
	position: relative;
	font-weight: 500;
	color: var(--pl-ink);
	padding: 0.5rem 1rem;
}

.navbar-nav .nav-link::after {
	content: "";
	position: absolute;
	left: 1rem;
	right: 1rem;
	bottom: 0.15rem;
	height: 2px;
	background: var(--bs-primary);
	transform: scaleX(0);
	transition: transform 0.2s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
	transform: scaleX(1);
}

/* Transparent header over the homepage hero */

.site-header--transparent {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 20;
}

.site-header--transparent .navbar {
	position: static;
	box-shadow: none;
	background: transparent;
}

.site-header--transparent .navbar-nav .nav-link {
	color: rgba(255, 255, 255, 0.85);
}

.site-header--transparent .navbar-nav .nav-link:hover,
.site-header--transparent .navbar-nav .nav-link.active {
	color: #fff;
}

.site-header--transparent .navbar-toggler {
	border-color: rgba(255, 255, 255, 0.4);
}

.site-header--transparent .navbar-toggler-icon {
	filter: invert(1) grayscale(1) brightness(2);
}

.site-header--transparent .header-icon-link {
	color: rgba(255, 255, 255, 0.85);
}

.site-header--transparent .header-icon-link:hover {
	color: #fff;
}

.site-header--transparent .market-switch {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.25);
}

.site-header--transparent .market-switch-btn {
	color: rgba(255, 255, 255, 0.75);
}

.site-header--transparent .market-switch-btn.active {
	color: #fff;
}

/* Header actions: market switch + account/cart icons */

.header-icon-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--pl-ink);
	line-height: 1;
	transition: color 0.15s ease;
}

.header-icon-link:hover {
	color: var(--bs-primary);
}

.header-icon-link .cart-count {
	position: absolute;
	top: -6px;
	right: -10px;
	font-size: 0.65rem;
	min-width: 1.1rem;
	line-height: 1;
	padding: 0.3em 0.4em;
}

.market-switch {
	position: relative;
	display: inline-flex;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: 999px;
	padding: 3px;
	gap: 2px;
}

.market-switch::before {
	content: "";
	position: absolute;
	top: 3px;
	bottom: 3px;
	left: 3px;
	width: calc(50% - 3px);
	background: var(--bs-primary);
	border-radius: 999px;
	transition: transform 0.25s ease;
	z-index: 0;
	box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
}

.market-switch[data-active="international"]::before {
	transform: translateX(100%);
}

.market-switch-btn {
	position: relative;
	z-index: 1;
	border: none;
	background: transparent;
	padding: 0.4rem 0.9rem;
	font-size: 0.8rem;
	font-weight: 600;
	border-radius: 999px;
	color: var(--pl-muted);
	cursor: pointer;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.market-switch-btn.active {
	color: #fff;
}

/* Cards (blog grid, general content cards) */

.card {
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-radius);
	box-shadow: var(--pl-shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: var(--pl-shadow-hover);
}

.entry-title a {
	color: inherit;
	text-decoration: none;
}

/* Homepage hero banner */

.front-page .hero {
	position: relative;
	overflow: hidden;
	min-height: 640px;
	display: flex;
	align-items: center;
	color: #fff;
	background: var(--pl-navy);
	background-size: cover;
	background-position: center;
}

.front-page .hero::before,
.front-page .hero::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	filter: blur(10px);
	z-index: 0;
	pointer-events: none;
}

.front-page .hero::before {
	width: 640px;
	height: 640px;
	top: -220px;
	left: 8%;
	background: radial-gradient(circle at 35% 35%, rgba(59, 91, 219, 0.5), transparent 70%);
}

.front-page .hero::after {
	width: 460px;
	height: 460px;
	top: 10%;
	right: 8%;
	background: radial-gradient(circle at 60% 40%, rgba(168, 85, 247, 0.22), transparent 70%);
}

.front-page .hero.has-banner-image::before,
.front-page .hero.has-banner-image::after {
	content: none;
}

.front-page .hero.has-banner-image {
	background-blend-mode: normal;
}

.front-page .hero.has-banner-image::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.6));
}

.front-page .hero .hero-icon {
	position: absolute;
	right: -60px;
	bottom: -40px;
	width: 420px;
	max-width: 42vw;
	z-index: 1;
	pointer-events: none;
	user-select: none;
}

.front-page .hero .container {
	position: relative;
	z-index: 2;
}

.front-page .hero h1 {
	font-weight: 800;
	font-size: clamp(2.1rem, 4.5vw, 3.5rem);
	max-width: 720px;
	margin-bottom: 1rem;
}

.front-page .hero .lead {
	font-style: italic;
	color: rgba(255, 255, 255, 0.75);
	font-size: 1.05rem;
	max-width: 560px;
	margin-bottom: 2.25rem;
}

.btn-hero-outline {
	display: inline-block;
	border: 1.5px solid rgba(255, 255, 255, 0.5);
	background: transparent;
	color: #fff;
	padding: 0.75rem 1.85rem;
	border-radius: var(--pl-radius-sm);
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-hero-outline:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: #fff;
	color: #fff;
}

.front-page .shop-grid h2 {
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 1.1rem;
	margin-bottom: 1.75rem !important;
}

.front-page .shop-grid .woocommerce ul.products {
	margin-top: 1rem;
}

/* Footer */

.site-footer a {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	transition: color 0.15s ease;
}

.site-footer a:hover {
	color: #fff;
}

.site-footer .site-info {
	color: rgba(255, 255, 255, 0.55);
}
