/*
Theme Name: FinCobra Store
Theme URI: https://fincobra.com
Author: FinCobra
Description: A focused WooCommerce storefront for demonstrating FinCobra payments.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: fincobra-store
*/

:root {
	--fc-ink: #092c2a;
	--fc-muted: #5b6e6b;
	--fc-cream: #f5f3ea;
	--fc-paper: #fffefa;
	--fc-lime: #d8ff73;
	--fc-mint: #b8f2d5;
	--fc-line: rgba(9, 44, 42, 0.14);
	--fc-shadow: 0 22px 60px rgba(9, 44, 42, 0.12);
	--fc-radius: 24px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--fc-cream);
	color: var(--fc-ink);
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

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

button,
input,
select,
textarea {
	font: inherit;
}

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

.fc-container,
.site-main,
.woocommerce-page main.site-main {
	margin-inline: auto;
	max-width: 1180px;
	padding-inline: 28px;
	width: 100%;
}

.site-header {
	background: rgba(245, 243, 234, 0.92);
	border-bottom: 1px solid var(--fc-line);
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: blur(18px);
}

.site-header__inner {
	align-items: center;
	display: flex;
	height: 78px;
	justify-content: space-between;
}

.site-brand {
	align-items: center;
	display: inline-flex;
	font-size: 20px;
	font-weight: 800;
	gap: 11px;
	letter-spacing: -0.04em;
	text-decoration: none;
}

.site-brand__mark {
	align-items: center;
	background: var(--fc-ink);
	border-radius: 10px 10px 10px 3px;
	color: var(--fc-lime);
	display: inline-flex;
	font-size: 12px;
	height: 36px;
	justify-content: center;
	letter-spacing: -0.04em;
	transform: rotate(-3deg);
	width: 36px;
}

.site-nav {
	align-items: center;
	display: flex;
	gap: 10px;
}

.site-nav > a {
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	padding: 10px 16px;
	text-decoration: none;
}

.site-nav > a:hover,
.site-nav > a:focus-visible {
	background: rgba(9, 44, 42, 0.07);
}

.site-nav .cart-link {
	background: var(--fc-ink);
	color: #fff;
}

.cart-link__count {
	align-items: center;
	background: var(--fc-lime);
	border-radius: 999px;
	color: var(--fc-ink);
	display: inline-flex;
	font-size: 11px;
	height: 21px;
	justify-content: center;
	margin-left: 5px;
	min-width: 21px;
	padding: 0 6px;
}

.fc-hero {
	padding: 72px 0 36px;
}

.fc-hero__panel {
	background: var(--fc-ink);
	border-radius: 38px;
	box-shadow: var(--fc-shadow);
	color: #fff;
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
	min-height: 520px;
	overflow: hidden;
	position: relative;
}

.fc-hero__copy {
	align-self: center;
	padding: 66px;
	position: relative;
	z-index: 2;
}

.fc-eyebrow {
	align-items: center;
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	gap: 9px;
	letter-spacing: 0.13em;
	margin: 0 0 22px;
	text-transform: uppercase;
}

.fc-eyebrow::before {
	background: var(--fc-lime);
	border-radius: 999px;
	content: "";
	height: 8px;
	width: 8px;
}

.fc-hero h1 {
	font-size: clamp(48px, 6vw, 78px);
	letter-spacing: -0.065em;
	line-height: 0.98;
	margin: 0;
	max-width: 680px;
}

.fc-hero__lede {
	color: rgba(255, 255, 255, 0.72);
	font-size: 18px;
	max-width: 570px;
	margin: 26px 0 34px;
}

.fc-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.fc-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wp-element-button {
	background: var(--fc-ink);
	border: 0;
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-weight: 800;
	justify-content: center;
	line-height: 1.2;
	padding: 15px 22px;
	text-decoration: none;
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.fc-button:hover,
.fc-button:focus-visible,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	background: #174b46;
	box-shadow: 0 10px 24px rgba(9, 44, 42, 0.18);
	color: #fff;
	transform: translateY(-2px);
}

.fc-button--lime {
	background: var(--fc-lime);
	color: var(--fc-ink);
}

.fc-button--lime:hover,
.fc-button--lime:focus-visible {
	background: #e3ff98;
	color: var(--fc-ink);
}

.fc-text-link {
	color: rgba(255, 255, 255, 0.82);
	font-size: 14px;
	font-weight: 750;
	padding: 12px;
}

.fc-hero__visual {
	align-items: center;
	background: radial-gradient(circle at 70% 30%, rgba(216, 255, 115, 0.8), transparent 25%), linear-gradient(145deg, var(--fc-mint), var(--fc-lime));
	display: flex;
	justify-content: center;
	min-height: 420px;
	padding: 42px;
	position: relative;
}

