/* ===================================
   THEME BRAND COLOR OVERRIDES  
   =================================== */

:root {
  --color-brand-primary: #ff671f;
  --color-brand-primary-dark: #e55a0f;
  --color-brand-primary-light: #ff7a35;
}

/* Cart Button - Brand Orange Theme */
.btn-cart-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff671f 0%, #e55a0f 100%);
    color: #fff;
    border: none;
    padding: 11px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 10px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(255, 103, 31, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-cart-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.btn-cart-primary:hover {
    background: linear-gradient(135deg, #ff7a35 0%, #ff671f 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 103, 31, 0.4);
    transform: translateY(-2px);
}

.btn-cart-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 103, 31, 0.3);
}

/* Success state for added to cart */
.btn-cart-primary.added {
  background: linear-gradient(135deg, #198754 0%, #157347 100%) !important;
  box-shadow: 0 4px 14px rgba(25, 135, 84, 0.35) !important;
}

/* ===================================
   COMPREHENSIVE BUTTON OVERRIDES
   =================================== */

/* Primary Button Styling */
.btn-primary {
  background: linear-gradient(135deg, #ff671f 0%, #e55a0f 100%) !important;
  border-color: #ff671f !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(255, 103, 31, 0.3);
  transition: all 0.25s ease;
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #ff7a35 0%, #ff671f 100%) !important;
  border-color: #ff7a35 !important;
  box-shadow: 0 6px 20px rgba(255, 103, 31, 0.4);
  transform: translateY(-2px);
}

.btn-primary:active:not(:disabled),
.btn-primary.active {
  background: linear-gradient(135deg, #e55a0f 0%, #d94d05 100%) !important;
  border-color: #e55a0f !important;
  box-shadow: 0 2px 8px rgba(255, 103, 31, 0.3);
  transform: translateY(0);
}

.btn-primary:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 103, 31, 0.25);
}

.btn-primary:disabled {
  background: #cccccc !important;
  border-color: #cccccc !important;
  opacity: 0.65;
}

/* Outline Primary Button Styling */
.btn-outline-primary {
  color: #ff671f !important;
  border-color: #ff671f !important;
  background-color: transparent;
  transition: all 0.25s ease;
}

.btn-outline-primary:hover:not(:disabled) {
  background-color: #ff671f !important;
  border-color: #ff671f !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(255, 103, 31, 0.3);
  transform: translateY(-2px);
}

.btn-outline-primary:active:not(:disabled),
.btn-outline-primary.active {
  background-color: #e55a0f !important;
  border-color: #e55a0f !important;
  color: #fff !important;
}

.btn-outline-primary:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 103, 31, 0.25);
}

.btn-outline-primary:disabled {
  color: #cccccc !important;
  border-color: #cccccc !important;
}

/* Filter Toggle Button */
.filter-toggle-btn {
  background-color: #ff671f !important;
  border-color: #ff671f !important;
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(255, 103, 31, 0.3);
  transition: all 0.25s ease;
}

.filter-toggle-btn:hover:not(:disabled) {
  background-color: #ff7a35 !important;
  border-color: #ff7a35 !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(255, 103, 31, 0.4);
  transform: translateY(-2px);
}

.filter-toggle-btn:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 103, 31, 0.25);
}

/* Reset Filters Button */
.reset-filters-btn {
  background-color: transparent;
  color: #ff671f;
  border: 1px solid #ff671f;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 6px;
  transition: all 0.25s ease;
}

.reset-filters-btn:hover {
  background-color: #ff671f;
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 103, 31, 0.3);
  transform: translateY(-1px);
}

.reset-filters-btn:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 103, 31, 0.25);
}

/* Light Button Styling */
.btn-light {
  background-color: #f8f9fa;
  border-color: #dee2e6;
  color: #495057;
  transition: all 0.25s ease;
}

.btn-light:hover:not(:disabled) {
  background-color: #e2e6ea;
  border-color: #dee2e6;
  color: #1f2937;
  transform: translateY(-1px);
}

.btn-light:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 103, 31, 0.25);
}

/* Secondary Button - Outline Style */
.btn-outline-secondary {
  color: #6c757d;
  border-color: #dee2e6;
  transition: all 0.25s ease;
}

.btn-outline-secondary:hover:not(:disabled) {
  background-color: #f8f9fa;
  border-color: #dee2e6;
  color: #1f2937;
  transform: translateY(-1px);
}

