/* Auto-generated by Theme & Appearance — do not edit */
:root {
    --black: #78350F;
    --black-light: #3c1b08;
    --black-lighter: rgba(0,0,0,0.08);
    --red: #78350F;
    --red-light: #662d0d;
    --red-dark: #78350F;
    --white: #FFFFFF;
    --white-off: #FFFBEB;
    --white-dark: rgba(0,0,0,0.08);
    --gray: #a79890;
    --gray-light: #F59E0B;

    --theme-primary: #78350F;
    --theme-secondary: #A16207;
    --theme-accent: #F59E0B;
    --theme-bg: #FFFBEB;
    --theme-text: #422006;
    --theme-btn-bg: #78350F;
    --theme-btn-text: #FFFFFF;
    --theme-btn-hover-bg: #662d0d;
    --theme-btn-hover-text: #FFFFFF;
    --theme-nav-bg: #78350F;
    --theme-nav-text: #FFFFFF;
    --theme-nav-hover: #F59E0B;
    --theme-footer-bg: #3c1b08;
    --theme-footer-text: #a79890;
    --theme-footer-heading: #c5bbb5;
    --theme-card-bg: #FFFFFF;
    --theme-card-text: #422006;
    --theme-card-border: rgba(0,0,0,0.08);
    --theme-link: #78350F;
    --theme-link-hover: #A16207;
    --theme-icon: #2e1604;
}

body { background-color: var(--theme-bg); color: var(--theme-text); background-image: linear-gradient(rgba(0,0,0,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.06) 1px, transparent 1px); background-attachment: fixed; background-repeat: repeat; background-size: auto; }
a { color: var(--theme-link); }
a:hover { color: var(--theme-link-hover); }
svg { color: var(--theme-icon); }

.main-header { background: var(--theme-nav-bg) !important; border-bottom-color: var(--theme-card-border) !important; }
.main-header .nav-link { color: var(--theme-nav-text) !important; }
.main-header .nav-link:hover { color: var(--theme-nav-hover) !important; }
.main-header .logo-text { color: var(--theme-nav-text) !important; }
.main-header .cart-icon { color: var(--theme-nav-text) !important; }
.main-header .cart-icon:hover { background: var(--theme-nav-text) !important; color: var(--theme-nav-bg) !important; }

.main-footer { background: var(--theme-footer-bg) !important; color: var(--theme-footer-text) !important; border-top-color: var(--theme-card-border) !important; }
.main-footer .footer-title, .main-footer .footer-subtitle { color: var(--theme-footer-heading) !important; }
.main-footer .footer-desc, .main-footer .footer-bottom p, .main-footer .footer-links a, .main-footer .footer-links li { color: var(--theme-footer-text) !important; }
.main-footer .footer-bottom { border-top-color: var(--theme-card-border) !important; }