.fc-hero__visual::before,
.fc-hero__visual::after {
	border: 1px solid rgba(9, 44, 42, 0.18);
	border-radius: 50%;
	content: "";
	position: absolute;
}

.fc-hero__visual::before {
	height: 310px;
	width: 310px;
}

.fc-hero__visual::after {
	height: 390px;
	width: 390px;
}

.fc-price-token {
	align-items: center;
	background: var(--fc-paper);
	border-radius: 50%;
	box-shadow: 0 30px 70px rgba(9, 44, 42, 0.24);
	color: var(--fc-ink);
	display: flex;
	flex-direction: column;
	height: 250px;
	justify-content: center;
	position: relative;
	transform: rotate(4deg);
	width: 250px;
	z-index: 2;
}

.fc-price-token span {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.fc-price-token strong {
	font-size: 68px;
	letter-spacing: -0.08em;
	line-height: 1;
	margin: 8px 0;
}

.fc-trust-strip {
	display: grid;
	gap: 1px;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 18px;
	overflow: hidden;
}

.fc-trust-item {
	border-right: 1px solid var(--fc-line);
	padding: 20px 28px;
}

.fc-trust-item:last-child {
	border-right: 0;
}

.fc-trust-item strong,
.fc-trust-item span {
	display: block;
}

.fc-trust-item strong {
	font-size: 14px;
}

.fc-trust-item span {
	color: var(--fc-muted);
	font-size: 13px;
	margin-top: 2px;
}

.fc-products {
	padding: 76px 0 104px;
}

.fc-section-heading {
	align-items: end;
	display: flex;
	justify-content: space-between;
	margin-bottom: 30px;
}

.fc-section-heading h2 {
	font-size: clamp(36px, 5vw, 56px);
	letter-spacing: -0.055em;
	line-height: 1;
	margin: 0;
}

.fc-section-heading a {
	font-size: 14px;
	font-weight: 800;
}

.fc-product-grid,
.woocommerce ul.products {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0;
}

.fc-product-card,
.woocommerce ul.products li.product {
	background: var(--fc-paper);
	border: 1px solid rgba(9, 44, 42, 0.08);
	border-radius: var(--fc-radius);
	box-shadow: 0 8px 30px rgba(9, 44, 42, 0.06);
	display: flex;
	flex-direction: column;
	margin: 0;
	overflow: hidden;
	padding: 0 0 22px;
	transition: transform 180ms ease, box-shadow 180ms ease;
	width: auto;
}

.fc-product-card:hover,
.woocommerce ul.products li.product:hover {
	box-shadow: var(--fc-shadow);
	transform: translateY(-5px);
}

.fc-product-card__image,
.woocommerce ul.products li.product a img {
	aspect-ratio: 1 / 1;
	background: #e9eee7;
	margin: 0;
	object-fit: cover;
	width: 100%;
}

.fc-product-card__fallback {
	align-items: center;
	background: linear-gradient(145deg, var(--fc-mint), var(--fc-lime));
	display: flex;
	font-size: 42px;
	font-weight: 900;
	justify-content: center;
}

.fc-product-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px 22px 0;
}

.fc-product-card h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 21px;
	letter-spacing: -0.035em;
	line-height: 1.2;
	margin: 0 0 8px;
	padding: 0;
}

.fc-product-card__description {
	color: var(--fc-muted);
	font-size: 14px;
	margin: 0 0 20px;
}

.fc-product-card__footer {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-top: auto;
}

.fc-product-card__price,
.woocommerce ul.products li.product .price {
	color: var(--fc-ink);
	font-size: 18px;
	font-weight: 850;
}

.fc-product-card .fc-button {
	font-size: 13px;
	padding: 12px 16px;
}

.site-main {
	min-height: 62vh;
	padding-bottom: 100px;
	padding-top: 62px;
}

.site-main > h1,
.woocommerce-products-header__title,
.entry-title {
	font-size: clamp(42px, 6vw, 68px);
	letter-spacing: -0.06em;
	line-height: 1;
	margin: 0 0 38px;
}

.woocommerce .woocommerce-breadcrumb {
	color: var(--fc-muted);
	font-size: 13px;
	margin-bottom: 22px;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
	font-size: 14px;
	margin-bottom: 28px;
}

.woocommerce .woocommerce-ordering select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
	background: #fff;
	border: 1px solid var(--fc-line);
	border-radius: 12px;
	min-height: 48px;
	padding: 11px 13px;
}

.woocommerce span.onsale {
	background: var(--fc-lime);
	color: var(--fc-ink);
	font-size: 12px;
	font-weight: 850;
	left: 14px;
	line-height: 1;
	min-height: auto;
	min-width: auto;
	padding: 9px 12px;
	top: 14px;
}

.woocommerce div.product {
	display: flow-root;
}

.woocommerce div.product div.images img {
	border-radius: var(--fc-radius);
}

