/* WebARTing WP Plugins v2.7.7
   One persisted palette and shape across admin and public PHP entry points.
   Must load LAST, after older versioned visual stylesheets. */

/* Palettes are intentionally centralized. */
body.wa-theme-blue {
  --wa-theme-accent:#1769c5; --wa-theme-accent-hover:#1053a3;
  --wa-theme-accent-rgb:23,105,197;
  --wa-theme-dark:#0a2345; --wa-theme-dark-2:#124e87;
  --wa-theme-ink:#123961; --wa-theme-wash:#eaf4ff;
  --wa-theme-edge:#d6e7f7; --wa-theme-highlight:#31b8ed;
}
body.wa-theme-emerald {
  --wa-theme-accent:#108466; --wa-theme-accent-hover:#076951;
  --wa-theme-accent-rgb:16,132,102;
  --wa-theme-dark:#082c29; --wa-theme-dark-2:#0c6f56;
  --wa-theme-ink:#18594c; --wa-theme-wash:#ecfaf5;
  --wa-theme-edge:#cce9dc; --wa-theme-highlight:#3ac49a;
}
body.wa-theme-violet {
  --wa-theme-accent:#7445c7; --wa-theme-accent-hover:#5933a2;
  --wa-theme-accent-rgb:116,69,199;
  --wa-theme-dark:#201638; --wa-theme-dark-2:#56368c;
  --wa-theme-ink:#443174; --wa-theme-wash:#f4efff;
  --wa-theme-edge:#e3d7f6; --wa-theme-highlight:#b88bfd;
}
body.wa-theme-sunset {
  --wa-theme-accent:#bb591e; --wa-theme-accent-hover:#963e12;
  --wa-theme-accent-rgb:187,89,30;
  --wa-theme-dark:#392016; --wa-theme-dark-2:#a44d20;
  --wa-theme-ink:#753e26; --wa-theme-wash:#fff5e9;
  --wa-theme-edge:#f0dfce; --wa-theme-highlight:#fbb265;
}
body.wa-theme-graphite {
  --wa-theme-accent:#3d576c; --wa-theme-accent-hover:#2a4052;
  --wa-theme-accent-rgb:61,87,108;
  --wa-theme-dark:#121d2b; --wa-theme-dark-2:#41576c;
  --wa-theme-ink:#34475a; --wa-theme-wash:#eef2f6;
  --wa-theme-edge:#d7dfe7; --wa-theme-highlight:#9cadbc;
}

/* Existing component variables, now sourced from a single chosen palette. */
body.wa-store-v270[class*="wa-theme-"] {
  --theme-accent:var(--wa-theme-accent);
  --theme-accent-2:var(--wa-theme-accent-hover);
  --theme-bg-soft:var(--wa-theme-wash);
  --store-accent:var(--wa-theme-accent);
  --store-line:var(--wa-theme-edge);
  --wa271-navy:var(--wa-theme-dark);
  --wa271-blue:var(--wa-theme-accent);
  --wa271-cyan:var(--wa-theme-highlight);
}
body.wa-admin-v270[class*="wa-theme-"] {
  --wa-admin-accent:var(--wa-theme-accent);
  --wa-admin-accent-2:var(--wa-theme-accent-hover);
  --wa-admin-accent-soft:var(--wa-theme-wash);
  --wa-admin-line:var(--wa-theme-edge);
  --theme-accent:var(--wa-theme-accent);
  --theme-accent-2:var(--wa-theme-accent-hover);
}
html[data-wa-admin-theme="dark"] body.wa-admin-v270[class*="wa-theme-"] {
  --wa-admin-accent:var(--wa-theme-highlight);
  --wa-admin-accent-2:var(--wa-theme-highlight);
  --wa-admin-accent-soft:rgba(var(--wa-theme-accent-rgb),.2);
  --wa-admin-line:#304257;
}