.btn-outline-secondary:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 103, 31, 0.15);
}

/* Secondary Button */
.btn-secondary {
  background-color: #6c757d;
  border-color: #6c757d;
  transition: all 0.25s ease;
}

.btn-secondary:hover:not(:disabled) {
  background-color: #5c636a;
  border-color: #565e64;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.btn-secondary:focus {
  box-shadow: 0 0 0 0.25rem rgba(108, 117, 125, 0.25);
}

/* Danger Button */
.btn-danger {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  border-color: #dc3545;
  transition: all 0.25s ease;
}

.btn-danger:hover:not(:disabled) {
  background: linear-gradient(135deg, #e74c3c 0%, #dc3545 100%);
  border-color: #c82333;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
  transform: translateY(-2px);
}

.btn-danger:focus {
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/* Success Button */
.btn-success {
  background: linear-gradient(135deg, #198754 0%, #157347 100%);
  border-color: #198754;
  transition: all 0.25s ease;
}

.btn-success:hover:not(:disabled) {
  background: linear-gradient(135deg, #1aa179 0%, #198754 100%);
  border-color: #157347;
  box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
  transform: translateY(-2px);
}

.btn-success:focus {
  box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

/* Submit Button Styling */
button[type="submit"],
input[type="submit"] {
  background: linear-gradient(135deg, #ff671f 0%, #e55a0f 100%) !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(255, 103, 31, 0.3);
  transition: all 0.25s ease;
}

button[type="submit"]:hover:not(:disabled),
input[type="submit"]:hover:not(:disabled) {
  background: linear-gradient(135deg, #ff7a35 0%, #ff671f 100%) !important;
  box-shadow: 0 6px 20px rgba(255, 103, 31, 0.4);
  transform: translateY(-2px);
}

button[type="submit"]:focus,
input[type="submit"]:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 103, 31, 0.25);
}

button[type="submit"]:disabled,
input[type="submit"]:disabled {
  background: #cccccc !important;
  opacity: 0.65;
  cursor: not-allowed;
}

/* Form Control Focus Styling */
.form-control:focus,
.form-select:focus {
  border-color: #ff671f;
  box-shadow: 0 0 0 0.25rem rgba(255, 103, 31, 0.25);
}

/* Links with Primary Color */
.btn-link {
  color: #ff671f;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-link:hover {
  color: #ff7a35;
  text-decoration: underline;
  transform: translateX(2px);
}

.btn-link:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 103, 31, 0.25);
  outline: none;
}

/* Navigation Links */
.nav-link {
  transition: all 0.25s ease;
}

.nav-link.active {
  color: #ff671f !important;
  font-weight: 600;
}

.nav-link:hover:not(.active) {
  color: #ff7a35;
}

/* Badge Styling - Primary Theme */
.badge.bg-primary {
  background-color: #ff671f !important;
}

.badge.badge-primary {
  background-color: #ff671f !important;
}

/* Range Slider Thumb Styling */
.range-sliders input[type="range"]::-webkit-slider-thumb {
  background: #ff671f;
  box-shadow: 0 2px 4px rgba(255, 103, 31, 0.4);
}

.range-sliders input[type="range"]::-moz-range-thumb {
  background: #ff671f;
  box-shadow: 0 2px 4px rgba(255, 103, 31, 0.4);
}

.range-sliders input[type="range"]::-webkit-slider-thumb:hover {
  background: #ff7a35;
  box-shadow: 0 4px 8px rgba(255, 103, 31, 0.5);
}

.range-sliders input[type="range"]::-moz-range-thumb:hover {
  background: #ff7a35;
  box-shadow: 0 4px 8px rgba(255, 103, 31, 0.5);
}

/* Category Navigation Hover */
.category-collapse .nav-link:hover {
  background-color: rgba(255, 103, 31, 0.15);
  color: #ff671f !important;
  box-shadow: 0 2px 8px rgba(255, 103, 31, 0.2);
}

.category-collapse .nav-link.active {
  color: #ff671f !important;
  background-color: rgba(255, 103, 31, 0.1);
}

/* Scrollbar Track and Thumb for Orange Theme */
::-webkit-scrollbar-track {
  background: #f8f9fa;
}

::-webkit-scrollbar-thumb {
  background: #ff671f;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #e55a0f;
}