.woocommerce div.product .product_title {
	font-size: clamp(38px, 5vw, 58px);
	letter-spacing: -0.055em;
	line-height: 1;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--fc-ink);
	font-size: 28px;
	font-weight: 850;
}

.woocommerce div.product form.cart .qty {
	border: 1px solid var(--fc-line);
	border-radius: 12px;
	min-height: 50px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	background: #fff;
	border: 1px solid var(--fc-line);
	border-radius: 16px;
	color: var(--fc-ink);
	margin-bottom: 28px;
	padding: 20px 22px 20px 54px;
}

.woocommerce-message,
.woocommerce-info {
	border-top: 3px solid #62b48d;
}

.woocommerce table.shop_table {
	background: var(--fc-paper);
	border: 1px solid var(--fc-line);
	border-collapse: separate;
	border-radius: 20px;
	overflow: hidden;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	border-color: var(--fc-line);
	padding: 18px;
}

.woocommerce-cart table.cart img {
	border-radius: 12px;
	width: 74px;
}

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
	background: var(--fc-paper);
	border: 1px solid var(--fc-line);
	border-radius: 20px;
	padding: 26px;
}

.woocommerce .cart-collaterals .cart_totals h2,
.woocommerce-checkout h3 {
	font-size: 26px;
	letter-spacing: -0.035em;
}

.woocommerce-checkout form.checkout {
	display: grid;
	gap: 28px;
	grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
	float: none;
	width: auto;
}

.woocommerce-checkout #customer_details {
	grid-row: span 2;
}

.woocommerce-checkout #order_review_heading {
	align-self: end;
	margin: 0;
}

.woocommerce-checkout #order_review,
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-additional-fields {
	background: var(--fc-paper);
	border: 1px solid var(--fc-line);
	border-radius: 20px;
	padding: 26px;
}

.woocommerce-checkout #payment {
	background: #eef3ed;
	border-radius: 16px;
}

.woocommerce-checkout #payment div.payment_box {
	background: #fff;
	border-radius: 12px;
	color: var(--fc-ink);
}

.woocommerce-checkout #payment div.payment_box::before {
	border-bottom-color: #fff;
}

.woocommerce #payment #place_order {
	background: var(--fc-lime);
	color: var(--fc-ink);
	float: none;
	font-size: 16px;
	margin: 0;
	padding: 17px 24px;
	width: 100%;
}

.site-footer {
	background: var(--fc-ink);
	color: #fff;
	padding: 42px 0;
}

.site-footer__inner {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.site-footer p {
	color: rgba(255, 255, 255, 0.62);
	font-size: 13px;
	margin: 0;
}

.site-footer a {
	font-size: 13px;
	font-weight: 750;
}

@media (max-width: 860px) {
	.fc-hero__panel {
		grid-template-columns: 1fr;
	}

	.fc-hero__copy {
		padding: 46px;
	}

	.fc-hero__visual {
		min-height: 350px;
	}

	.fc-product-grid,
	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.woocommerce-checkout form.checkout {
		display: block;
	}

	.woocommerce-checkout #customer_details,
	.woocommerce-checkout #order_review_heading,
	.woocommerce-checkout #order_review {
		margin-bottom: 24px;
	}
}

@media (max-width: 600px) {
	.fc-container,
	.site-main,
	.woocommerce-page main.site-main {
		padding-inline: 18px;
	}

	.site-header__inner {
		height: 68px;
	}

	.site-brand {
		font-size: 18px;
	}

	.site-brand__mark {
		height: 32px;
		width: 32px;
	}

	.site-nav {
		gap: 2px;
	}

	.site-nav > a {
		font-size: 13px;
		padding: 8px 10px;
	}

	.site-nav .cart-link {
		padding-left: 12px;
	}

	.fc-hero {
		padding-top: 28px;
	}

	.fc-hero__panel {
		border-radius: 26px;
	}

	.fc-hero__copy {
		padding: 38px 26px;
	}

	.fc-hero h1 {
		font-size: 48px;
	}

	.fc-hero__lede {
		font-size: 16px;
	}

	.fc-hero__visual {
		min-height: 300px;
		padding: 30px;
	}

	.fc-price-token {
		height: 200px;
		width: 200px;
	}

	.fc-price-token strong {
		font-size: 56px;
	}

	.fc-trust-strip {
		grid-template-columns: 1fr;
	}

	.fc-trust-item {
		border-bottom: 1px solid var(--fc-line);
		border-right: 0;
	}

	.fc-product-grid,
	.woocommerce ul.products {
		grid-template-columns: 1fr;
	}

	.fc-section-heading {
		align-items: start;
		flex-direction: column;
		gap: 16px;
	}

	.site-footer__inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 14px;
	}

	.woocommerce table.shop_table_responsive tr,
	.woocommerce-page table.shop_table_responsive tr {
		padding: 12px;
	}
}
