/*
Theme Name: NagaEmpire Astra Child
Theme URI: https://nagaempiresatu.com/
Description: Child theme Astra mobile-first untuk NagaEmpire.
Author: NagaEmpire
Template: astra
Version: 1.2.0
Text Domain: nagaempire-astra-child
*/

:root {
  --ne-bg: #0d0f12;
  --ne-surface: #15191f;
  --ne-card: #1b2027;
  --ne-text: #f7f2e8;
  --ne-muted: #b8b3aa;
  --ne-gold: #f2b830;
  --ne-gold-2: #ffd76a;
  --ne-red: #a83224;
  --ne-line: rgba(255,255,255,.12);
  --ne-radius: 20px;
  --ne-shadow: 0 18px 50px rgba(0,0,0,.28);
  --ne-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body.nagaempire-site { margin: 0; overflow-x: hidden; color: var(--ne-text); background: var(--ne-bg); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
body.nagaempire-site .ast-article-single { margin: 0 !important; padding: 0 !important; color: var(--ne-text); background: transparent !important; }
body.nagaempire-site.admin-bar .ne-header { top: 46px; }
a { color: var(--ne-gold-2); text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover, a:focus { color: #fff2b5; }
img { max-width: 100%; height: auto; }
.ne-container { width: min(100% - 32px, var(--ne-max)); margin-inline: auto; }
.ne-section { padding: 64px 0; }
.ne-section-soft { background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)); border-block: 1px solid var(--ne-line); }
.ne-eyebrow, .ne-kicker { margin: 0 0 10px; color: var(--ne-gold-2); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1,h2,h3 { color: #fff; font-weight: 800; line-height: 1.1; letter-spacing: -.025em; }
h1 { font-size: clamp(2.1rem, 8vw, 4.8rem); margin: 0; }
h2 { font-size: clamp(1.65rem, 5vw, 2.7rem); margin: 0 0 18px; }
h3 { font-size: 1.18rem; margin: 0 0 8px; }
p { margin: 0 0 1.1em; }
.ne-lead { color: #eee7db; font-size: clamp(1.05rem, 2.5vw, 1.24rem); }
.ne-muted { color: var(--ne-muted); }
.ne-skip { position: fixed; left: 12px; top: -100px; z-index: 99999; padding: 10px 14px; background: #fff; color: #000; }
.ne-skip:focus { top: 12px; }

.ne-header { position: sticky; top: 0; z-index: 1000; background: rgba(10,12,15,.92); border-bottom: 1px solid var(--ne-line); backdrop-filter: blur(15px); }
.ne-header-row { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ne-brand { display: inline-flex; align-items: center; flex: 0 1 220px; min-width: 0; text-decoration: none; }
.ne-brand img { width: min(190px, 48vw); max-height: 54px; object-fit: contain; object-position: left center; }
.ne-brand-text { color: #fff; font-size: 1.2rem; font-weight: 900; }
.ne-nav-desktop { display: none; }
.ne-menu-toggle { min-width: 46px; min-height: 46px; display: inline-grid; place-items: center; border: 1px solid var(--ne-line); border-radius: 14px; background: var(--ne-card); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.ne-menu-toggle svg { width: 23px; height: 23px; }
.ne-mobile-panel { display: none; border-top: 1px solid var(--ne-line); background: #101318; }
.ne-mobile-panel.is-open { display: block; }
.ne-mobile-panel ul, .ne-nav-desktop ul { list-style: none; margin: 0; padding: 0; }
.ne-mobile-panel a { display: block; padding: 14px 16px; border-bottom: 1px solid var(--ne-line); color: #fff; font-weight: 750; text-decoration: none; }
.ne-store-state { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(242,184,48,.38); border-radius: 999px; color: var(--ne-gold-2); font-size: .82rem; font-weight: 800; text-decoration: none; }
.ne-store-state::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: var(--ne-gold); }

.ne-hero { position: relative; min-height: min(700px, 84vh); display: grid; align-items: end; isolation: isolate; overflow: hidden; }
.ne-hero-media { position: absolute; inset: 0; z-index: -2; }
.ne-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ne-hero::after { content:""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,6,8,.14) 0%, rgba(5,6,8,.55) 48%, #0d0f12 100%), linear-gradient(90deg, rgba(5,6,8,.82), rgba(5,6,8,.08) 70%); }
.ne-hero-content { padding: 110px 0 54px; }
.ne-hero-copy { max-width: 760px; }
.ne-hero p.ne-summary { margin: 18px 0 26px; max-width: 690px; color: #e8e2d8; font-size: clamp(1rem, 3vw, 1.25rem); }
.ne-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ne-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border: 1px solid transparent; border-radius: 999px; background: var(--ne-gold); color: #18120a; font-weight: 900; text-decoration: none; box-shadow: 0 12px 30px rgba(242,184,48,.18); }
.ne-button:hover, .ne-button:focus { background: #ffd565; color: #000; }
.ne-button-ghost { border-color: rgba(255,255,255,.34); background: rgba(10,12,15,.55); color: #fff; box-shadow: none; }

.ne-grid { display: grid; gap: 16px; }
.ne-grid-2, .ne-grid-3 { grid-template-columns: 1fr; }
.ne-card { min-width: 0; padding: 22px; border: 1px solid var(--ne-line); border-radius: var(--ne-radius); background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.025)); box-shadow: var(--ne-shadow); }
.ne-card p:last-child { margin-bottom: 0; }
.ne-card-link { display: block; color: inherit; text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.ne-card-link:hover, .ne-card-link:focus { transform: translateY(-3px); border-color: rgba(242,184,48,.6); color: inherit; }
.ne-number { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 22px; border-radius: 50%; background: rgba(242,184,48,.13); color: var(--ne-gold-2); font-weight: 900; }
.ne-card-arrow { color: var(--ne-gold-2); font-weight: 800; }

.ne-page-hero { position: relative; min-height: 440px; display: grid; align-items: end; isolation: isolate; overflow: hidden; }
.ne-page-hero::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,rgba(5,6,8,.2),rgba(5,6,8,.86)); }
.ne-page-hero img { position:absolute; inset:0; z-index:-2; width:100%; height:100%; object-fit:cover; object-position:center; }
.ne-page-hero-content { padding: 90px 0 42px; }
.ne-page-hero p { max-width: 760px; margin: 16px 0 0; color: #e7e1d7; font-size: 1.08rem; }
.ne-content { width: min(100% - 32px, 820px); margin: 0 auto; padding: 54px 0 76px; }
.ne-content > * { max-width: 100%; }
.ne-content h2 { margin-top: 48px; }
.ne-content h3 { margin-top: 28px; }
.ne-content ul, .ne-content ol { padding-left: 1.25rem; }
.ne-content li { margin: .55rem 0; }
.ne-callout { margin: 28px 0; padding: 20px; border: 1px solid rgba(242,184,48,.38); border-left: 4px solid var(--ne-gold); border-radius: 14px; background: rgba(242,184,48,.07); color: #ede6dc; }
.ne-checklist { list-style: none; padding-left: 0 !important; }
.ne-checklist li { position: relative; padding-left: 30px; }
.ne-checklist li::before { content:"✓"; position: absolute; left: 0; color: var(--ne-gold-2); font-weight: 900; }
.ne-steps { counter-reset: steps; list-style: none; padding: 0 !important; }
.ne-steps li { counter-increment: steps; position: relative; min-height: 42px; padding-left: 54px; }
.ne-steps li::before { content: counter(steps); position: absolute; left: 0; top: -4px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--ne-gold); color: #171109; font-weight: 900; }
.ne-link-list { list-style: none; padding: 0 !important; }
.ne-link-list li { margin: 0; border-top: 1px solid var(--ne-line); }
.ne-link-list li:last-child { border-bottom: 1px solid var(--ne-line); }
.ne-link-list a { display: block; padding: 14px 4px; color: #fff; font-weight: 760; text-decoration: none; }
.ne-link-list a::after { content: " →"; color: var(--ne-gold-2); }

.ne-join-wrap { margin: 34px 0; }
.ne-join-form { padding: 22px; border: 1px solid var(--ne-line); border-radius: var(--ne-radius); background: var(--ne-card); }
.ne-form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.ne-field { margin-bottom: 18px; }
.ne-field label { display: block; margin-bottom: 7px; color: #fff; font-weight: 800; }
.ne-field input, .ne-field select, .ne-field textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid rgba(255,255,255,.22); border-radius: 10px; background: #0d1014; color: #fff; font: inherit; }
.ne-field textarea { min-height: 140px; resize: vertical; }
.ne-field input:focus, .ne-field select:focus, .ne-field textarea:focus { outline: 3px solid rgba(242,184,48,.25); border-color: var(--ne-gold); }
.ne-optional { color: var(--ne-muted); font-size: .78rem; font-weight: 500; }
.ne-consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin: 6px 0 14px; }
.ne-consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--ne-gold); }
.ne-form-help { color: var(--ne-muted); font-size: .9rem; }
.ne-form-notice { margin-bottom: 18px; padding: 15px 17px; border-radius: 12px; }
.ne-form-success { border: 1px solid #4f9b68; background: rgba(52,133,79,.18); }
.ne-form-error { border: 1px solid #c75a4f; background: rgba(168,50,36,.18); }
.ne-honeypot { position: absolute !important; left: -9999px !important; }
.ne-table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--ne-line); border-radius: 14px; }
.ne-table-scroll table { width: 100%; min-width: 560px; margin: 0; border-collapse: collapse; }
.ne-table-scroll caption { padding: 14px; color: var(--ne-muted); text-align: left; }
.ne-table-scroll th, .ne-table-scroll td { padding: 13px; border-top: 1px solid var(--ne-line); text-align: left; vertical-align: top; }

.ne-post-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.ne-post-card { overflow: hidden; border: 1px solid var(--ne-line); border-radius: var(--ne-radius); background: var(--ne-card); }
.ne-post-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.ne-post-card-body { padding: 20px; }
.ne-post-card h3 a { color: #fff; text-decoration: none; }
.ne-post-card p { color: var(--ne-muted); }
.ne-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; color: var(--ne-gold-2); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.ne-pagination { margin-top: 32px; }
.ne-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; min-height: 42px; margin: 3px; border: 1px solid var(--ne-line); border-radius: 50%; text-decoration: none; }
.ne-pagination .current { background: var(--ne-gold); color: #171109; }

.ne-faq details { border-top: 1px solid var(--ne-line); }
.ne-faq details:last-child { border-bottom: 1px solid var(--ne-line); }
.ne-faq summary { padding: 18px 2px; cursor: pointer; color: #fff; font-weight: 800; }
.ne-faq details p { padding-bottom: 18px; color: var(--ne-muted); }
.ne-shop-link { margin: 34px 0 0; padding: 18px; border: 1px solid rgba(242,184,48,.42); border-radius: 14px; background: rgba(242,184,48,.07); }
.ne-shop-link p { margin: 5px 0 0; }

body.woocommerce .site-content,
body.woocommerce-page .site-content { width: min(100% - 32px, var(--ne-max)); margin-inline: auto; padding: 40px 0 72px; }
body.woocommerce .ast-container,
body.woocommerce-page .ast-container { max-width: none; padding: 0; }
body.woocommerce .content-area,
body.woocommerce-page .content-area { width: 100%; margin: 0; }
.woocommerce .woocommerce-breadcrumb { margin-bottom: 22px; color: var(--ne-muted); }
.woocommerce .woocommerce-breadcrumb a { color: var(--ne-gold-2); }
.woocommerce ul.products { display: grid; grid-template-columns: 1fr; gap: 18px; margin: 28px 0 0; }
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product { width: auto; margin: 0; padding: 16px; border: 1px solid var(--ne-line); border-radius: var(--ne-radius); background: var(--ne-card); box-shadow: var(--ne-shadow); }
.woocommerce ul.products li.product a img { margin-bottom: 16px; border-radius: 14px; aspect-ratio: 1; object-fit: cover; background: #fff; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: #fff; font-size: 1.05rem; line-height: 1.35; }
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--ne-gold-2); font-weight: 900; }
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit { min-height: 46px; padding: 12px 16px; border-radius: 999px; background: var(--ne-gold); color: #171109; font-weight: 900; }
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { background: var(--ne-gold-2); color: #000; }
.woocommerce div.product { display: flow-root; }
.woocommerce div.product div.images img { border-radius: 16px; background: #fff; }
.woocommerce div.product .product_title { font-size: clamp(2rem, 7vw, 3.6rem); }
.woocommerce div.product form.cart .variations { margin-bottom: 18px; }
.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td { display: block; width: 100%; padding: 4px 0; text-align: left; }
.woocommerce select,
.woocommerce input.input-text,
.woocommerce textarea { min-height: 46px; border: 1px solid rgba(255,255,255,.24); border-radius: 10px; background: #11151a; color: #fff; }
.woocommerce .quantity .qty { width: 74px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-color: var(--ne-line); background: var(--ne-card); }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: #fff; }
.woocommerce table.shop_table { border-color: var(--ne-line); border-radius: 14px; }
.woocommerce table.shop_table th,
.woocommerce table.shop_table td { border-color: var(--ne-line); }
.woocommerce-checkout #payment { background: var(--ne-card); color: var(--ne-text); }
.woocommerce-checkout #payment div.payment_box { background: #272d35; color: var(--ne-text); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #272d35; }
.woocommerce-info,
.woocommerce-message { border-top-color: var(--ne-gold); background: var(--ne-card); color: var(--ne-text); }
.woocommerce-info::before,
.woocommerce-message::before { color: var(--ne-gold); }
.ne-footer { border-top: 1px solid var(--ne-line); background: #090b0e; }
.ne-footer-grid { display: grid; gap: 32px; padding: 48px 0 26px; }
.ne-footer-logo img { max-width: 220px; max-height: 70px; object-fit: contain; object-position: left; }
.ne-footer ul { list-style: none; margin: 0; padding: 0; }
.ne-footer li { margin: 8px 0; }
.ne-footer a { color: #ded8ce; text-decoration: none; }
.ne-footer-bottom { padding: 20px 0 30px; border-top: 1px solid var(--ne-line); color: #8f8b84; font-size: .88rem; }

@media (min-width: 720px) {
  body.nagaempire-site.admin-bar .ne-header { top: 32px; }
  .ne-container { width: min(100% - 48px, var(--ne-max)); }
  .ne-section { padding: 84px 0; }
  .ne-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ne-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ne-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ne-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
  .ne-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 980px) {
  .ne-menu-toggle, .ne-mobile-panel { display: none !important; }
  .ne-nav-desktop { display: flex; align-items: center; gap: 18px; }
  .ne-nav-desktop ul { display: flex; align-items: center; gap: 4px; }
  .ne-nav-desktop a { display: block; padding: 12px 11px; color: #fff; font-size: .92rem; font-weight: 760; text-decoration: none; border-radius: 10px; }
  .ne-nav-desktop a:hover, .ne-nav-desktop a:focus { background: rgba(255,255,255,.07); }
  .ne-post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ne-hero-media img { object-position: center; }
  .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