/* PUBLIC FRONTEND: existing literal blue rules were overriding theme selection. */
body.wa-store-v270[class*="wa-theme-"] .topbar,
body.wa-store-v270[class*="wa-theme-"] .site-header {
  background:linear-gradient(106deg,var(--wa-theme-dark),var(--wa-theme-dark-2)) !important;
  border-color:rgba(255,255,255,.14) !important;
}
body.wa-store-v270[class*="wa-theme-"] .topnav [data-customer-login-trigger],
body.wa-store-v270[class*="wa-theme-"] .topnav a[href*="customer.php"] {
  background:rgba(255,255,255,.10) !important;
  border-color:rgba(255,255,255,.38) !important;
  color:#fff !important;
}
body.wa-store-v270[class*="wa-theme-"] .topnav [data-customer-login-trigger]:hover,
body.wa-store-v270[class*="wa-theme-"] .topnav a[href*="customer.php"]:hover {
  background:rgba(255,255,255,.22) !important;
}
body.wa-store-v270[class*="wa-theme-"] .button.primary:not(.is-download):not(.is-commercial),
body.wa-store-v271[class*="wa-theme-"] .store-v271-cta-main,
body.wa-store-v271[class*="wa-theme-"] .plugin-card .card-actions .primary:not(.is-download),
body.wa-store-v270[class*="wa-theme-"] .chip.is-active {
  background:var(--wa-theme-accent) !important;
  border-color:var(--wa-theme-accent) !important;
  color:#fff !important;
}
body.wa-store-v270[class*="wa-theme-"] .button.primary:not(.is-download):not(.is-commercial):hover,
body.wa-store-v271[class*="wa-theme-"] .store-v271-cta-main:hover {
  background:var(--wa-theme-accent-hover) !important;
  border-color:var(--wa-theme-accent-hover) !important;
}
body.wa-store-v271[class*="wa-theme-"] .store-v271-intro {
  border-color:var(--wa-theme-edge) !important;
  background:radial-gradient(circle at 98% 10%,rgba(var(--wa-theme-accent-rgb),.09),transparent 47%),linear-gradient(115deg,#fff 5%,#f9fbff 55%,var(--wa-theme-wash)) !important;
}
body.wa-store-v271[class*="wa-theme-"] .store-v271-intro h1,
body.wa-store-v271[class*="wa-theme-"] .store-v271-section-label div strong,
body.wa-store-v271[class*="wa-theme-"] .plugin-card .card-body h3 {
  color:var(--wa-theme-ink) !important;
}
body.wa-store-v271[class*="wa-theme-"] .store-v271-intro h1 em,
body.wa-store-v271[class*="wa-theme-"] .store-v271-kicker,
body.wa-store-v271[class*="wa-theme-"] .store-v271-section-label a,
body.wa-store-v271[class*="wa-theme-"] .plugin-card .price-main strong,
body.wa-store-v271[class*="wa-theme-"] .store-v271-intro-quick strong {
  color:var(--wa-theme-accent) !important;
}
body.wa-store-v271[class*="wa-theme-"] .store-v271-kicker-dot,
body.wa-store-v271[class*="wa-theme-"] .store-v271-section-symbol {
  background:var(--wa-theme-wash) !important;
  color:var(--wa-theme-accent) !important;
}
body.wa-store-v271[class*="wa-theme-"] .store-v271-visual-grid:before,
body.wa-store-v271[class*="wa-theme-"] .hero-showcase,
body.wa-store-v271[class*="wa-theme-"] .detail-hero {
  background:linear-gradient(115deg,var(--wa-theme-dark),var(--wa-theme-dark-2)) !important;
  border-color:rgba(var(--wa-theme-accent-rgb),.22) !important;
}
body.wa-store-v271[class*="wa-theme-"] .store-v271-visual-stamp {
  background:var(--wa-theme-dark) !important;
}
body.wa-store-v271[class*="wa-theme-"] .store-v271-visual-stamp span,
body.wa-store-v271[class*="wa-theme-"] .hero-showcase .hero-info-panel .eyebrow {
  color:var(--wa-theme-highlight) !important;
}
body.wa-store-v271[class*="wa-theme-"] .plugin-card .mini-offer,
body.wa-store-v271[class*="wa-theme-"] .plugin-card .card-actions .ghost,
body.wa-store-v271[class*="wa-theme-"] .store-v271-cta-outline {
  background:var(--wa-theme-wash) !important;
  border-color:var(--wa-theme-edge) !important;
  color:var(--wa-theme-ink) !important;
}
body.wa-store-v270[class*="wa-theme-"] .page-hero--simple {
  background:linear-gradient(115deg,#fff,var(--wa-theme-wash)) !important;
  border-color:var(--wa-theme-edge) !important;
}
body.wa-store-v270[class*="wa-theme-"] .page-hero--simple h1,
body.wa-store-v270[class*="wa-theme-"] .static-page-panel h1,
body.wa-store-v270[class*="wa-theme-"] .detail-copy h1 {
  color:var(--wa-theme-ink) !important;
}
body.wa-store-v271[class*="wa-theme-"] .wa-home-about,
body.wa-store-v271[class*="wa-theme-"] .wa-home-about-section {
  border-color:var(--wa-theme-edge) !important;
  background:linear-gradient(115deg,#fff,var(--wa-theme-wash)) !important;
}
body.wa-store-v270[class*="wa-theme-"] :is(a:not(.button):not(.brand):not(.topnav a)):focus-visible {
  outline-color:var(--wa-theme-accent);
}

/* ADMIN: color the unified shells, topbar, active navigation and buttons. */
body.wa-admin-v270[class*="wa-theme-"] .admin-sidebar {
  background:linear-gradient(162deg,var(--wa-theme-dark),color-mix(in srgb,var(--wa-theme-dark) 78%,#030e20)) !important;
}
body.wa-admin-v270[class*="wa-theme-"] .admin-header {
  background:linear-gradient(115deg,var(--wa-theme-accent),var(--wa-theme-accent-hover)) !important;
  border-bottom-color:var(--wa-theme-dark-2) !important;
}
body.wa-admin-v270[class*="wa-theme-"] .admin-header .wa-topbar-refresh {
  color:var(--wa-theme-accent-hover) !important;
}
body.wa-admin-v270[class*="wa-theme-"] .admin-menu-item.is-active,
body.wa-admin-v270[class*="wa-theme-"] .admin-sidebar .admin-menu-item.is-active {
  border-left-color:var(--wa-theme-highlight) !important;
}
body.wa-admin-v270[class*="wa-theme-"] .admin-menu-item.is-active i.fa-solid,
body.wa-admin-v270[class*="wa-theme-"] .admin-menu-item:hover i.fa-solid {
  color:var(--wa-theme-highlight) !important;
}
body.wa-admin-v270[class*="wa-theme-"] .admin-main .eyebrow,
body.wa-admin-v270[class*="wa-theme-"] .admin-main :is(.admin-panel-head,.settings-v210-head) h2,
body.wa-admin-v270[class*="wa-theme-"] .admin-main a:not(.button):not(.admin-menu-item):not(.wa-topbar-link) {
  color:var(--wa-theme-accent) !important;
}
html[data-wa-admin-theme="dark"] body.wa-admin-v270[class*="wa-theme-"] .admin-main .eyebrow,
html[data-wa-admin-theme="dark"] body.wa-admin-v270[class*="wa-theme-"] .admin-main :is(.admin-panel-head,.settings-v210-head) h2,
html[data-wa-admin-theme="dark"] body.wa-admin-v270[class*="wa-theme-"] .admin-main a:not(.button):not(.admin-menu-item):not(.wa-topbar-link) {
  color:var(--wa-theme-highlight) !important;
}
body.wa-admin-v270[class*="wa-theme-"] .admin-main .button.primary,
body.wa-admin-v270[class*="wa-theme-"] .admin-main button.button.primary {
  background:var(--wa-theme-accent) !important;
  border-color:var(--wa-theme-accent) !important;
  color:#fff !important;
}
body.wa-admin-v270[class*="wa-theme-"] .admin-main :is(input,textarea,select):focus-visible {
  border-color:var(--wa-theme-accent) !important;
  outline-color:var(--wa-theme-accent) !important;
  box-shadow:0 0 0 3px rgba(var(--wa-theme-accent-rgb),.16) !important;
}
body.wa-admin-v270[class*="wa-theme-"] .admin-main .admin-stat:first-child {
  border-left-color:var(--wa-theme-accent) !important;
}

/* CLASSIC TABS: not buttons, no colored fill, no decorative card behind the row. */
body.wa-admin-v270 .wa-section-tabs,
html[data-wa-admin-theme="dark"] body.wa-admin-v270 .wa-section-tabs {
  display:flex;
  flex-wrap:nowrap;
  overflow-x:auto;
  overflow-y:hidden;
  gap:5px;
  align-items:flex-end;
  padding:0 2px;
  margin:0 0 20px;
  background:transparent !important;
  border:0 !important;
  border-bottom:1px solid var(--wa-admin-line) !important;
  border-radius:0 !important;
  box-shadow:none !important;
  scrollbar-width:thin;
}
body.wa-admin-v270 .wa-section-tab,
body.wa-admin-v270 .wa-section-tab:hover,
body.wa-admin-v270 .wa-section-tab.is-active,
html[data-wa-admin-theme="dark"] body.wa-admin-v270 .wa-section-tab,
html[data-wa-admin-theme="dark"] body.wa-admin-v270 .wa-section-tab:hover,
html[data-wa-admin-theme="dark"] body.wa-admin-v270 .wa-section-tab.is-active {
  flex:0 0 auto;
  min-height:44px;
  padding:10px 13px 11px;
  border:0 !important;
  border-bottom:3px solid transparent !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  transform:none !important;
  font-size:.89rem;
  line-height:1.2;
  text-decoration:none;
}
body.wa-admin-v270 .wa-section-tab { color:var(--wa-admin-muted) !important; }
body.wa-admin-v270 .wa-section-tab:hover { color:var(--wa-theme-accent) !important; }
body.wa-admin-v270 .wa-section-tab.is-active,
html[data-wa-admin-theme="dark"] body.wa-admin-v270 .wa-section-tab.is-active {
  color:var(--wa-theme-accent) !important;
  border-bottom-color:var(--wa-theme-accent) !important;
  font-weight:800;
}
body.wa-admin-v270 .wa-section-tab i { color:inherit !important; }
html[data-wa-admin-theme="dark"] body.wa-admin-v270 .wa-section-tab { color:#bfccdd !important; }
html[data-wa-admin-theme="dark"] body.wa-admin-v270 .wa-section-tab:is(:hover,.is-active) {
  color:var(--wa-theme-highlight) !important;
  border-bottom-color:var(--wa-theme-highlight) !important;
}
body.wa-admin-v270 .wa-section-tab:focus-visible { outline:2px solid var(--wa-theme-accent) !important; outline-offset:-4px; }

/* SHAPE CONTROL: apply to actual frames in every public/admin screen.
   Leave round icons/avatars/badges round by design. */
body.wa-store-v270.wa-shape-compact {
  --radius:3px;
  --radius-sm:3px;
}
body.wa-store-v270.wa-shape-compact :is(
  .topbar,.site-header,.store-v271-intro,.store-v271-visual-product,
  .hero-showcase,.hero-slider-stage,.hero-slide img,.hero-thumb,.hero-thumb img,.hero-info-panel,
  .detail-hero,.detail-media img,.plugin-card,.card-image,.card-image img,
  .store-v271-highlights>div,.wa-home-about,.wa-home-about-section,.wa-home-about-figure img,
  .panel,.static-page-panel,.page-hero--simple,.product-price-card,.price-offer,
  .quick-stats>div,.modal-card,.admin-table-wrap,.customer-portal,
  .search-box input,.toolbar select,.button,.chip,button,input:not([type=checkbox]):not([type=radio]),textarea,select,
  .site-footer,.version-panel,.mini-offer,.card-actions a,.empty-state,
  .cart-drawer,.cart-drawer-panel,.cart-floating-button
) {
  border-radius:3px !important;
}
body.wa-store-v270.wa-shape-compact .site-footer { border-top-left-radius:3px !important; border-top-right-radius:3px !important; }
body.wa-admin-v270.wa-shape-compact {
  --wa-admin-radius:3px;
}
body.wa-admin-v270.wa-shape-compact :is(
  .admin-panel,.admin-stat,.dashboard-card,.stat-card,.settings-v210-card,
  .nested-panel,.admin-table-wrap,.modal-card,.form-card,.settings-card,
  .settings-subpanel,.theme-choice,.style-choice,.form-section,
  .admin-pagination-row,.admin-main input:not([type=checkbox]):not([type=radio]),
  .admin-main textarea,.admin-main select,.admin-main .button,.admin-main button.button,
  .admin-main .notice,.updater-status-grid>div,.wa-logo-preview-surface,
  .wa-page-settings-panel
) {
  border-radius:3px !important;
}
/* The navigation tabs deliberately keep their straight underline in either shape. */
body.wa-admin-v270.wa-shape-compact .wa-section-tab { border-radius:0 !important; }

@media(max-width:650px){
  body.wa-admin-v270 .wa-section-tabs{gap:0;}
  body.wa-admin-v270 .wa-section-tab{padding:10px 11px;}
}

/* Legacy light/dark sidebar overrides had higher specificity than the first palette rule. */
html[data-wa-admin-theme] body.wa-admin-v270[class*="wa-theme-"] .admin-sidebar {
  background:linear-gradient(162deg,var(--wa-theme-dark),color-mix(in srgb,var(--wa-theme-dark) 75%,#030b19)) !important;
}
html[data-wa-admin-theme] body.wa-admin-v270[class*="wa-theme-"] .admin-sidebar .admin-menu-item.is-active {
  background:rgba(var(--wa-theme-accent-rgb),.26) !important;
  border-left:3px solid var(--wa-theme-highlight) !important;
}
html[data-wa-admin-theme] body.wa-admin-v270[class*="wa-theme-"] .admin-sidebar a.admin-menu-item.is-active,
html[data-wa-admin-theme] body.wa-admin-v270[class*="wa-theme-"] .admin-sidebar a.admin-menu-item.is-active span {
  color:#fff !important;
}
html[data-wa-admin-theme] body.wa-admin-v270[class*="wa-theme-"] .admin-sidebar a.admin-menu-item:hover i,
html[data-wa-admin-theme] body.wa-admin-v270[class*="wa-theme-"] .admin-sidebar a.admin-menu-item.is-active i {
  color:var(--wa-theme-highlight) !important;
}

/* Additional storefront elements outside hero are part of the same palette. */
body.wa-store-v271[class*="wa-theme-"] :is(.store-v271-section-label h2,.wa-home-about-copy h2,.wa-section-heading h2) {
  color:var(--wa-theme-ink) !important;
}
body.wa-store-v271[class*="wa-theme-"] .store-v271-section-label a,
body.wa-store-v271[class*="wa-theme-"] .wa-section-heading a,
body.wa-store-v270[class*="wa-theme-"] .wa-cart-line-title,
body.wa-store-v270[class*="wa-theme-"] .wa-cart-continue {
  color:var(--wa-theme-accent) !important;
}
body.wa-store-v270[class*="wa-theme-"] .wa-cart-fab,
body.wa-store-v270[class*="wa-theme-"] .wa-cart-checkout {
  background:var(--wa-theme-accent) !important;
  color:#fff !important;
}
body.wa-store-v270[class*="wa-theme-"] .wa-cart-checkout:hover {
  background:var(--wa-theme-accent-hover) !important;
}
body.wa-store-v270.wa-shape-compact :is(.wa-cart-checkout,.wa-cart-line-image,.wa-cart-checkout-list,.wa-cart-drawer-head button) {
  border-radius:3px !important;
}
