/*!
Theme Name: Allmart
Theme URI: http://teconce.com/
Author: Teconce
Author URI: https://teconce.com/about
Description: A Multipurpose WordPress Woocommerce Theme
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 7.4
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: allmart
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
Copyright © 2025 Allmart. All rights reserved. This theme is licensed under the GPL.
*/

/* Omnyx Tech — Light Green & Gold Brand System */
:root {
  --omnyx-primary: #008A45;
  --omnyx-deep-green: #013B2D;
  --omnyx-dark-green: #01251C;
  --omnyx-gold: #D4A72C;
  --omnyx-bright-gold: #F2C94C;
  --omnyx-light-gold: #F8EFCF;
  --omnyx-bg: #FFFFFF;
  --omnyx-bg-soft: #F7F9F6;
  --omnyx-green-tint: #EAF6EF;
  --omnyx-text: #18352C;
  --omnyx-muted: #60756C;
  --omnyx-border: #DDE8E2;

  --e-global-color-primary: #008A45 !important;
  --e-global-color-secondary: #013B2D !important;
  --e-global-color-text: #18352C !important;
  --e-global-color-accent: #D4A72C !important;
}

html,
body {
  background: var(--omnyx-bg) !important;
  color: var(--omnyx-text) !important;
}

body,
.elementor,
.elementor-widget-text-editor,
.elementor-widget-icon-list,
.elementor-widget-icon-box,
.elementor-widget-image-box,
.elementor-widget-woocommerce-breadcrumb,
.woocommerce,
.woocommerce-page {
  color: var(--omnyx-text);
}

/* Global typography and links */
a,
a:visited {
  color: var(--omnyx-primary);
}

a:hover,
a:focus {
  color: var(--omnyx-deep-green);
}

h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
  color: var(--omnyx-deep-green) !important;
}

/* Site-wide light backgrounds */
.site,
.site-content,
.elementor-location-single,
.elementor-location-archive,
.elementor-location-footer,
.elementor-location-header,
.elementor-section,
.e-con,
.e-con-inner {
  --e-global-color-primary: #008A45 !important;
  --e-global-color-secondary: #013B2D !important;
  --e-global-color-text: #18352C !important;
  --e-global-color-accent: #D4A72C !important;
}

/* Keep the overall theme bright and premium */
.elementor-section,
.e-con {
  border-color: var(--omnyx-border);
}

/* Header / navigation */
.allmart-site-header,
.allmart-header-builder,
.allmart-header-builder .header-content-holder,
.allmart-header-builder .e-con {
  background-color: var(--omnyx-bg) !important;
}

.allmart-header-builder .xpc-header-text,
.allmart-header-builder .nav-link,
.allmart-header-builder .nav-link:visited,
.allmart-header-builder .allmart-hicon-label,
.allmart-header-builder .allmart-hicon-value,
.allmart-header-builder .elementor-heading-title {
  color: var(--omnyx-deep-green) !important;
}

.allmart-header-builder .nav-link:hover,
.allmart-header-builder .nav-item.active > .nav-link,
.allmart-header-builder .current-menu-item > .nav-link,
.allmart-header-builder .current-menu-ancestor > .nav-link {
  color: var(--omnyx-primary) !important;
}

/* Primary actions / buttons */
button,
input[type="button"],
input[type="submit"],
.elementor-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .button {
  background-color: var(--omnyx-primary) !important;
  border-color: var(--omnyx-primary) !important;
  color: #FFFFFF !important;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.elementor-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .button:hover {
  background-color: var(--omnyx-deep-green) !important;
  border-color: var(--omnyx-deep-green) !important;
  color: #FFFFFF !important;
}

/* Gold premium accents */
.elementor-widget-icon i,
.elementor-widget-icon-list .elementor-icon-list-icon i,
.elementor-widget-icon-box .elementor-icon,
.elementor-widget-image-box .elementor-image-box-img,
.woocommerce .price,
.woocommerce .amount,
.woocommerce .star-rating,
.woocommerce .star-rating span:before {
  color: var(--omnyx-gold) !important;
}

/* Forms */
input,
textarea,
select,
.elementor-field,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  background-color: #FFFFFF !important;
  color: var(--omnyx-text) !important;
  border-color: var(--omnyx-border) !important;
}

input:focus,
textarea:focus,
select:focus,
.elementor-field:focus {
  border-color: var(--omnyx-primary) !important;
  box-shadow: 0 0 0 2px rgba(0, 138, 69, 0.12) !important;
}

/* Cards, product areas and subtle sections */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce div.product .summary,
.woocommerce-cart-form,
.cart_totals,
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.elementor-widget-container .allmart-product-item {
  border-color: var(--omnyx-border);
}

/* Sale / status labels */
.woocommerce span.onsale,
.onsale {
  background-color: var(--omnyx-gold) !important;
  color: var(--omnyx-dark-green) !important;
}

/* Soft brand surfaces */
.allmart-search-box,
.allmart-ajax-s-offcanvas,
.allmart-header_cart-off-canvas,
.xpc-login-popup,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background-color: var(--omnyx-bg-soft) !important;
  border-color: var(--omnyx-border) !important;
}

/* Footer: deep logo green */
.site-footer,
.allmart-footer,
.allmart-site-footer,
footer,
.elementor-location-footer {
  background-color: var(--omnyx-dark-green) !important;
  color: #FFFFFF !important;
}

.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6,
.allmart-footer h1,
.allmart-footer h2,
.allmart-footer h3,
.allmart-footer h4,
.allmart-footer h5,
.allmart-footer h6,
footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6,
.elementor-location-footer .elementor-heading-title {
  color: #FFFFFF !important;
}

.site-footer a,
.allmart-footer a,
footer a,
.elementor-location-footer a {
  color: #D4A72C !important;
}

.site-footer a:hover,
.allmart-footer a:hover,
footer a:hover,
.elementor-location-footer a:hover {
  color: #F2C94C !important;
}

/* Gold separators / active indicators */
.elementor-widget-divider .elementor-divider-separator,
.allmart-header-builder .active,
.allmart-header-builder .current-menu-item {
  border-color: var(--omnyx-gold) !important;
}

/* Accessibility: visible keyboard focus */
:focus-visible {
  outline: 2px solid var(--omnyx-gold) !important;
  outline-offset: 2px;
}
