/*
Theme Name: Woodmart Child Tabarak
Theme URI: https://tabarak.co.id/
Description: Woodmart child theme for Tabarak Store native prebuilt workflow.
Author: Apakata Creative
Author URI: https://apakata.com/
Template: woodmart
Version: 1.9.0
Text Domain: woodmart-child-tabarak
*/

/*
This child theme intentionally keeps logic minimal:
- no admin-post actions
- no automatic file copy
- no media sideload
- no loader plugin behavior
*/


/* Tabarak Native Prebuilt v1.5 frontend polish */
.tabarak-native-home,
.tabarak-native-home * {
	box-sizing: border-box;
}
.tabarak-native-home {
	font-family: inherit;
}
.tabarak-native-home .tabarak-native-trust-grid,
.tabarak-native-home .tabarak-native-product-grid {
	display: grid;
	gap: 18px;
}
.tabarak-native-home .tabarak-native-trust-grid {
	grid-template-columns: repeat(4, minmax(160px, 1fr));
}
.tabarak-native-home .tabarak-native-product-grid {
	grid-template-columns: repeat(4, minmax(180px, 1fr));
}
@media (max-width: 1024px) {
	.tabarak-native-home .tabarak-native-product-grid {
		grid-template-columns: repeat(2, minmax(160px, 1fr));
	}
}
@media (max-width: 768px) {
	.tabarak-native-home .tabarak-native-trust-grid,
	.tabarak-native-home .tabarak-native-product-grid {
		grid-template-columns: repeat(2, minmax(130px, 1fr));
	}
}


/* Tabarak Native Prebuilt v1.6 WooCommerce-ready polish */
.tabarak-native-home .woocommerce ul.products {
	margin-top: 18px;
}
.tabarak-native-home .woocommerce ul.products li.product {
	border-radius: 18px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 10px 26px rgba(60,40,20,.06);
	padding-bottom: 14px;
}
.tabarak-native-home .woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 15px;
	font-weight: 700;
	padding-left: 12px;
	padding-right: 12px;
}
.tabarak-native-home .woocommerce ul.products li.product .price {
	padding-left: 12px;
	padding-right: 12px;
	color: #7a5a2e;
	font-weight: 800;
}
.tabarak-native-home .woocommerce ul.products li.product .button {
	margin-left: 12px;
	border-radius: 999px;
}


