/*
Theme Name: Hello Elementor Child - Akshar Computers
Theme URI: https://aksharcomputers.com
Description: Production child theme for Hello Elementor tailored for Akshar Computers with modern Green and White e-commerce design, compact 6-column product grid, and WooCommerce optimization.
Author: Akshar Computers
Author URI: https://aksharcomputers.com
Template: hello-elementor
Version: 2.1.0
Text Domain: hello-elementor-child
*/

/* Inherit child styles and integrate Akshar Computers Green & White design tokens */
:root {
  --primary-green: #059669;
  --secondary-green: #047857;
  --dark-green: #065F46;
  --sf-green: #059669;
  --sf-green-hover: #047857;
  --sf-green-light: #F0FDF4;
  --sf-green-tint: rgba(5, 150, 105, 0.08);

  /* Legacy & compatibility aliases */
  --primary-purple: #059669;
  --secondary-purple: #047857;
  --sf-purple: #059669;
  --sf-purple-hover: #047857;
  --sf-purple-light: #F0FDF4;
  --sf-purple-tint: rgba(5, 150, 105, 0.08);

  --sf-white: #FFFFFF;
  --sf-page-bg: #F0FDF4;
  --sf-card-border: #DCFCE7;
  --sf-border: #DCFCE7;
  --sf-line: #DCFCE7;
  --sf-text: #0F172A;
  --sf-muted: #64748B;
  --sf-container: 1600px;

  /* Legacy token mapping */
  --ink: #0F172A;
  --muted: #64748B;
  --line: #DCFCE7;
  --soft: #F0FDF4;
  --max: 1600px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
  color: var(--sf-text);
  background-color: var(--sf-page-bg);
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

/* Ensure Elementor full-width pages match design */
.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: var(--max);
}

/* ==========================================================================
   AKSHAR COMPUTERS GLOBAL GREEN & WHITE SYSTEM OVERRIDES
   ========================================================================== */

/* 1. Global Button Styles & Hovers */
[type=button]:focus,
[type=button]:hover,
[type=submit]:focus,
[type=submit]:hover,
button:focus,
button:hover {
  background-color: var(--secondary-green);
  color: #ffffff;
  border-color: var(--secondary-green);
}

/* 2. Product Category Tabs & Pill Buttons */
.tabs .tab,
.tab,
button.tab,
button[data-tab-target],
button[data-category] {
  background: #ffffff;
  color: var(--sf-muted);
  border: 1px solid var(--sf-card-border);
  transition: all 0.2s ease;
}

.tabs .tab:hover,
.tabs button:hover,
.tab:hover,
button.tab:hover,
button[data-tab-target]:hover,
button[data-category]:hover {
  background: var(--primary-green) !important;
  color: #ffffff !important;
  border-color: var(--primary-green) !important;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.20) !important;
}

.tabs .tab.active,
.tab.active,
button.tab.active {
  background: var(--primary-green) !important;
  color: #ffffff !important;
  border-color: var(--primary-green) !important;
}

.tabs .tab.active:hover,
.tab.active:hover {
  background: var(--secondary-green) !important;
  color: #ffffff !important;
  border-color: var(--secondary-green) !important;
}

/* 3. Modal Tabs, Nav Tabs & Pills */
.sf-tab-btn:hover,
.boat-tab-btn:hover,
.Storefront-tab-btn:hover,
.sf-category-pill:hover,
.sf-pill:hover,
.sf-filter-btn:hover {
  background: var(--primary-green) !important;
  color: #ffffff !important;
  border-color: var(--primary-green) !important;
}

/* 4. Default link hover to rich green */
a {
  color: var(--primary-green);
  transition: color 0.15s ease;
}

a:hover {
  color: var(--secondary-green);
}

/* Page wrapper background */
.sf-ui-wrap,
.boat-ui-wrap,
.storefront-wrap {
  background-color: var(--sf-page-bg);
}
