:root {
  --wp-primary-dark: #0B1220;
  --wp-primary-green: #14532D;
  --wp-energy-orange: #F97316;
  --wp-energy-orange-dark: #EA580C;
  --wp-warm-sand: #FDFBF7;
  --wp-card-bg: rgba(255, 255, 255, 0.86);
  --wp-text-main: #0F172A;
  --wp-text-muted: #475569;
  --wp-border-soft: rgba(15, 23, 42, 0.10);
  --wp-shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --wp-radius-lg: 24px;
  --wp-radius-md: 16px;
}

html, body {
  background: var(--wp-warm-sand);
  color: var(--wp-text-main);
}

body {
  font-family: Inter, "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .section-title,
.wp-home h1, .wp-page h1, .wp-landing h1,
.wp-home h2, .wp-page h2, .wp-landing h2 {
  font-family: "Plus Jakarta Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--wp-text-main);
  letter-spacing: -0.035em;
}

h1, .wp-home h1, .wp-page h1, .wp-landing h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.08;
  font-weight: 700;
}

h2, .wp-home h2, .wp-page h2, .wp-landing h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 700;
}

h3, .wp-product-card h3, .woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: clamp(20px, 2.5vw, 24px);
  line-height: 1.25;
  font-weight: 700;
}

p, li { color: var(--wp-text-main); }
.small, .muted, .eyebrow, .product-meta { color: var(--wp-text-muted); }

a { color: #0F3F8C; }
a:hover { color: var(--wp-energy-orange); }

/* Keep Astra header/footer visible and style it to match brand */
.site-header, .ast-builder-footer, .site-below-footer-wrap {
  font-family: Inter, "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.ast-primary-header-bar,
.ast-above-header-wrap,
.ast-below-header-wrap {
  background: linear-gradient(90deg, #0B1220, #16263f) !important;
}

.main-header-menu .menu-link,
.main-header-menu > .menu-item > .menu-link,
.ast-builder-menu .menu-link,
.ast-site-header-cart .ast-addon-cart-wrap,
.ast-builder-layout-element .site-title a {
  color: #f8fafc !important;
  font-weight: 600;
}

.main-header-menu .sub-menu,
.ast-desktop .main-header-menu .sub-menu {
  background: rgba(255,255,255,.96) !important;
  border: 1px solid var(--wp-border-soft);
  border-radius: 14px;
  box-shadow: var(--wp-shadow-soft);
  backdrop-filter: blur(10px);
}

.main-header-menu .sub-menu .menu-link { color: var(--wp-text-main) !important; }

.main-header-menu .sub-menu .menu-item:hover > .menu-link,
.main-header-menu .sub-menu .menu-link:hover {
  background: #fff7ed !important;
  color: var(--wp-energy-orange) !important;
}

/* Layout sections */
.wp-page, .wp-home, .wp-landing, .wp-product-detail {
  max-width: 1220px;
  margin: auto;
  padding: 28px clamp(16px, 4vw, 28px);
}

.wp-home section, .wp-page section, .wp-landing section, .wp-product-detail section { margin: 44px 0; }

/* Hero */
.wp-hero-new, .wp-app-hero-pro, .wp-product-hero-grid {
  position: relative;
  overflow: hidden;
  border-radius: var(--wp-radius-lg);
  box-shadow: var(--wp-shadow-soft);
}

.wp-hero-new, .wp-app-hero-pro {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(320px,520px);
  gap: 28px;
  align-items: center;
  padding: clamp(24px, 5vw, 56px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(11,18,32,.88), rgba(11,18,32,.52), rgba(11,18,32,.18)),
    linear-gradient(135deg, #0B1220, #1e293b 58%, #334155);
}

.wp-hero-new h1, .wp-app-hero-pro h1 { color: #fff; }
.wp-hero-new p, .wp-app-hero-pro p { color: rgba(255,255,255,.82); font-size: 17px; }

.wp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.wp-tags span, .wp-trust-grid span, .wp-app-trust-strip span {
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.30);
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(5px);
  color: #fff;
  font-size: 13px;
  padding: 8px 11px;
  font-weight: 600;
}

/* Buttons */
.wp-button,
.button.wp-button,
.wp-product-detail a.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit,
.woocommerce input.button,
.woocommerce button[name="add-to-cart"],
.single_add_to_cart_button,
.checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}

.wp-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit,
.woocommerce input.button,
.woocommerce button[name="add-to-cart"],
.single_add_to_cart_button,
.checkout-button {
  background: var(--wp-energy-orange) !important;
  border-color: var(--wp-energy-orange) !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.28);
}

.wp-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.single_add_to_cart_button:hover,
.checkout-button:hover {
  background: var(--wp-energy-orange-dark) !important;
  border-color: var(--wp-energy-orange-dark) !important;
  transform: translateY(-1px);
}

.wp-button.secondary {
  background: var(--wp-primary-green) !important;
  border-color: var(--wp-primary-green) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(20, 83, 45, .24);
}

.wp-button.ghost,
.wp-button.alt {
  background: rgba(255,255,255,.72) !important;
  color: var(--wp-text-main) !important;
  border-color: rgba(15,23,42,.14) !important;
  box-shadow: none;
}
.wp-button.ghost:hover,
.wp-button.alt:hover { background: #f8f4ed !important; }

.wp-actions, .wp-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* Cards */
.wp-product-grid,.wp-app-grid,.wp-media-grid,.wp-trust-grid,.wp-spec-grid,.wp-related-grid {
  display: grid;
  gap: 20px;
}
.wp-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.wp-app-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }

.wp-product-card,
.wp-app-card,
.wp-app-card-pro,
.wp-media-grid figure,
.wp-help-panel,
.wp-faq-block,
.wp-note-card,
.wp-surface-panel,
.woocommerce ul.products li.product,
.woocommerce div.product,
.woocommerce-tabs,
.woocommerce-cart-form,
.woocommerce-checkout,
.woocommerce table.shop_table {
  border: 1px solid var(--wp-border-soft);
  border-radius: var(--wp-radius-lg);
  background: var(--wp-card-bg);
  backdrop-filter: blur(8px);
  padding: 20px;
  box-shadow: var(--wp-shadow-soft);
}

.wp-product-card,
.wp-app-card,
.woocommerce ul.products li.product {
  transition: transform .2s ease, box-shadow .2s ease;
}

.wp-product-card:hover,
.wp-app-card:hover,
.woocommerce ul.products li.product:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, .14);
}