/* Tabarak Native Prebuilt v1.7 category landing polish */
.tabarak-category-page {max-width:1240px;margin:0 auto;padding:24px 16px 70px;color:#241f1a}
.tabarak-category-page img{max-width:100%;height:auto;display:block}
.tabarak-category-hero{position:relative;border-radius:28px;overflow:hidden;background:#f4ead8;margin-bottom:34px;box-shadow:0 18px 50px rgba(60,40,20,.08)}
.tabarak-category-hero img{width:100%;height:360px;object-fit:cover}
.tabarak-category-hero-copy{position:absolute;left:32px;top:50%;transform:translateY(-50%);max-width:460px;background:rgba(255,255,255,.78);border-radius:22px;padding:24px}
.tabarak-category-hero-copy h1{font-size:36px;line-height:1.12;margin:0 0 10px;font-weight:800}
.tabarak-category-hero-copy p{color:#5f5348;line-height:1.65;margin:0}
.tabarak-category-intro-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:18px;margin:26px 0 32px}
.tabarak-category-intro-card{background:#fff;border:1px solid #eee3d3;border-radius:20px;padding:20px;box-shadow:0 10px 26px rgba(60,40,20,.05)}
.tabarak-category-intro-card strong{display:block;margin-bottom:7px}
@media(max-width:768px){.tabarak-category-hero-copy{position:relative;left:auto;top:auto;transform:none;margin:12px}.tabarak-category-hero img{height:230px}.tabarak-category-intro-grid{grid-template-columns:1fr}}


/* Tabarak Native Prebuilt v1.8 trust/operation polish */
.tabarak-faq-grid,
.tabarak-operational-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(260px, 1fr));
	gap: 18px;
	margin: 22px 0 34px;
}
.tabarak-faq-item,
.tabarak-operational-card {
	background: #fff;
	border: 1px solid #eee3d3;
	border-radius: 20px;
	padding: 20px;
	box-shadow: 0 10px 26px rgba(60,40,20,.05);
}
.tabarak-faq-item strong,
.tabarak-operational-card strong {
	display: block;
	font-size: 17px;
	margin-bottom: 8px;
	color: #241f1a;
}
.tabarak-faq-item span,
.tabarak-operational-card span {
	color: #6f6256;
	line-height: 1.6;
}
.tabarak-page-content {
	max-width: 940px;
	margin: 0 auto;
	padding: 40px 16px 70px;
	line-height: 1.75;
	color: #241f1a;
}
.tabarak-page-content h1 {
	font-size: 38px;
	line-height: 1.15;
	margin-bottom: 18px;
}
.tabarak-page-content h2 {
	font-size: 24px;
	margin-top: 30px;
}
.tabarak-page-content .tabarak-note {
	background: #fff8ec;
	border: 1px solid #eedfca;
	border-radius: 18px;
	padding: 16px 18px;
	margin: 20px 0;
}
@media (max-width: 768px) {
	.tabarak-faq-grid,
	.tabarak-operational-grid {
		grid-template-columns: 1fr;
	}
	.tabarak-page-content h1 {
		font-size: 30px;
	}
}


/* Tabarak Native Prebuilt v1.9 header/footer/responsive refinement */
body .wd-header-nav .menu-item > a,
body .wd-nav-main > li > a {
	font-weight: 700;
}
body .wd-header-nav .menu-item > a[href*="grosir"],
body .wd-nav-main > li > a[href*="grosir"] {
	color: #5d704a;
}
body footer .menu a,
body .footer-container a {
	text-decoration: none;
}
body footer .menu a:hover,
body .footer-container a:hover {
	text-decoration: underline;
}
.tabarak-native-home .tabarak-native-btn {
	box-shadow: 0 10px 24px rgba(60,40,20,.12);
}
.tabarak-native-home .tabarak-native-cat,
.tabarak-native-home .tabarak-native-banner,
.tabarak-native-home .tabarak-native-product,
.tabarak-category-page .tabarak-category-intro-card,
.tabarak-page-content .tabarak-note,
.tabarak-faq-item,
.tabarak-operational-card {
	transition: transform .18s ease, box-shadow .18s ease;
}
.tabarak-native-home .tabarak-native-cat:hover,
.tabarak-native-home .tabarak-native-banner:hover,
.tabarak-native-home .tabarak-native-product:hover,
.tabarak-category-page .tabarak-category-intro-card:hover,
.tabarak-faq-item:hover,
.tabarak-operational-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 34px rgba(60,40,20,.08);
}
.tabarak-contact-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(260px, 1fr));
	gap: 18px;
	margin: 24px 0 34px;
}
.tabarak-contact-card {
	background: #fff;
	border: 1px solid #eee3d3;
	border-radius: 20px;
	padding: 20px;
	box-shadow: 0 10px 26px rgba(60,40,20,.05);
}
.tabarak-contact-card strong {
	display: block;
	font-size: 17px;
	margin-bottom: 8px;
}
.tabarak-step-list {
	counter-reset: tabarak-step;
	list-style: none;
	padding: 0;
	margin: 24px 0;
}
.tabarak-step-list li {
	counter-increment: tabarak-step;
	position: relative;
	background: #fff;
	border: 1px solid #eee3d3;
	border-radius: 18px;
	padding: 18px 18px 18px 58px;
	margin-bottom: 12px;
}
.tabarak-step-list li:before {
	content: counter(tabarak-step);
	position: absolute;
	left: 18px;
	top: 18px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #7a5a2e;
	color: #fff;
	font-weight: 800;
}
@media (max-width: 1024px) {
	.tabarak-native-home {
		padding-left: 14px;
		padding-right: 14px;
	}
	.tabarak-native-home .tabarak-native-hero-copy h1 {
		font-size: 36px;
	}
	.tabarak-category-hero-copy h1 {
		font-size: 31px;
	}
}
@media (max-width: 768px) {
	.tabarak-native-home .tabarak-native-btn {
		display: block;
		text-align: center;
		margin: 10px 0 0 !important;
	}
	.tabarak-native-home .tabarak-native-title {
		font-size: 26px;
	}
	.tabarak-native-home .tabarak-native-cat-grid,
	.tabarak-native-home .tabarak-native-product-grid {
		gap: 12px;
	}
	.tabarak-native-home .tabarak-native-cat {
		padding: 10px;
		border-radius: 16px;
	}
	.tabarak-native-home .tabarak-native-cat h3 {
		font-size: 13px;
	}
	.tabarak-native-home .tabarak-native-banner div {
		left: 14px;
		right: 14px;
		max-width: none;
	}
	.tabarak-native-home .tabarak-native-banner h2 {
		font-size: 22px;
	}
	.tabarak-contact-grid {
		grid-template-columns: 1fr;
	}
}
