/* FORSA global dark cinematic theme — site-wide */

body.forsa-theme {
  --forsa-bg: #0a0e14;
  --forsa-bg-soft: #0f1419;
  --forsa-bg-elevated: #141c28;
  --forsa-bg-card: linear-gradient(155deg, rgba(28, 36, 50, 0.92) 0%, rgba(10, 14, 20, 0.96) 100%);
  --forsa-surface: rgba(255, 255, 255, 0.04);
  --forsa-border: rgba(255, 255, 255, 0.08);
  --forsa-text: rgba(255, 255, 255, 0.88);
  --forsa-text-muted: rgba(255, 255, 255, 0.55);
  --forsa-heading: #ffffff;
  --forsa-gold: #efbb20;
  background: var(--forsa-bg) !important;
  color: var(--forsa-text);
}

body.forsa-theme #wrap_all,
body.forsa-theme #main {
  background: var(--forsa-bg) !important;
}

body.forsa-theme #main {
  background: linear-gradient(180deg, #0a0e14 0%, #0d1219 40%, #0a0e14 100%) !important;
}

/* ── Enfold sections — kill white/gray bands ── */
body.forsa-theme .container_wrap,
body.forsa-theme .avia-section,
body.forsa-theme .avia-section .container,
body.forsa-theme .template-page.content,
body.forsa-theme .entry-content-wrapper,
body.forsa-theme .content {
  background-color: transparent !important;
  background-image: none !important;
}

body.forsa-theme .avia-section {
  background: transparent !important;
}

body.forsa-theme .alternate_color.container_wrap,
body.forsa-theme .avia-section.alternate_color {
  background: rgba(18, 26, 40, 0.35) !important;
}

body.forsa-theme .main_color.container_wrap {
  background: transparent !important;
}

/* Per-page Enfold dynamic overrides */
body.forsa-theme [class*="avia-section"].avia-section {
  background-color: transparent !important;
  background-image: none !important;
}

/* Subtle ambient glow on main content */
body.forsa-theme #main::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 40% 30% at 0% 0%, rgba(239, 187, 32, 0.04) 0%, transparent 55%),
    radial-gradient(ellipse 35% 25% at 100% 100%, rgba(108, 92, 231, 0.04) 0%, transparent 50%);
}

body.forsa-theme #main > * {
  position: relative;
  z-index: 1;
}

/* ── Typography ── */
body.forsa-theme h1,
body.forsa-theme h2,
body.forsa-theme h3,
body.forsa-theme h4,
body.forsa-theme h5,
body.forsa-theme h6,
body.forsa-theme .av-special-heading-tag,
body.forsa-theme .special-heading-inner {
  color: var(--forsa-heading) !important;
}

body.forsa-theme p,
body.forsa-theme .avia_textblock,
body.forsa-theme .entry-content,
body.forsa-theme .template-page .entry-content-wrapper {
  color: var(--forsa-text);
}

body.forsa-theme a:not(.forsa-btn):not(.button):not(.woocommerce-LoopProduct-link) {
  color: var(--forsa-gold);
}

body.forsa-theme a:not(.forsa-btn):not(.button):hover {
  color: #fff;
}

body.forsa-theme .av-subheading,
body.forsa-theme .meta-color,
body.forsa-theme .sidebar .widgettitle {
  color: var(--forsa-text-muted) !important;
}

/* ── Page title / breadcrumb ── */
body.forsa-theme .title_container,
body.forsa-theme .avia-title-bar {
  background: linear-gradient(135deg, #0a0e14 0%, #141c28 100%) !important;
  border-bottom: 1px solid var(--forsa-border);
}

body.forsa-theme .title_container .main-title,
body.forsa-theme .title_container .breadcrumb,
body.forsa-theme .title_container a {
  color: var(--forsa-text) !important;
}

body.forsa-theme .title_container .breadcrumb a {
  color: var(--forsa-gold) !important;
}

/* ── Icon boxes (trust section, etc.) — Enfold: .iconbox.iconbox_top ── */
body.forsa-theme .iconbox.iconbox_top .iconbox_content,
body.forsa-theme .iconbox_top .iconbox_content {
  background: #141c28 !important;
  background-image: linear-gradient(155deg, rgba(28, 36, 50, 0.95) 0%, rgba(10, 14, 20, 0.98) 100%) !important;
  border: 1px solid var(--forsa-border) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28) !important;
  color: var(--forsa-text) !important;
}