.product-card, .review-card, .faq-item, .form-card, .order-form, .product-description-content, .data-table-wrapper, .settings-table, .image-upload-area, .login-card, .modal-content, .chart-container, .stat-card, .filter-bar, .products-toolbar, .empty-state, .alert {
    background: var(--theme-card-bg) !important;
    color: var(--theme-card-text) !important;
    border-color: var(--theme-card-border) !important;
}
.product-card, .review-card, .faq-item, .form-card, .stat-card { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

.product-name, .product-price, .section-title, .faq-question-text, .review-name, .review-text, .form-card-title, .form-group label, .page-title, .table-title, h1, h2, h3, h4, h5, h6, p, span, li, label, td, th { color: var(--theme-card-text); }
.section-subtitle, .feature-desc, .feature-title, .product-detail-desc, .review-verified { color: var(--theme-text); }
.faq-question, .review-stars .star, .product-card .product-name, .product-card .product-price { color: var(--theme-card-text) !important; }

.product-btn, .hero-cta, .submit-btn, .btn-primary, .btn {
    background: var(--theme-btn-bg) !important;
    color: var(--theme-btn-text) !important;
    border-color: var(--theme-btn-bg) !important;
}
.product-btn:hover, .hero-cta:hover, .submit-btn:hover, .btn-primary:hover, .btn:hover {
    background: var(--theme-btn-hover-bg) !important;
    color: var(--theme-btn-hover-text) !important;
    border-color: var(--theme-btn-hover-bg) !important;
}

.btn-secondary { background: var(--theme-secondary) !important; color: var(--theme-btn-text) !important; border-color: var(--theme-secondary) !important; }
.btn-secondary:hover { background: var(--theme-primary) !important; }
.btn-danger { background: #c0392b !important; color: #ffffff !important; }

.section { background: transparent; }
.features { background: var(--theme-nav-bg) !important; }
.features .feature-title, .features .feature-desc, .features .feature-icon svg { color: var(--theme-nav-text) !important; }
.features .feature-icon { background: rgba(255,255,255,0.05) !important; border-color: var(--theme-card-border) !important; }

.hero { background: transparent; }
.hero-title, .hero-subtitle { color: var(--theme-text) !important; }

.review-stars .star { color: #cccccc; }
.review-stars .star.filled { color: var(--theme-accent); }
.review-avatar { background: var(--theme-primary) !important; color: var(--theme-btn-text) !important; }

.page-header, .main-header, .mobile-header { background: var(--theme-nav-bg) !important; color: var(--theme-nav-text) !important; }
.page-title, .page-subtitle { color: var(--theme-nav-text) !important; }

.order-form, .order-form input, .order-form select, .order-form textarea {
    background: var(--theme-card-bg) !important;
    color: var(--theme-card-text) !important;
    border-color: var(--theme-card-border) !important;
}
.order-form label, .order-form h2, .order-form .option-label, .order-form .delivery-price-display p, .order-form .total-price-display p, .order-form .radio-label, .order-form .success-message h3, .order-form .success-message p { color: var(--theme-card-text) !important; }

input[type='text'], input[type='email'], input[type='tel'], input[type='number'], input[type='password'], input[type='search'], input[type='color'], textarea, select {
    background: var(--theme-card-bg) !important;
    color: var(--theme-card-text) !important;
    border-color: var(--theme-card-border) !important;
}
input::placeholder, textarea::placeholder { color: var(--theme-icon) !important; opacity: 0.6; }

.data-table th, .settings-table th { background: var(--theme-card-border) !important; color: var(--theme-card-text) !important; }
.data-table td, .settings-table td { color: var(--theme-card-text) !important; border-bottom-color: var(--theme-card-border) !important; }
.data-table tr:hover { background: var(--theme-card-border) !important; }

.color-btn, .size-btn, .bundle-btn { background: var(--theme-card-bg) !important; color: var(--theme-card-text) !important; border-color: var(--theme-card-border) !important; }
.color-btn.selected, .size-btn.selected, .bundle-btn.selected { border-color: var(--theme-primary) !important; background: var(--theme-primary) !important; color: var(--theme-btn-text) !important; }

.product-image { background: var(--theme-card-border) !important; }
.product-info, .product-detail-info, .order-form-wrapper, .product-description, .related-products, .product-images-grid, .product-detail { background: transparent !important; }

.pagination-btn { background: var(--theme-card-bg) !important; color: var(--theme-card-text) !important; border-color: var(--theme-card-border) !important; }
.pagination-btn.active { background: var(--theme-primary) !important; color: var(--theme-btn-text) !important; }

.alert-success { background: rgba(39,174,96,0.1) !important; color: var(--success) !important; border-color: var(--success) !important; }
.alert-error { background: rgba(192,57,43,0.1) !important; color: var(--danger) !important; border-color: var(--danger) !important; }
.form-message.success { background: rgba(39,174,96,0.1) !important; color: var(--success) !important; border-color: var(--success) !important; }
.form-message.error { background: rgba(192,57,43,0.1) !important; color: var(--danger) !important; border-color: var(--danger) !important; }
.success-message { background: rgba(39,174,96,0.1) !important; color: var(--success) !important; border-color: var(--success) !important; }

.review-card::before { color: var(--theme-card-border) !important; }
.review-author { border-top-color: var(--theme-card-border) !important; }

.section-title::after { background: var(--theme-primary) !important; }
.form-card-title, .chart-title, .table-title { border-bottom-color: var(--theme-primary) !important; }
.modal { background: rgba(0,0,0,0.5) !important; }
.modal-close { color: var(--theme-icon) !important; }
.image-upload-area { border-color: var(--theme-card-border) !important; }
.image-upload-area:hover { border-color: var(--theme-primary) !important; background: var(--theme-card-border) !important; }
.upload-section { border-color: var(--theme-card-border) !important; background: var(--theme-card-bg) !important; }
.upload-section:hover { border-color: var(--theme-primary) !important; background: var(--theme-card-border) !important; }

.order-form .delivery-price-display, .order-form .total-price-display { background: var(--theme-card-border) !important; color: var(--theme-card-text) !important; }
.order-form .price { color: var(--theme-primary) !important; }

.filter-select, .search-input { background: var(--theme-card-bg) !important; color: var(--theme-card-text) !important; border-color: var(--theme-card-border) !important; }
.search-box svg { color: var(--theme-icon) !important; }
.search-box input { background: var(--theme-card-bg) !important; color: var(--theme-card-text) !important; }

.toggle-slider { background: var(--theme-card-border) !important; }
.toggle-switch input:checked + .toggle-slider { background: var(--theme-primary) !important; }
.toggle-slider::before { background: var(--theme-card-bg) !important; }

.status-badge { color: var(--theme-card-text) !important; }
.action-btn { background: var(--theme-card-border) !important; color: var(--theme-card-text) !important; }
.action-btn:hover { background: var(--theme-primary) !important; color: var(--theme-btn-text) !important; }

.form-message, .success-message, .error-message { color: var(--theme-card-text) !important; }

.faq-item { border-right-color: var(--theme-primary) !important; }
.faq-item[open] { border-right-color: var(--theme-accent) !important; }
.faq-icon { background: var(--theme-primary) !important; color: var(--theme-btn-text) !important; }
.faq-item[open] .faq-icon { background: var(--theme-accent) !important; color: var(--theme-text) !important; }

.login-page { background: var(--theme-nav-bg) !important; }
.login-page::before, .login-page::after { background: radial-gradient(circle, var(--theme-accent) 0%, transparent 70%) !important; opacity: 0.2; }
.sidebar { background: var(--theme-nav-bg) !important; color: var(--theme-nav-text) !important; }
.sidebar .nav-item { color: var(--theme-nav-text) !important; }
.sidebar .nav-item:hover { background: var(--theme-footer-bg) !important; }
.sidebar .nav-item.active { color: var(--theme-accent) !important; border-right-color: var(--theme-accent) !important; }
.sidebar-footer { border-top-color: var(--theme-card-border) !important; }
.sidebar-header { border-bottom-color: var(--theme-card-border) !important; }
.logout-btn { color: var(--theme-nav-text) !important; }
.logout-btn:hover { color: var(--theme-danger) !important; }

.bottom-nav { background: var(--theme-nav-bg) !important; border-top-color: var(--theme-card-border) !important; }
.bottom-nav-item { color: var(--theme-nav-text) !important; }
.bottom-nav-item.active { color: var(--theme-accent) !important; }

/* Override hardcoded white-dark reference used by inputs in style.css */
.login-card, .stat-card, .order-form, .product-card, .review-card, .faq-item { background: var(--theme-card-bg) !important; }

.section { background: transparent !important; }
.main-content, .products-section, .product-detail, .faq-section, .reviews-section { background: transparent !important; }
.product-card, .review-card, .faq-item { background: var(--theme-card-bg) !important; }

.product-image img, .product-slider img, .related-products img, .images-grid img { background: var(--theme-card-border); }