.wp-product-card img,
.wp-app-card img,
.wp-app-card-pro img,
.wp-media-grid img,
.woocommerce ul.products li.product img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--wp-radius-md);
  background: #f8fafc;
}

.wp-product-card a, .wp-app-card a { text-decoration: none; color: inherit; }

.wp-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--wp-border-soft);
  border-radius: var(--wp-radius-md);
  background: rgba(255,255,255,.92);
}
.wp-table-wrap table { width: 100%; border-collapse: collapse; min-width: 820px; }
.wp-table-wrap th,.wp-table-wrap td { padding: 12px; border-bottom: 1px solid var(--wp-border-soft); text-align: left; }
.wp-table-wrap th { background: #fff7ed; }

.wp-faq-block details { border-top: 1px solid var(--wp-border-soft); padding: 14px 0; }
.wp-faq-block summary { cursor: pointer; font-weight: 700; }

.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price,
.woocommerce-Price-amount {
  color: var(--wp-energy-orange) !important;
  font-weight: 800;
}

.woocommerce span.onsale {
  background: var(--wp-energy-orange) !important;
  color: #fff !important;
  border-radius: 999px;
}

/* Footer */
.wp-global-footer {
  margin-top: 56px;
  background: linear-gradient(135deg, #0B1220, #1f2f4d 60%, #2a4a3e);
  color: #fff;
  padding: 46px clamp(16px,4vw,44px);
}
.wp-global-footer a { color: #dbeafe; text-decoration: none; }
.wp-global-footer p { color: #e2e8f0; }

.wp-footer-grid { display: grid; grid-template-columns: 1.35fr repeat(4,1fr); gap: 28px; max-width: 1280px; margin: auto; }
.wp-payment-row,.wp-footer-bottom { max-width: 1280px; margin: 24px auto 0; border-top: 1px solid rgba(255,255,255,.18); padding-top: 18px; }
.wp-footer-bottom { display:flex; flex-wrap:wrap; gap:14px; justify-content:space-between; }
.wp-footer-legal { display:flex; flex-wrap:wrap; gap:12px; }

.wp-floating-support {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  background: var(--wp-primary-green);
  color: #fff !important;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--wp-shadow-soft);
}

/* Mobile */
@media (max-width: 980px) {
  .wp-hero-new,.wp-app-hero-pro,.wp-product-hero-grid { grid-template-columns: 1fr; }
  .wp-app-grid,.wp-media-grid,.wp-trust-grid,.wp-spec-grid,.wp-related-grid,.wp-footer-grid { grid-template-columns: 1fr 1fr; }
  .wp-product-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  h1, .wp-home h1, .wp-page h1, .wp-landing h1 { font-size: clamp(36px, 8vw, 44px); }
  h2, .wp-home h2, .wp-page h2, .wp-landing h2 { font-size: clamp(28px, 6vw, 34px); }
  .wp-app-grid,.wp-media-grid,.wp-trust-grid,.wp-spec-grid,.wp-related-grid,.wp-footer-grid { grid-template-columns: 1fr; }
  .wp-actions .wp-button, .wp-actions a.button, .wp-cta-row .wp-button { width: 100%; }
  .wp-floating-support { display: none; }
  .wp-footer-bottom { flex-direction: column; align-items: flex-start; }
}
