/* SHOPSPARK GREEN THEME OVERRIDE - FORCE GREEN COLORS EVERYWHERE */

/* Root variables - Force green theme */
:root {
    --primary-color: #4d8532 !important;
    --primary-hover: #3d6b28 !important;
    --secondary-color: #4d8532 !important;
    --secondary-hover: #3d6b28 !important;
    --accent-color: #4d8532 !important;
    --text-primary: #333333 !important;
    --text-secondary: #666666 !important;
    --text-light: #999999 !important;
    --bg-primary: #f0f8f2 !important;
    --bg-secondary: #ffffff !important;
    --border-color: #eeeeee !important;
    --header-bg: #fffaf9 !important;
    --shadow-button: 0 2px 4px rgba(128, 128, 128, 0.3) !important;
    --radius-button: 6px !important;
}

/* Force body background */
body {
    background-color: #f0f8f2 !important;
    color: #333333 !important;
}

/* Force header background */
.header,
.main-header {
    background-color: #fffaf9 !important;
    background: #fffaf9 !important;
}

/* Force all buttons to use green */
.btn,
button,
.btn-primary,
.btn-secondary,
a.btn,
a.btn-primary,
a.btn-secondary,
button.btn-primary,
button.btn-secondary,
input[type="submit"],
input[type="button"] {
    border-radius: 6px !important;
    box-shadow: 0 2px 4px rgba(128, 128, 128, 0.3) !important;
    transition: all 0.2s ease-in-out !important;
}

/* Primary buttons - green background */
.btn-primary,
a.btn-primary,
button.btn-primary,
.btn.btn-primary {
    background-color: #4d8532 !important;
    background: #4d8532 !important;
    border-color: #4d8532 !important;
    color: white !important;
}

.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover,
.btn.btn-primary:hover {
    background-color: #3d6b28 !important;
    background: #3d6b28 !important;
    border-color: #3d6b28 !important;
    color: white !important;
    transform: translateY(-1px) !important;
}

/* Secondary buttons - green border */
.btn-secondary,
a.btn-secondary,
button.btn-secondary,
.btn.btn-secondary {
    background-color: transparent !important;
    background: transparent !important;
    border: 2px solid #4d8532 !important;
    color: #4d8532 !important;
}

.btn-secondary:hover,
a.btn-secondary:hover,
button.btn-secondary:hover,
.btn.btn-secondary:hover {
    background-color: #4d8532 !important;
    background: #4d8532 !important;
    color: white !important;
    border-color: #4d8532 !important;
    transform: translateY(-1px) !important;
}

/* Force logo color */
.logo h1,
.logo a h1,
.main-header .logo h1,
h1.logo,
a h1 {
    color: #4d8532 !important;
}

/* Force accent colors */
.accent,
.luxury-accent,
span.accent,
.hero .accent {
    color: #4d8532 !important;
    background: none !important;
    background-color: transparent !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
}

/* Force search button */
.search-box button,
#headerSearchBtn,
button[type="submit"] {
    background-color: #4d8532 !important;
    background: #4d8532 !important;
    color: white !important;
    border: none !important;
}

.search-box button:hover,
#headerSearchBtn:hover {
    background-color: #3d6b28 !important;
    background: #3d6b28 !important;
}

/* Force navigation underlines */
.nav-link:hover::after,
.nav-link.active::after {
    background-color: #4d8532 !important;
    height: 1px !important;
}

/* Force icon colors */
.category-icon,
.feature-icon,
.team-avatar,
.contact-icon {
    background-color: #4d8532 !important;
    background: #4d8532 !important;
}

/* Force price colors */
.product-price,
.price {
    color: #4d8532 !important;
}

/* Force status badges */
.status-badge {
    background-color: #4d8532 !important;
    background: #4d8532 !important;
    color: white !important;
}

/* Force CTA sections */
.cta-section {
    background-color: #4d8532 !important;
    background: #4d8532 !important;
}

/* Force swiper navigation */
.swiper-button-next,
.swiper-button-prev {
    color: #4d8532 !important;
}

.swiper-pagination-bullet-active {
    background-color: #4d8532 !important;
    background: #4d8532 !important;
}

/* Override any remaining blue colors */
*[style*="#4f46e5"],
*[style*="rgb(79, 70, 229)"],
*[class*="blue"],
*[class*="indigo"],
*[class*="purple"] {
    color: #4d8532 !important;
    background-color: #4d8532 !important;
    background: #4d8532 !important;
    border-color: #4d8532 !important;
}

/* Force product card backgrounds */
.product-card,
.category-card,
.feature-card,
.team-card {
    background-color: #ffffff !important;
    background: #ffffff !important;
    border: 1px solid #eeeeee !important;
}

/* Force text colors */
h1, h2, h3, h4, h5, h6 {
    color: #333333 !important;
}

p, span, div {
    color: #333333 !important;
}

.text-secondary,
.hero p,
.section-header p {
    color: #666666 !important;
}

/* Force form elements */
input, textarea, select {
    background-color: #ffffff !important;
    border: 1px solid #eeeeee !important;
    color: #333333 !important;
}

input:focus, textarea:focus, select:focus {
    border-color: #4d8532 !important;
    box-shadow: 0 0 0 3px rgba(77, 133, 50, 0.1) !important;
}

/* Add-to-cart button hover glow effects */
.add-to-cart,
.add-to-cart-btn,
button[class*="cart"],
button[class*="add-to-cart"],
.btn[class*="cart"],
.btn[class*="add-to-cart"] {
    transition: all 0.2s ease-in-out !important;
}

.add-to-cart:hover,
.add-to-cart-btn:hover,
button[class*="cart"]:hover,
button[class*="add-to-cart"]:hover,
.btn[class*="cart"]:hover,
.btn[class*="add-to-cart"]:hover {
    background-color: #2e5c23 !important;
    background: #2e5c23 !important;
    box-shadow: 0 0 12px rgba(77,133,50,.6) !important;
    transform: translateY(-1px) !important;
    transition: all 0.2s ease-in-out !important;
}