body.forsa-theme .avia-iconbox.avia-iconbox-top,
body.forsa-theme .iconbox.iconbox_top {
  background: transparent !important;
  color: var(--forsa-text) !important;
}

body.forsa-theme .iconbox .iconbox_content_title,
body.forsa-theme .avia-iconbox .iconbox_content_title {
  color: var(--forsa-heading) !important;
}

body.forsa-theme .iconbox .iconbox_content_container,
body.forsa-theme .iconbox .iconbox_content_container p,
body.forsa-theme .avia-iconbox .iconbox_content {
  color: var(--forsa-text-muted) !important;
}

body.forsa-theme .iconbox_top .iconbox_icon {
  background: var(--forsa-gold) !important;
  color: #0a0e14 !important;
  border-color: var(--forsa-gold) !important;
}

/* Beat Enfold per-element inline color rules on homepage trust cards */
body.forsa-theme #top .iconbox .iconbox_content_title,
body.forsa-theme #top .iconbox_top .iconbox_content_title {
  color: #ffffff !important;
}

body.forsa-theme #top .iconbox .iconbox_content_container,
body.forsa-theme #top .iconbox .iconbox_content_container p,
body.forsa-theme #top .iconbox_top .iconbox_content {
  color: rgba(255, 255, 255, 0.62) !important;
}

/* ── Sidebar & widgets ── */
body.forsa-theme #sidebar .widget,
body.forsa-theme .sidebar .widget {
  background: var(--forsa-bg-card) !important;
  border: 1px solid var(--forsa-border) !important;
  border-radius: 14px !important;
  color: var(--forsa-text);
}

body.forsa-theme #sidebar .widget a {
  color: var(--forsa-gold);
}

/* ── Tables ── */
body.forsa-theme table,
body.forsa-theme .shop_table {
  background: var(--forsa-bg-elevated) !important;
  color: var(--forsa-text);
}

body.forsa-theme table th,
body.forsa-theme table td {
  border-color: var(--forsa-border) !important;
  color: var(--forsa-text);
}

body.forsa-theme .forsa-order-details-table th,
body.forsa-theme .forsa-order-details-table td {
  background: transparent !important;
  background-color: transparent !important;
  color: rgba(255, 255, 255, 0.88) !important;
}

body.forsa-theme table th {
  background: rgba(255, 255, 255, 0.04) !important;
}

/* ── Forms (global + FORSA) ── */
body.forsa-theme input[type="text"],
body.forsa-theme input[type="email"],
body.forsa-theme input[type="tel"],
body.forsa-theme input[type="password"],
body.forsa-theme input[type="number"],
body.forsa-theme input[type="search"],
body.forsa-theme input[type="url"],
body.forsa-theme select,
body.forsa-theme textarea,
body.forsa-theme .forsa-form input,
body.forsa-theme .forsa-form select,
body.forsa-theme .forsa-form textarea {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid var(--forsa-border) !important;
  color: #fff !important;
  border-radius: 8px;
}

body.forsa-theme input::placeholder,
body.forsa-theme textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

body.forsa-theme input:focus,
body.forsa-theme select:focus,
body.forsa-theme textarea:focus,
body.forsa-theme .forsa-form input:focus,
body.forsa-theme .forsa-form select:focus,
body.forsa-theme .forsa-form textarea:focus {
  border-color: var(--forsa-gold) !important;
  box-shadow: 0 0 0 3px rgba(239, 187, 32, 0.15) !important;
  outline: none;
}

body.forsa-theme .forsa-form label {
  color: var(--forsa-text) !important;
}

