/*
Theme Name: Websternet Hybrid
Theme URI: https://websternet.co.za
Author: Deon
Description: Custom WooCommerce theme for Websternet.
Version: 2.0
Text Domain: websternet-hybrit
*/

:root {
	--web-dark: #101827;
	--web-dark-2: #0b1120;
	--web-light: #f5f7fb;
	--web-text: #111827;
	--web-muted: #667085;
	--web-border: #e5e7eb;
	--web-orange: #ff8a00;
	--web-orange-2: #ffb000;
	--web-blue: #1976f3;
	--web-card: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--web-light);
	color: var(--web-text);
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	line-height: 1.5;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
.wrap {
	width: min(1240px, calc(100% - 32px));
	margin: 0 auto;
}

/* HEADER */
.site-header {
	background: #fff;
	box-shadow: 0 6px 24px rgba(16,24,39,.08);
	position: relative;
	z-index: 1000;
}
.top-strip {
	background: var(--web-dark);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}
.top-strip-inner {
	display: flex;
	justify-content: center;
	gap: 36px;
	padding: 9px 0;
	text-align: center;
}
.header-main {
	display: grid;
	grid-template-columns: 230px minmax(260px, 1fr) auto;
	align-items: center;
	gap: 24px;
	padding: 18px 0;
}
.brand-link {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}
.custom-logo {
	max-width: 215px;
	max-height: 76px;
	width: auto;
	height: auto;
	display: block;
}
.brand-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--web-blue), var(--web-orange));
	color: #fff;
	font-weight: 900;
	font-size: 26px;
}
.brand-text {
	font-size: 28px;
	font-weight: 900;
	letter-spacing: -.5px;
}
.header-search {
	display: flex;
	height: 52px;
	border: 2px solid var(--web-orange);
	border-radius: 999px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 8px 18px rgba(255,138,0,.14);
}
.header-search select {
	width: 168px;
	border: 0;
	border-right: 1px solid var(--web-border);
	background: #fff8ee;
	padding: 0 14px;
	font-weight: 800;
	color: var(--web-text);
	outline: 0;
}
.header-search input[type="search"] {
	flex: 1;
	border: 0;
	padding: 0 20px;
	outline: 0;
	font-size: 15px;
	min-width: 80px;
}
.header-search button {
	border: 0;
	background: var(--web-orange);
	color: #fff;
	padding: 0 24px;
	font-weight: 900;
	cursor: pointer;
	transition: .2s ease;
}
.header-search button:hover { background: var(--web-dark); }
.header-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	white-space: nowrap;
}
.header-actions a {
	display: flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	font-weight: 800;
	font-size: 13px;
	color: var(--web-text);
	position: relative;
}
.header-actions a:hover { color: var(--web-orange); }
.header-actions span { font-size: 20px; }
.cart-link b {
	position: absolute;
	top: -9px;
	left: 13px;
	background: var(--web-orange);
	color: #fff;
	font-size: 10px;
	min-width: 18px;
	height: 18px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.main-nav-wrap { background: var(--web-dark); }
.main-nav-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 54px;
}
.category-drop { position: relative; flex: 0 0 auto; }
.category-drop button {
	background: var(--web-orange);
	color: #fff;
	border: 0;
	border-radius: 10px;
	padding: 12px 20px;
	font-weight: 900;
	cursor: pointer;
	box-shadow: 0 8px 18px rgba(255,138,0,.25);
}
.category-menu {
	display: none;
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	width: 250px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 18px 40px rgba(0,0,0,.18);
	overflow: hidden;
	z-index: 1001;
}
.category-drop:hover .category-menu { display: block; }
.category-menu a,
.category-menu-list a {
	display: block;
	padding: 13px 18px;
	text-decoration: none;
	font-weight: 800;
	color: var(--web-text);
	border-bottom: 1px solid #f1f1f1;
}
.category-menu a:hover,
.category-menu-list a:hover {
	background: #fff4e5;
	color: var(--web-orange);
}
.category-menu ul { list-style: none; margin: 0; padding: 0; }
.primary-nav { flex: 1; }
.primary-nav,
.primary-menu {
	display: flex;
	align-items: center;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.primary-nav a,
.primary-menu a {
	color: #fff;
	text-decoration: none;
	font-weight: 800;
	font-size: 14px;
}
.primary-nav a:hover,
.primary-menu a:hover { color: var(--web-orange-2); }

/* HERO */
.hero-section {
	background: linear-gradient(135deg, #ffffff 0%, #f8fbff 48%, #fff3e1 100%);
	padding: 48px 0 38px;
}
.hero-grid {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: 36px;
	align-items: center;
	min-height: 420px;
}
.eyebrow {
	display: inline-flex;
	background: #fff4e5;
	color: #9a4f00;
	font-weight: 900;
	padding: 9px 14px;
	border-radius: 999px;
	margin-bottom: 18px;
}
.hero-copy h1 {
	font-size: clamp(38px, 5vw, 68px);
	line-height: .98;
	letter-spacing: -2px;
	margin: 0 0 18px;
	color: var(--web-dark);
}
.hero-copy p {
	font-size: 18px;
	color: var(--web-muted);
	max-width: 620px;
	margin: 0 0 26px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 24px;
	border-radius: 12px;
	font-weight: 900;
	text-decoration: none;
	transition: .2s ease;
}
.btn-primary { background: var(--web-orange); color: #fff; }
.btn-secondary { background: var(--web-dark); color: #fff; }
.btn:hover { transform: translateY(-2px); }
.hero-card {
	position: relative;
	min-height: 360px;
	border-radius: 32px;
	background: radial-gradient(circle at 30% 20%, #fff, #eaf2ff 45%, #ffdca8 100%);
	box-shadow: 0 28px 60px rgba(16,24,39,.14);
	overflow: hidden;
}
.hero-product-main {
	font-size: 150px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	filter: drop-shadow(0 18px 25px rgba(0,0,0,.16));
}
.hero-floating {
	position: absolute;
	background: #fff;
	border: 1px solid var(--web-border);
	border-radius: 999px;
	padding: 12px 16px;
	font-weight: 900;
	box-shadow: 0 12px 30px rgba(0,0,0,.10);
}
.hero-floating.one { top: 46px; right: 42px; }
.hero-floating.two { bottom: 52px; left: 42px; }
.hero-floating.three { bottom: 34px; right: 44px; }

/* BENEFITS */
.benefit-strip { background: #fff; padding: 20px 0; }
.benefit-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.benefit {
	background: var(--web-light);
	border: 1px solid var(--web-border);
	border-radius: 16px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.benefit span { color: var(--web-muted); font-size: 13px; }

/* SECTIONS */
.home-section,
.content-section,
.shop-wrapper { padding: 44px 0; }
.section-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 22px;
}
.section-heading h2 {
	margin: 0;
	font-size: 32px;
	letter-spacing: -.8px;
}
.section-heading a { color: var(--web-orange); font-weight: 900; text-decoration: none; }
.category-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.category-card {
	background: #fff;
	border: 1px solid var(--web-border);
	border-radius: 22px;
	padding: 24px;
	text-decoration: none;
	color: var(--web-text);
	box-shadow: 0 8px 24px rgba(16,24,39,.06);
	transition: .2s ease;
}
.category-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(16,24,39,.12); }
.category-card span { font-size: 42px; }
.category-card h3 { margin: 12px 0 5px; font-size: 21px; }
.category-card p { margin: 0; color: var(--web-muted); }
.promo-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
.promo-card {
	border-radius: 26px;
	padding: 34px;
	min-height: 220px;
	box-shadow: 0 14px 34px rgba(16,24,39,.10);
}
.promo-card h3 { margin: 0 0 10px; font-size: 30px; }
.promo-card p { color: inherit; opacity: .85; }
.promo-card a { font-weight: 900; }
.promo-card.dark { background: var(--web-dark); color: #fff; }
.promo-card.light { background: #fff4e5; color: var(--web-dark); }
.content-card {
	background: #fff;
	border-radius: 22px;
	padding: 32px;
	box-shadow: 0 8px 24px rgba(16,24,39,.06);
}

/* WOOCOMMERCE */
.woocommerce ul.products li.product,
ul.products li.product {
	background: #fff;
	border: 1px solid var(--web-border);
	border-radius: 18px;
	padding: 14px !important;
	box-shadow: 0 8px 24px rgba(16,24,39,.06);
	transition: .2s ease;
	overflow: hidden;
}
.woocommerce ul.products li.product:hover,
ul.products li.product:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16,24,39,.12); }
.woocommerce ul.products li.product img { border-radius: 14px; }
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	background: var(--web-orange) !important;
	color: #fff !important;
	border-radius: 10px !important;
	font-weight: 900 !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover { background: var(--web-dark) !important; }
.shop-wrapper .woocommerce-products-header,
.shop-header {
	background: #fff;
	border-radius: 22px;
	padding: 24px;
	margin-bottom: 24px;
	box-shadow: 0 8px 24px rgba(16,24,39,.06);
}

/* FOOTER */
.site-footer { background: var(--web-dark); color: #fff; margin-top: 40px; }
.newsletter-band { background: linear-gradient(90deg, var(--web-orange), #ffb000); color: #111; padding: 26px 0; }
.newsletter-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.newsletter-inner h2 { margin: 0 0 4px; }
.newsletter-inner p { margin: 0; font-weight: 700; }
.newsletter-form { display: flex; gap: 0; min-width: 420px; }
.newsletter-form input {
	flex: 1;
	border: 0;
	padding: 14px 18px;
	border-radius: 999px 0 0 999px;
}
.newsletter-form button {
	border: 0;
	background: var(--web-dark);
	color: #fff;
	font-weight: 900;
	padding: 0 22px;
	border-radius: 0 999px 999px 0;
}
.footer-main {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 32px;
	padding: 46px 0;
}
.footer-brand img { max-width: 210px; background: #fff; border-radius: 10px; padding: 6px; }
.footer-brand h3 { margin: 0; font-size: 28px; }
.footer-brand p { color: #d7dde8; }
.footer-small { font-size: 14px; }
.footer-col h4 { margin: 0 0 16px; color: #fff; }
.footer-col a {
	display: block;
	color: #d7dde8;
	text-decoration: none;
	margin-bottom: 10px;
}
.footer-col a:hover { color: var(--web-orange-2); }
.footer-bottom { background: var(--web-dark-2); padding: 16px 0; color: #cbd5e1; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; }

/* RESPONSIVE */
@media (max-width: 980px) {
	.top-strip-inner { flex-direction: column; gap: 4px; }
	.header-main { grid-template-columns: 1fr; }
	.site-branding { text-align: center; }
	.custom-logo { margin: 0 auto; }
	.header-actions { justify-content: center; flex-wrap: wrap; }
	.main-nav-inner { flex-direction: column; align-items: stretch; padding: 12px 0; }
	.primary-nav, .primary-menu { flex-wrap: wrap; justify-content: center; }
	.category-drop { text-align: center; }
	.category-menu { left: 50%; transform: translateX(-50%); }
	.hero-grid { grid-template-columns: 1fr; }
	.hero-card { min-height: 300px; }
	benefit-grid { grid-template-columns: repeat(2,1fr); }
	.benefit-grid { grid-template-columns: repeat(2,1fr); }
	.category-grid { grid-template-columns: repeat(2,1fr); }
	.promo-grid { grid-template-columns: 1fr; }
	.newsletter-inner { flex-direction: column; align-items: stretch; }
	.newsletter-form { min-width: 0; }
	.footer-main { grid-template-columns: 1fr 1fr; }
	.footer-bottom-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
	.wrap { width: min(100% - 22px, 1240px); }
	.header-search { flex-direction: column; height: auto; border-radius: 18px; }
	.header-search select { width: 100%; height: 44px; border-right: 0; border-bottom: 1px solid var(--web-border); }
	.header-search input[type="search"] { height: 46px; }
	.header-search button { width: 100%; height: 44px; }
	.header-actions small { display: none; }
	.hero-section { padding: 30px 0; }
	.hero-copy h1 { font-size: 38px; letter-spacing: -1px; }
	.hero-product-main { font-size: 110px; }
	.hero-floating { font-size: 12px; }
	.benefit-grid, .category-grid, .footer-main { grid-template-columns: 1fr; }
	.newsletter-form { flex-direction: column; gap: 10px; }
	.newsletter-form input, .newsletter-form button { border-radius: 999px; height: 46px; }
}
