/*
Theme Name: TIPPIBLOCK Final Logo
Theme URI: https://tippiblock.com/
Description: Mobile-first dark storefront child theme for TIPPIBLOCK, built on Blocksy.
Author: TIPPIBLOCK
Template: blocksy
Version: 1.2.0
Text Domain: tippiblock
*/

:root {
	--tb-bg: #080b12;
	--tb-surface: #111723;
	--tb-surface-soft: #151e2e;
	--tb-line: #242e42;
	--tb-text: #f5f7fb;
	--tb-muted: #a5afc1;
	--tb-cyan: #42dcff;
	--tb-pink: #ff4f9f;
	--tb-yellow: #ffd65b;
}

body {
	background-color: var(--tb-bg);
	color: var(--tb-text);
}

.tb-store-header {
	color: #101723;
	background: #fff;
}

.tb-shipping-bar {
	padding: 10px 16px;
	color: #071019;
	background: var(--tb-cyan);
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
}

.tb-header-main {
	position: relative;
	display: grid;
	grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
	align-items: center;
	gap: 24px;
	width: min(1380px, calc(100% - 48px));
	min-height: 86px;
	margin: 0 auto;
}

.tb-product-search {
	display: flex;
	width: min(280px, 100%);
	height: 42px;
	overflow: hidden;
	border: 1px solid #d8dce3;
	border-radius: 6px;
	background: #f5f6f8;
}

.tb-product-search input {
	flex: 1;
	width: 100%;
	min-width: 0;
	padding: 0 14px;
	border: 0;
	color: #1a2332;
	background: transparent;
	font-size: 14px;
}

.tb-product-search button {
	width: 48px;
	border: 0;
	color: #071019;
	background: var(--tb-cyan);
	font-size: 18px;
}

.tb-brand {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #101723;
	font-size: 29px;
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
}

.tb-brand img,
.tb-brand svg {
	display: block;
	width: min(240px, 42vw);
	height: auto;
}

.tb-brand:hover {
	color: #101723;
}

.tb-brand span {
	color: #16b4d7;
}

.tb-utility-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 18px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
}

.tb-utility-nav a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #101723;
}

.tb-utility-nav a:hover {
	color: #12a8ca;
}

.tb-category-bar {
	border-top: 1px solid #edf0f4;
	border-bottom: 1px solid #e2e6ec;
	background: #f5f6f8;
}

.tb-category-nav .menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(22px, 3.2vw, 46px);
	min-height: 48px;
	margin: 0;
	padding: 0 18px;
	list-style: none;
}

.tb-category-nav .menu a {
	color: #273143;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
}

.tb-category-nav .menu a:hover {
	color: #12a8ca;
}

.tb-mobile-header {
	display: none;
}

.tb-home {
	background: var(--tb-bg);
	color: var(--tb-text);
}

.tb-container {
	width: min(1240px, calc(100% - 32px));
	margin: 0 auto;
}

.tb-announcement {
	padding: 11px 16px;
	color: #071019;
	background: var(--tb-cyan);
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
}

.tb-hero {
	position: relative;
	min-height: min(700px, calc(100svh - 120px));
	display: flex;
	align-items: flex-end;
	overflow: hidden;
}

.tb-hero__media {
	position: absolute;
	inset: 0;
}

.tb-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.tb-hero__media::after {
	position: absolute;
	inset: 0;
	content: "";
	background: linear-gradient(0deg, rgba(8, 11, 18, 0.96) 5%, rgba(8, 11, 18, 0.55) 52%, rgba(8, 11, 18, 0.14));
}

.tb-hero__content {
	position: relative;
	z-index: 1;
	padding: clamp(30px, 7vw, 76px) 0 clamp(34px, 8vw, 72px);
}

.tb-kicker {
	margin: 0 0 14px;
	color: var(--tb-cyan);
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
}

.tb-hero h1 {
	max-width: 780px;
	margin: 0 0 16px;
	color: var(--tb-text);
	font-size: clamp(42px, 8vw, 82px);
	line-height: 1;
	letter-spacing: 0;
	text-transform: uppercase;
}

.tb-hero__copy {
	max-width: 550px;
	margin: 0 0 28px;
	color: #d8dfeb;
	font-size: clamp(15px, 2vw, 18px);
	line-height: 1.7;
}

.tb-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tb-button {
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 22px;
	border: 1px solid var(--tb-cyan);
	border-radius: 6px;
	color: #071019;
	background: var(--tb-cyan);
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
}

.tb-button:hover {
	color: #071019;
	background: #86eaff;
	border-color: #86eaff;
}

.tb-button--ghost {
	color: var(--tb-text);
	background: transparent;
	border-color: rgba(245, 247, 251, 0.32);
}

.tb-button--ghost:hover {
	color: var(--tb-text);
	background: rgba(245, 247, 251, 0.1);
	border-color: var(--tb-text);
}

.tb-section {
	padding: clamp(40px, 6vw, 72px) 0;
}

.tb-section--line {
	border-top: 1px solid var(--tb-line);
}

.tb-section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 24px;
}