/* ── Buttons (Enfold / WooCommerce) ── */
body.forsa-theme .button,
body.forsa-theme button.button,
body.forsa-theme input.button,
body.forsa-theme .avia-button {
  background: var(--forsa-gold) !important;
  color: #0a0e14 !important;
  border: none !important;
  border-radius: 8px !important;
}

body.forsa-theme .button.alt,
body.forsa-theme .button.checkout {
  background: var(--forsa-gold) !important;
}

/* ── Legal pages ── */
body.forsa-theme .forsa-legal {
  color: var(--forsa-text) !important;
}

body.forsa-theme .forsa-legal h1,
body.forsa-theme .forsa-legal h2,
body.forsa-theme .forsa-legal h3 {
  color: var(--forsa-heading) !important;
}

body.forsa-theme .forsa-legal__updated,
body.forsa-theme .forsa-legal__card p {
  color: var(--forsa-text-muted) !important;
}

body.forsa-theme .forsa-legal__entity,
body.forsa-theme .forsa-legal__toc,
body.forsa-theme .forsa-legal__card {
  background: var(--forsa-bg-card) !important;
  border: 1px solid var(--forsa-border) !important;
  color: var(--forsa-text);
}

body.forsa-theme .forsa-legal__table th {
  background: rgba(255, 255, 255, 0.05) !important;
}

body.forsa-theme .forsa-legal__table th,
body.forsa-theme .forsa-legal__table td {
  border-color: var(--forsa-border) !important;
  color: var(--forsa-text);
}

body.forsa-theme .forsa-legal__note {
  background: rgba(239, 187, 32, 0.08) !important;
  border-color: rgba(239, 187, 32, 0.25) !important;
  color: var(--forsa-text);
}

body.forsa-theme .forsa-legal__card h3 a {
  color: var(--forsa-heading) !important;
}

/* ── Partners / contact ── */
body.forsa-theme .forsa-partner-card,
body.forsa-theme .forsa-partners-showcase__heading {
  color: var(--forsa-text);
}

body.forsa-theme .forsa-partner-card {
  background: var(--forsa-bg-card) !important;
  border: 1px solid var(--forsa-border) !important;
}

body.forsa-theme .forsa-partner-card__name {
  color: var(--forsa-heading) !important;
}

body.forsa-theme .forsa-partner-card__desc {
  color: var(--forsa-text-muted) !important;
}

body.forsa-theme .forsa-partners-showcase__heading {
  color: var(--forsa-heading) !important;
}

/* ── Rental boxes ── */
body.forsa-theme .forsa-rental-box {
  background: var(--forsa-bg-card) !important;
  border-color: var(--forsa-border) !important;
  color: var(--forsa-text);
}

/* ── Auth / vendor notes ── */
body.forsa-theme .forsa-auth-vendor-note {
  background: rgba(239, 187, 32, 0.08) !important;
  border-left-color: var(--forsa-gold) !important;
  color: var(--forsa-text) !important;
}

/* ── Stats bar (non-home pages) ── */
body.forsa-theme .forsa-stats {
  background: rgba(20, 28, 40, 0.85) !important;
  backdrop-filter: blur(20px);
  border: 1px solid var(--forsa-border) !important;
}

body.forsa-theme .forsa-stat strong {
  color: var(--forsa-gold) !important;
}

body.forsa-theme .forsa-stat span {
  color: var(--forsa-text-muted) !important;
}

/* ── WooCommerce — general shop (non-home) ── */
body.forsa-theme.woocommerce ul.products li.product .inner_product,
body.forsa-theme.woocommerce-page ul.products li.product .inner_product {
  background: var(--forsa-bg-card) !important;
  border: 1px solid var(--forsa-border) !important;
  border-radius: 18px !important;
}

body.forsa-theme.woocommerce .woocommerce-loop-product__title,
body.forsa-theme.woocommerce-page .woocommerce-loop-product__title,
body.forsa-theme.woocommerce ul.products .product h2 {
  color: #fff !important;
}

body.forsa-theme.woocommerce .price,
body.forsa-theme.woocommerce-page .price,
body.forsa-theme.woocommerce ins {
  color: var(--forsa-gold) !important;
}

