/* ============================================
   Little Forest Theme Overrides
   Comprehensive color overrides for:
   - Bootstrap components (buttons, links, badges, forms)
   - Commerce module (footer, homepage, flash sale)
   - Orchard Core elements
   
   Palette: Forest green (#1B5E4B) + Gold (#C5A55A)
   ============================================ */

/* ============================================
   1. BOOTSTRAP PRIMARY COLOR OVERRIDES
   ============================================ */
.btn-primary {
    background-color: #1B5E4B !important;
    border-color: #1B5E4B !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #2A7D64 !important;
    border-color: #2A7D64 !important;
}

.btn-primary:active {
    background-color: #0F3D2E !important;
    border-color: #0F3D2E !important;
}

.btn-outline-primary {
    color: #1B5E4B !important;
    border-color: #1B5E4B !important;
}

.btn-outline-primary:hover {
    background-color: #1B5E4B !important;
    border-color: #1B5E4B !important;
    color: #fff !important;
}

.btn-link {
    color: #1B5E4B !important;
}

.btn-link:hover {
    color: #2A7D64 !important;
}

.text-primary {
    color: #1B5E4B !important;
}

.bg-primary {
    background-color: #1B5E4B !important;
}

.border-primary {
    border-color: #1B5E4B !important;
}

.badge.bg-primary {
    background-color: #1B5E4B !important;
}

/* Form controls */
.form-control:focus,
.form-select:focus {
    border-color: #1B5E4B !important;
    box-shadow: 0 0 0 0.25rem rgba(27, 94, 75, 0.25) !important;
}

.form-check-input:checked {
    background-color: #1B5E4B !important;
    border-color: #1B5E4B !important;
}

/* Nav pills & tabs */
.nav-pills .nav-link.active {
    background-color: #1B5E4B !important;
}

.nav-tabs .nav-link.active {
    color: #1B5E4B !important;
    border-bottom-color: #1B5E4B !important;
}

/* Pagination */
.page-item.active .page-link {
    background-color: #1B5E4B !important;
    border-color: #1B5E4B !important;
}

.page-link {
    color: #1B5E4B !important;
}

.page-link:hover {
    color: #2A7D64 !important;
}

/* Progress bar */
.progress-bar {
    background-color: #1B5E4B !important;
}

/* List group */
.list-group-item.active {
    background-color: #1B5E4B !important;
    border-color: #1B5E4B !important;
}

/* Alert primary */
.alert-primary {
    background-color: rgba(27, 94, 75, 0.1) !important;
    border-color: rgba(27, 94, 75, 0.2) !important;
    color: #0F3D2E !important;
}

/* ============================================
   2. FOOTER OVERRIDES (footer.css)
   ============================================ */
.site-footer {
    background-color: #0F3D2E !important;
    color: #d1e7dd !important;
}

.footer-brand-icon {
    display: none !important;
}

.footer-brand a::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-image: url('../images/logo.jpeg');
    background-size: cover;
    background-position: center;
    margin-right: 0.5rem;
    vertical-align: middle;
    flex-shrink: 0;
}

.footer-brand-text {
    color: #fff !important;
}

.footer-heading {
    color: #fff !important;
}

.footer-desc {
    color: #b8d4c8 !important;
}

.site-footer .text-muted {
    color: #b8d4c8 !important;
}

.footer-link {
    color: #b8d4c8 !important;
}

.footer-link:hover {
    color: #C5A55A !important;
}

.footer-bottom {
    border-color: rgba(255, 255, 255, 0.1) !important;
    background-color: rgba(0, 0, 0, 0.15);
}

.footer-bottom-links .footer-link {
    color: #8cb4a0 !important;
}

.footer-bottom-links .footer-link:hover {
    color: #C5A55A !important;
}

/* ============================================
   3. HOMEPAGE DECORATIVE GRADIENTS (home.css)
   ============================================ */
.bg-purple-gradient {
    background: linear-gradient(135deg, #0F3D2E 0%, #1B5E4B 100%) !important;
}

.bg-pink-gradient {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%) !important;
}

.bg-teal-gradient {
    background: linear-gradient(135deg, #1B5E4B 0%, #2A7D64 100%) !important;
}

.bg-rose-gradient {
    background: linear-gradient(135deg, #1B5E4B 0%, #C5A55A 100%) !important;
}

.bg-forest-gradient {
    background: linear-gradient(135deg, #0F3D2E 0%, #1B5E4B 100%) !important;
}

.bg-amber-gradient {
    background: linear-gradient(135deg, #C5A55A 0%, #D9C27C 100%) !important;
}

.bg-orchid-gradient {
    background: linear-gradient(135deg, #2A7D64 0%, #C5A55A 100%) !important;
}

.bg-coral-gradient {
    background: linear-gradient(135deg, #e8f5e9 0%, #a5d6a7 100%) !important;
}

.bg-white-lily-gradient {
    background: linear-gradient(135deg, #f1f8e9 0%, #dcedc8 100%) !important;
}

.about-placeholder {
    background: linear-gradient(135deg, #0F3D2E 0%, #1B5E4B 100%) !important;
}

.about-decoration {
    background: linear-gradient(135deg, #C5A55A 0%, #D9C27C 100%) !important;
}

.cta-section {
    background: linear-gradient(135deg, #0F3D2E 0%, #1B5E4B 100%) !important;
}

/* ============================================
   4. FLASH SALE / DISCOUNT SECTION
   ============================================ */
.bg-gradient-flash-sale {
    background: linear-gradient(135deg, #1B5E4B 0%, #2A7D64 50%, #C5A55A 100%) !important;
}

/* ============================================
   5. ORCHARD CORE COMMERCE OVERRIDES
   ============================================ */
.price-part-value {
    color: #1B5E4B !important;
}

.product-price .price-part-value {
    color: #1B5E4B !important;
    font-weight: 700 !important;
}

/* Shopping cart summary */
.shopping-cart-summary {
    border-color: #1B5E4B !important;
}

/* ============================================
   6. ORCHARD CORE ADMIN LINK (gear icon)
   ============================================ */
.nav-admin-link {
    color: #1B5E4B !important;
}

/* ============================================
   7. GOLD ACCENT UTILITIES
   ============================================ */
.text-gold {
    color: #C5A55A !important;
}

.bg-gold {
    background-color: #C5A55A !important;
    color: #fff !important;
}

.btn-gold {
    background-color: #C5A55A !important;
    border-color: #C5A55A !important;
    color: #fff !important;
}

.btn-gold:hover {
    background-color: #D9C27C !important;
    border-color: #D9C27C !important;
    color: #fff !important;
}

/* Sale/discount badge */
.badge-sale,
.badge-discount {
    background-color: #C5A55A !important;
    color: #fff !important;
}
