/*
 Theme Name:   GeneratePress Child
 Template:     generatepress
 Description:  GeneratePress child theme - Open-Tronics mall customisations
 Author:       Open-Tronics
 Version:      1.1.0
*/

/* ============================================================
   Open-Tronics mall styles  (prefix: mall-)
   Accent: open orange #ea580c
   ============================================================ */

:root {
	--mall-accent: #ea580c;
	--mall-accent-dark: #c2410c;
	--mall-ink: #1c1917;
	--mall-muted: #57534e;
	--mall-line: #e7e5e4;
	--mall-soft: #fafaf9;
}

/* ---------- Header: wordmark logo already carries the name ---------- */
.navigation-branding .main-title,
.navigation-branding .site-description {
	display: none;
}

/* ---------- Hero ---------- */
.mall-hero {
	background: linear-gradient(135deg, #171412 0%, #292524 55%, #431407 100%);
	color: #fff;
	padding: 96px 24px 88px;
	text-align: center;
}
.mall-hero-eyebrow {
	display: inline-block;
	font-size: 12px;
	letter-spacing: 3px;
	font-weight: 600;
	color: #fdba74;
	border: 1px solid rgba(253, 186, 116, .45);
	border-radius: 999px;
	padding: 6px 16px;
	margin-bottom: 22px;
}
.mall-hero h1 {
	color: #fff;
	font-size: 44px;
	line-height: 1.15;
	max-width: 780px;
	margin: 0 auto 18px;
	letter-spacing: -0.5px;
}
.mall-hero-sub {
	color: #d6d3d1;
	font-size: 17px;
	max-width: 620px;
	margin: 0 auto 34px;
}
.mall-hero-cta {
	display: inline-flex;
	gap: 14px;
	flex-wrap: wrap;
	justify-content: center;
}
.mall-btn {
	display: inline-block;
	font-weight: 600;
	font-size: 15px;
	border-radius: 8px;
	padding: 13px 28px;
	text-decoration: none;
	transition: background .15s ease;
}
.mall-btn-primary {
	background: var(--mall-accent);
	color: #fff;
}
.mall-btn-primary:hover {
	background: var(--mall-accent-dark);
	color: #fff;
}
.mall-btn-ghost {
	border: 1px solid rgba(255,255,255,.35);
	color: #fff;
}
.mall-btn-ghost:hover {
	background: rgba(255,255,255,.12);
	color: #fff;
}

/* ---------- Section shell ---------- */
.mall-section {
	padding: 64px 24px;
	max-width: 1200px;
	margin: 0 auto;
}
.mall-section-title {
	text-align: center;
	font-size: 30px;
	letter-spacing: -0.4px;
	margin: 0 0 8px;
}
.mall-section-sub {
	text-align: center;
	color: var(--mall-muted);
	font-size: 15px;
	margin: 0 0 40px;
}

/* ---------- Category cards ---------- */
.mall-cats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.mall-cat {
	position: relative;
	display: block;
	border: 1px solid var(--mall-line);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	text-decoration: none;
	transition: box-shadow .18s ease, transform .18s ease;
}
.mall-cat:hover {
	box-shadow: 0 10px 28px rgba(28,25,23,.12);
	transform: translateY(-3px);
}
.mall-cat-media {
	aspect-ratio: 4 / 3;
	background: var(--mall-soft);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.mall-cat-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.mall-cat-icon {
	width: 64px;
	height: 64px;
	color: var(--mall-accent);
}
.mall-cat-body {
	padding: 18px 20px 20px;
}
.mall-cat-name {
	font-size: 17px;
	font-weight: 700;
	color: var(--mall-ink);
	margin: 0 0 6px;
}
.mall-cat-desc {
	font-size: 13px;
	color: var(--mall-muted);
	margin: 0 0 12px;
	line-height: 1.55;
}
.mall-cat-link {
	font-size: 13px;
	font-weight: 600;
	color: var(--mall-accent);
}
.mall-cat:hover .mall-cat-link {
	color: var(--mall-accent-dark);
}

/* ---------- Products strip ---------- */
.mall-products .woocommerce ul.products li.product {
	border: 1px solid var(--mall-line);
	border-radius: 12px;
	padding: 12px;
	transition: box-shadow .18s ease;
}
.mall-products .woocommerce ul.products li.product:hover {
	box-shadow: 0 8px 24px rgba(28,25,23,.10);
}

/* ---------- Brand strip ---------- */
.mall-brands {
	background: var(--mall-soft);
	border-top: 1px solid var(--mall-line);
	border-bottom: 1px solid var(--mall-line);
}
.mall-brands-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 24px;
	text-align: center;
}
.mall-brands-label {
	font-size: 12px;
	letter-spacing: 2.5px;
	font-weight: 600;
	color: var(--mall-muted);
	margin-bottom: 18px;
}
.mall-brands-row {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 40px;
	flex-wrap: wrap;
}
.mall-brand-name {
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 1px;
	color: #a8a29e;
}
.mall-brand-name.is-live {
	color: var(--mall-ink);
}
.mall-brands-note {
	margin-top: 16px;
	font-size: 13px;
	color: #a8a29e;
}

/* ---------- Value props ---------- */
.mall-props {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.mall-prop {
	border: 1px solid var(--mall-line);
	border-radius: 12px;
	padding: 26px 22px;
	text-align: center;
	background: #fff;
}
.mall-prop-icon {
	width: 40px;
	height: 40px;
	color: var(--mall-accent);
	margin-bottom: 14px;
}
.mall-prop h3 {
	font-size: 15px;
	margin: 0 0 8px;
}
.mall-prop p {
	font-size: 13px;
	color: var(--mall-muted);
	margin: 0;
	line-height: 1.6;
}

/* ---------- About / story ---------- */
.mall-about {
	max-width: 820px;
	margin: 0 auto;
	text-align: center;
}
.mall-about p {
	font-size: 16px;
	color: var(--mall-muted);
	line-height: 1.8;
}

/* ---------- Value strip ---------- */
.mall-valuestrip {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	padding-top: 40px;
	padding-bottom: 8px;
}
.mall-value {
	display: flex;
	align-items: center;
	gap: 14px;
	border: 1px solid var(--mall-line);
	border-radius: 10px;
	padding: 16px 20px;
	background: #fff;
}
.mall-value-icon {
	width: 34px;
	height: 34px;
	color: var(--mall-accent);
	flex-shrink: 0;
}
.mall-value strong {
	display: block;
	font-size: 14px;
	color: var(--mall-ink);
}
.mall-value span {
	display: block;
	font-size: 12.5px;
	color: var(--mall-muted);
	margin-top: 2px;
}

/* ---------- Featured hero + side categories ---------- */
.mall-hero-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 20px;
	padding-top: 12px;
}
.mall-feature {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	background: linear-gradient(120deg, #171412 0%, #292524 60%, #431407 100%);
	border-radius: 14px;
	overflow: hidden;
	color: #fff;
	text-decoration: none;
	min-height: 340px;
}
.mall-feature-text {
	padding: 44px 12px 40px 44px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.mall-feature-title {
	color: #fff;
	font-size: 40px;
	line-height: 1.08;
	letter-spacing: -0.5px;
	margin: 18px 0 14px;
}
.mall-feature-desc {
	color: #d6d3d1;
	font-size: 14.5px;
	line-height: 1.65;
	margin: 0 0 14px;
}
.mall-feature-price {
	font-size: 22px;
	font-weight: 800;
	color: #fdba74;
	margin: 0 0 18px;
}
.mall-btn-light {
	background: #fff;
	color: var(--mall-ink);
	font-size: 13px;
	padding: 11px 22px;
}
.mall-btn-light:hover {
	background: #f5f5f4;
}
.mall-feature-media {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.mall-feature-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.mall-sidecats {
	display: grid;
	grid-template-rows: 1fr 1fr;
	gap: 20px;
}
.mall-sidecat {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	border: 1px solid var(--mall-line);
	border-radius: 14px;
	padding: 22px 24px;
	background: #fff;
	text-decoration: none;
	transition: box-shadow .18s ease;
}
.mall-sidecat:hover {
	box-shadow: 0 10px 28px rgba(28,25,23,.12);
}
.mall-sidecat h3 {
	font-size: 18px;
	margin: 0 0 6px;
}
.mall-sidecat p {
	font-size: 13px;
	color: var(--mall-muted);
	margin: 0 0 12px;
}
.mall-sidecat img,
.mall-sidecat .mall-cat-icon {
	width: 96px;
	height: 96px;
	object-fit: cover;
	border-radius: 10px;
	flex-shrink: 0;
}
.mall-sidecat .mall-cat-icon {
	padding: 16px;
	background: var(--mall-soft);
}

/* ---------- Section row head ---------- */
.mall-rowhead {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 30px;
}
.mall-rowhead-title,
.mall-rowhead-sub {
	text-align: left;
	margin-bottom: 4px;
}
.mall-viewall {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .5px;
	color: var(--mall-accent);
	text-decoration: none;
	white-space: nowrap;
}
.mall-viewall:hover {
	color: var(--mall-accent-dark);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.mall-cats { grid-template-columns: repeat(2, 1fr); }
	.mall-props { grid-template-columns: repeat(2, 1fr); }
	.mall-hero-grid { grid-template-columns: 1fr; }
	.mall-valuestrip { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
	.mall-feature { grid-template-columns: 1fr; }
	.mall-feature-text { padding: 32px 24px; }
	.mall-feature-media { max-height: 260px; }
	.mall-feature-title { font-size: 30px; }
}
@media (max-width: 600px) {
	.mall-hero { padding: 64px 20px 56px; }
	.mall-hero h1 { font-size: 30px; }
	.mall-cats { grid-template-columns: 1fr; }
	.mall-props { grid-template-columns: 1fr; }
	.mall-rowhead { flex-direction: column; align-items: flex-start; gap: 6px; }
}