.tb-section h2 {
	margin: 0;
	color: var(--tb-text);
	font-size: clamp(28px, 4vw, 42px);
	line-height: 1.1;
	text-transform: uppercase;
}

.tb-text-link {
	color: var(--tb-cyan);
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
}

.tb-categories {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.tb-category {
	position: relative;
	min-height: 154px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 9px;
	padding: 20px;
	overflow: hidden;
	border: 1px solid var(--tb-line);
	border-radius: 8px;
	color: var(--tb-text);
	background: var(--tb-surface);
}

.tb-category::before {
	position: absolute;
	inset: 0 auto 0 0;
	width: 4px;
	content: "";
	background: var(--cat-accent, var(--tb-cyan));
}

.tb-category span {
	color: var(--tb-muted);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.tb-category strong {
	color: var(--tb-text);
	font-size: 21px;
	line-height: 1.25;
}

.tb-category:hover {
	color: var(--tb-text);
	background: var(--tb-surface-soft);
	border-color: #35425a;
}

.tb-products .products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.tb-products .product {
	width: auto !important;
	margin: 0 !important;
	padding: 12px !important;
	border: 1px solid var(--tb-line);
	border-radius: 8px;
	background: var(--tb-surface);
}

.tb-products .woocommerce-loop-product__title {
	color: var(--tb-text) !important;
	font-size: 16px !important;
}

.tb-products .price {
	color: var(--tb-cyan) !important;
	font-size: 18px !important;
	font-weight: 700;
}

.tb-products .button {
	width: 100%;
	min-height: 42px;
	border-radius: 6px !important;
	color: #071019 !important;
	background: var(--tb-cyan) !important;
	font-weight: 700;
}

.tb-drop {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(20px, 5vw, 64px);
	padding: clamp(28px, 6vw, 58px);
	border: 1px solid #273246;
	border-radius: 8px;
	background: linear-gradient(110deg, #111723 10%, #151d30 100%);
}

.tb-drop p:not(.tb-kicker) {
	max-width: 640px;
	margin: 16px 0 0;
	color: var(--tb-muted);
	line-height: 1.7;
}

.tb-benefits {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.tb-benefit {
	padding: 24px;
	border: 1px solid var(--tb-line);
	border-radius: 8px;
	background: var(--tb-surface);
}

.tb-benefit h3 {
	margin: 0 0 10px;
	color: var(--tb-text);
	font-size: 18px;
}

.tb-benefit p {
	margin: 0;
	color: var(--tb-muted);
	font-size: 14px;
	line-height: 1.65;
}

.tb-legal {
	margin-top: 36px;
	color: var(--tb-muted);
	font-size: 12px;
	line-height: 1.6;
}

@media (max-width: 900px) {
	.tb-header-desktop {
		display: none;
	}

	.tb-mobile-header {
		display: block;
	}

	.tb-mobile-row {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		min-height: 62px;
		padding: 0 14px;
		background: #fff;
	}

	.tb-mobile-row .tb-brand {
		font-size: 23px;
	}

	.tb-mobile-row .tb-brand img,
	.tb-mobile-row .tb-brand svg {
		width: min(178px, 52vw);
	}

	.tb-mobile-actions {
		display: flex;
		align-items: center;
		gap: 14px;
	}

	.tb-mobile-actions a,
	.tb-mobile-actions summary {
		color: #101723;
		font-size: 21px;
		list-style: none;
		cursor: pointer;
	}

	.tb-mobile-actions summary::-webkit-details-marker {
		display: none;
	}

	.tb-mobile-menu[open] .tb-mobile-dropdown {
		display: block;
	}

	.tb-mobile-dropdown {
		position: absolute;
		z-index: 20;
		right: 0;
		left: 0;
		padding: 8px 16px 14px;
		border-top: 1px solid #edf0f4;
		border-bottom: 1px solid #e2e6ec;
		background: #fff;
	}

	.tb-mobile-dropdown .menu {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 4px;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.tb-mobile-dropdown .menu a {
		display: block;
		padding: 11px 7px;
		color: #101723;
		font-size: 13px;
		font-weight: 700;
		text-transform: uppercase;
	}

	.tb-categories,
	.tb-products .products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tb-drop {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.tb-container {
		width: min(100% - 24px, 1240px);
	}

	.tb-hero {
		min-height: 570px;
	}

	.tb-hero h1 {
		max-width: 9ch;
	}

	.tb-actions .tb-button {
		flex: 1 1 100%;
	}

	.tb-categories {
		gap: 8px;
	}

	.tb-category {
		min-height: 118px;
		padding: 14px;
	}

	.tb-category strong {
		font-size: 17px;
	}

	.tb-products .products {
		gap: 8px;
	}

	.tb-products .product {
		padding: 8px !important;
	}

	.tb-benefits {
		grid-template-columns: 1fr;
	}
}


.tb-brand svg {
	display: block;
	width: min(240px, 42vw);
	height: auto;
}

@media (max-width: 900px) {
	.tb-mobile-row .tb-brand svg {
		width: min(178px, 52vw);
	}
}
