/*
Theme Name: AntarEase Shop
Description: Tema ringan untuk Elementor + WooCommerce. Header/footer bisa diganti Elementor Theme Builder.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: antarease-shop
*/

:root {
	--ae-primary: #e8590c;
	--ae-text: #222;
	--ae-muted: #666;
	--ae-bg: #fff;
	--ae-border: #eee;
	--ae-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ae-text); background: var(--ae-bg); line-height: 1.6; }
a { color: var(--ae-primary); }
img { max-width: 100%; height: auto; }

.ae-container { max-width: var(--ae-width); margin: 0 auto; padding: 0 16px; }
.ae-main { padding: 32px 0; min-height: 60vh; }

.ae-header { border-bottom: 1px solid var(--ae-border); }
.ae-header .ae-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.ae-logo { font-weight: 700; font-size: 1.25rem; color: var(--ae-text); text-decoration: none; }
.ae-logo img { max-height: 48px; width: auto; }
.ae-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.ae-nav a { color: var(--ae-text); text-decoration: none; }
.ae-nav a:hover { color: var(--ae-primary); }
.ae-cart { color: var(--ae-text); text-decoration: none; font-weight: 600; }

.ae-footer { border-top: 1px solid var(--ae-border); color: var(--ae-muted); font-size: .9rem; padding: 24px 0; text-align: center; }

.ae-footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; text-align: left; margin-bottom: 16px; }
.ae-footer-cols strong { color: var(--ae-text); display: block; margin-bottom: 8px; }
.ae-footer-cols ul { list-style: none; margin: 0; padding: 0; }
.ae-footer-cols a { color: var(--ae-muted); text-decoration: none; }

/* Seksi konten demo */
.ae-btn { display: inline-block; background: var(--ae-primary); color: #fff; padding: 12px 24px; border-radius: 8px; text-decoration: none; font-weight: 600; margin: 4px 4px 4px 0; }
.ae-btn:hover { background: #c94a06; color: #fff; }
.ae-btn-ghost { background: transparent; color: var(--ae-primary); border: 2px solid var(--ae-primary); }
.ae-btn-ghost:hover { background: var(--ae-primary); }
.ae-hero { background: linear-gradient(135deg, #fff4e6, #ffe8cc); border-radius: 16px; padding: 64px 32px; text-align: center; margin-bottom: 48px; }
.ae-hero h1 { font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.15; margin: 8px auto 16px; max-width: 760px; }
.ae-hero p { max-width: 620px; margin-left: auto; margin-right: auto; color: var(--ae-muted); }
.ae-eyebrow { color: var(--ae-primary) !important; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.ae-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 32px 0 48px; }
.ae-features > div { border: 1px solid var(--ae-border); border-radius: 12px; padding: 24px; }
.ae-features span { font-size: 2rem; font-weight: 800; color: var(--ae-primary); }
.ae-features h3 { margin: 8px 0 4px; }
.ae-features p { margin: 0; color: var(--ae-muted); }
.ae-section-title { text-align: center; font-size: 1.8rem; margin: 0 0 24px; }
.ae-cta { background: var(--ae-text); color: #fff; border-radius: 16px; padding: 48px 32px; text-align: center; margin: 48px 0 16px; }
.ae-cta p { color: #ccc; }
.ae-faq { border: 1px solid var(--ae-border); border-radius: 10px; padding: 16px 20px; margin-bottom: 12px; }
.ae-faq summary { font-weight: 600; cursor: pointer; }
.ae-faq p { color: var(--ae-muted); margin-bottom: 0; }

/* WooCommerce: samakan warna tombol dengan tema */
.woocommerce .button, .woocommerce button.button, .woocommerce a.button.alt, .woocommerce button.button.alt {
	background: var(--ae-primary); color: #fff; border-radius: 6px;
}
.woocommerce .button:hover, .woocommerce button.button.alt:hover { background: #c94a06; color: #fff; }

/* Halaman Elementor full width: hilangkan padding container tema */
.elementor-page .ae-main { padding: 0; }
.elementor-page .ae-main > .ae-container { max-width: none; padding: 0; }