body.forsa-theme.woocommerce .thumbnail_container {
  background: linear-gradient(145deg, #1a2332, #0f1419) !important;
}

body.forsa-theme.woocommerce .woocommerce-result-count,
body.forsa-theme.woocommerce .woocommerce-ordering select {
  color: var(--forsa-text);
}

body.forsa-theme.woocommerce .woocommerce-info,
body.forsa-theme.woocommerce .woocommerce-message {
  background: rgba(239, 187, 32, 0.1) !important;
  border-top-color: var(--forsa-gold) !important;
  color: var(--forsa-text) !important;
}

body.forsa-theme.woocommerce .woocommerce-error {
  background: rgba(231, 76, 60, 0.12) !important;
  color: #ffb4a9 !important;
}

/* Single product */
body.forsa-theme.single-product .product {
  color: var(--forsa-text);
}

body.forsa-theme.single-product .product_title {
  color: var(--forsa-heading) !important;
}

body.forsa-theme.single-product .woocommerce-tabs {
  background: var(--forsa-bg-card) !important;
  border: 1px solid var(--forsa-border);
  border-radius: 14px;
  padding: 1rem;
}

body.forsa-theme.single-product .woocommerce-tabs ul.tabs li a {
  color: var(--forsa-text-muted) !important;
}

body.forsa-theme.single-product .woocommerce-tabs ul.tabs li.active a {
  color: var(--forsa-gold) !important;
}

/* Cart / checkout */
body.forsa-theme.woocommerce-cart .cart-collaterals,
body.forsa-theme.woocommerce-checkout #order_review {
  background: var(--forsa-bg-card) !important;
  border: 1px solid var(--forsa-border);
  border-radius: 14px;
  padding: 1.25rem;
}

/* ── Pagination ── */
body.forsa-theme .pagination a,
body.forsa-theme .pagination span,
body.forsa-theme .woocommerce-pagination a,
body.forsa-theme .woocommerce-pagination span {
  background: var(--forsa-surface) !important;
  border: 1px solid var(--forsa-border) !important;
  color: var(--forsa-text) !important;
}

body.forsa-theme .pagination .current,
body.forsa-theme .woocommerce-pagination .current {
  background: var(--forsa-gold) !important;
  color: #0a0e14 !important;
}

/* ── Section headings ── */
body.forsa-theme .forsa-section-head h2 {
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.65) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.forsa-theme .forsa-section-head p {
  color: var(--forsa-text-muted) !important;
}

/* ── Category shop pages ── */
body.forsa-theme .forsa-cat-shop__sub {
  color: var(--forsa-text-muted) !important;
}

body.forsa-theme .forsa-cat-shop__title {
  color: var(--forsa-heading) !important;
}

/* ── Form notices ── */
body.forsa-theme .forsa-form-notice--ok {
  background: rgba(16, 185, 129, 0.12) !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
  color: #6ee7b7 !important;
}

body.forsa-theme .forsa-form-notice--err {
  background: rgba(239, 68, 68, 0.12) !important;
  border-color: rgba(239, 68, 68, 0.35) !important;
  color: #fca5a5 !important;
}

/* ── Avia content boxes ── */
body.forsa-theme .avia-content-slider-inner,
body.forsa-theme .avia-content-slider .slide-entry {
  background: transparent !important;
}

body.forsa-theme .slide-entry-excerpt {
  color: var(--forsa-text-muted) !important;
}

/* ── HR / dividers ── */
body.forsa-theme #top .main_color,
body.forsa-theme #top .alternate_color,
body.forsa-theme .all_colors {
  background-color: transparent !important;
}

body.forsa-theme #top .container_wrap.main_color,
body.forsa-theme #top .container_wrap.alternate_color {
  background: transparent !important;
}

body.forsa-theme .template-shop .products .inner_product,
body.forsa-theme.woocommerce-page .products .inner_product {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body.forsa-theme hr,
body.forsa-theme .hr-invisible,
body.forsa-theme .hr {
  border-color: var(--forsa-border) !important;
}

body.forsa-theme [class*="avia-section"].avia-section {
  background-color: transparent !important;
  background-image: none !important;
}
