/* Modern Professional CSS for Header and Product Filter Sections */
/* Global Variables */
:root {
  /* Primary Color Palette */
  --primary-color: #e6020f;     /* Custom primary red */
  --primary-dark: #cc020d;      /* Slightly darker for hover/focus states */
  --primary-light: #ff4d58;     /* Lighter tint for backgrounds or borders */

  --secondary-color: #6c757d;
  --secondary-dark: #5c636a;
  --secondary-light: #a7acb1;
  
  /* Neutral Colors */
  --dark: #212529;
  --light: #f8f9fa;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  
  /* Accent Colors */
  --success: #198754;
  --info: #0dcaf0;
  --warning: #ffc107;
  --danger: #dc3545;


  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;
  
  /* Border Radius */
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.375rem;
  --border-radius-lg: 0.5rem;
  --border-radius-xl: 1rem;
  
  /* Shadows */
  --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  
  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

.btn-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-dark) !important;
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark) !important;
}
/* ===== PAGE HEADER SECTION ===== */
.page-header {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 100px 0;
  margin-bottom: 60px;
  z-index: 1;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.85));
  z-index: -1;
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  color: #fff;
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: fadeInDown 0.8s ease;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 0;
  display: inline-flex;
}

.breadcrumb-item {
  font-size: 16px;
  font-weight: 500;
}

.breadcrumb-item a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb-item a:hover {
  color: var(--primary-color);
}

.breadcrumb-item.active {
  color: var(--primary-color);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: rgba(255, 255, 255, 0.6);
}

/* ===== PRODUCT FILTER SECTION ===== */
.product-filter-section {
  padding: 0 0 50px;
}

.product-filter-wrapper {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  padding: 20px 30px;
  margin-bottom: 40px;
  transition: var(--transition);
}

.product-filter-wrapper:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.total-products {
  margin-bottom: 0;
}

.total-products p {
  margin-bottom: 0;
  font-size: 15px;
}

.total-products strong {
  color: var(--primary-color);
  font-weight: 600;
}

.product-filter-options {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 15px;
}

.filter-sorting,
.filter-category {
  width: auto;
  min-width: 200px;
}

/* .form-select {
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 8px 15px;
  font-size: 14px;
  color: var(--text-color);
  cursor: pointer;
  background-color: #fff;
  transition: var(--transition);
} */

.form-select:focus {
  border-color: var(--secondary-color);
  outline: none;
}

.filter-eco {
  margin-left: 5px;
}

.form-check {
  display: flex;
  align-items: center;
}

.form-check-input {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  cursor: pointer;
  border-color: var(--border-color);
}

.form-check-input:checked {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.form-check-label {
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 0;
}

.filter-view {
  display: flex;
  gap: 5px;
}

.filter-view .btn {
  width: 38px;
  height: 38px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  background-color: #fff;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.filter-view .btn:hover {
  background-color: var(--light-color);
}

.filter-view .btn.active {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--secondary-color);
}

/* ===== PAGINATION STYLES ===== */
.pagination-container {
  margin: 50px 0;
}

.pagination {
  gap: 6px;
}

.page-item .page-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border-radius: 6px;
  color: var(--text-color);
  border: 1px solid var(--border-color);
  background-color: #fff;
  font-weight: 500;
  transition: var(--transition);
  box-shadow: none;
}

.page-item .page-link:hover {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
  background-color: rgba(26, 188, 156, 0.08);
  z-index: 1;
}

.page-item.active .page-link {
  color: #fff;
  background-color: var(--primary-color);
  border-color: var(--secondary-color);
  box-shadow: 0 4px 10px rgba(26, 188, 156, 0.25);
}

.page-item.disabled .page-link {
  color: #adb5bd;
  border-color: #eaecef;
  background-color: #f8f9fa;
  cursor: not-allowed;
}

.page-item .page-link i {
  font-size: 12px;
}

/* Animation for pagination */
.pagination .page-item {
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.pagination .page-item:hover {
  transform: translateY(-2px);
}

.pagination .page-item.active:hover {
  transform: translateY(0);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991px) {
  .page-header {
    padding: 80px 0;
  }
  
  .page-header h1 {
    font-size: 2.5rem;
  }
  
  .product-filter-options {
    justify-content: flex-start;
    margin-top: 15px;
  }
  
  .pagination-container {
    margin: 40px 0;
  }
}

@media (max-width: 767px) {
  .page-header {
    padding: 60px 0;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .product-filter-wrapper {
    padding: 15px 20px;
  }
  
  .filter-sorting,
  .filter-category {
    min-width: 160px;
  }
  
  .total-products {
    margin-bottom: 15px;
  }
  
  .pagination-container {
    margin: 30px 0;
  }
  
  .page-item .page-link {
    width: 36px;
    height: 36px;
  }
}

/* Animation */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.quick-view-actions {
    margin-bottom: 20px;
}


/* PRODUCT DETAILS */

/* Product Detail Specific Styles */
        .product-detail-section {
            padding: 120px 0 80px;
            background-color: var(--gray-100);
        }
        
        .product-detail-breadcrumb {
            margin-bottom: 30px;
        }
        
        .product-detail-breadcrumb .breadcrumb {
            background: transparent;
            padding: 0;
        }
        
        .product-detail-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
            content: ">";
            color: var(--gray-600);
        }
        
        .product-gallery {
            position: relative;
            margin-bottom: 30px;
        }
        
        .product-gallery-main {
            border-radius: var(--border-radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            margin-bottom: 15px;
            position: relative;
        }
        
        .product-gallery-main img {
            width: 100%;
            height: auto;
            object-fit: cover;
        }
        
        .product-gallery-badges {
            position: absolute;
            top: 15px;
            left: 15px;
            z-index: 10;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        
        .product-badge {
            display: inline-block;
            padding: 6px 12px;
            border-radius: var(--border-radius-md);
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
        }
        
        .product-badge.eco {
            background-color: var(--success);
            color: white;
        }
        
        .product-badge.new {
            background-color: var(--primary-color);
            color: white;
        }
        
        .product-gallery-thumbs {
            display: flex;
            gap: 10px;
            margin-top: 15px;
        }
        
        .product-gallery-thumb {
            width: 80px;
            height: 80px;
            border-radius: var(--border-radius-md);
            overflow: hidden;
            cursor: pointer;
            border: 2px solid transparent;
            transition: var(--transition-normal);
        }
        
        .product-gallery-thumb.active {
            border-color: var(--primary-color);
        }
        
        .product-gallery-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .product-info-detail {
            padding: 20px;
        }
        
        .product-title-main {
            font-size: 2.25rem;
            font-weight: 700;
            margin-bottom: 15px;
            color: var(--dark);
        }
        
        .product-meta {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .product-rating-main {
            display: flex;
            align-items: center;
        }
        
        .product-rating-main i {
            color: var(--warning);
            margin-right: 2px;
        }
        
        .product-rating-main span {
            color: var(--gray-600);
            font-size: 14px;
            margin-left: 5px;
        }
        
        .product-meta-divider {
            width: 1px;
            height: 20px;
            background-color: var(--gray-300);
        }
        
        .product-sku {
            font-size: 14px;
            color: var(--gray-600);
        }
        
        .product-description-main {
            margin-bottom: 25px;
            color: var(--gray-700);
            line-height: 1.7;
        }
        
        .product-features-main {
            margin-bottom: 25px;
        }
        
        .product-feature-item {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }
        
        .product-feature-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--primary-light);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            color: white;
        }
        
        .product-feature-text {
            flex: 1;
        }
        
        .product-feature-text h5 {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 3px;
        }
        
        .product-feature-text p {
            font-size: 14px;
            color: var(--gray-600);
            margin: 0;
        }
        
        .product-cta {
            display: flex;
            gap: 15px;
            margin-top: 30px;
        }
        
        .product-cta .btn {
            padding: 12px 25px;
            font-weight: 500;
        }
        
        .tabs-section {
            margin-top: 60px;
        }
        
        .product-tabs .nav-tabs {
            border-bottom: 1px solid var(--gray-300);
            margin-bottom: 30px;
        }
        
        .product-tabs .nav-link {
            border: none;
            border-bottom: 3px solid transparent;
            padding: 15px 25px;
            font-weight: 600;
            color: var(--gray-600);
            background: transparent;
            transition: var(--transition-normal);
        }
        
        .product-tabs .nav-link.active {
            color: var(--primary-color);
            border-bottom-color: var(--primary-color);
        }
        
        .product-tab-content {
            padding: 20px 0;
        }
        
        .product-tab-content h3 {
            font-size: 1.5rem;
            margin-bottom: 20px;
            color: var(--dark);
            font-weight: 600;
        }
        
        .product-tab-content p {
            margin-bottom: 15px;
            line-height: 1.7;
        }
        
        .specifications-table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
        }
        
        .specifications-table tr:nth-child(odd) {
            background-color: var(--gray-100);
        }
        
        .specifications-table td {
            padding: 12px 15px;
            border-bottom: 1px solid var(--gray-200);
        }
        
        .specifications-table td:first-child {
            font-weight: 600;
            width: 40%;
        }
        
        .safety-icon {
            width: 80px;
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
            margin-bottom: 15px;
            background-color: var(--gray-200);
        }
        
        .safety-icon i {
            font-size: 32px;
            color: var(--primary-color);
        }
        
        .safety-item h4 {
            font-size: 18px;
            margin-bottom: 10px;
            font-weight: 600;
        }
        
        .safety-item p {
            color: var(--gray-600);
            font-size: 14px;
        }
        
        .related-products {
            padding: 60px 0;
            background-color: white;
        }
        
        .related-products .section-title {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .related-products .product-card {
            height: 100%;
        }
        
        .documentation-item {
            display: flex;
            align-items: center;
            padding: 15px;
            border: 1px solid var(--gray-300);
            border-radius: var(--border-radius-md);
            margin-bottom: 15px;
            transition: var(--transition-normal);
        }
        
        .documentation-item:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-sm);
        }
        
        .documentation-icon {
            width: 50px;
            height: 50px;
            border-radius: var(--border-radius-md);
            background-color: var(--primary-light);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            color: white;
        }
        
        .documentation-info {
            flex: 1;
        }
        
        .documentation-info h5 {
            font-size: 16px;
            margin-bottom: 5px;
            font-weight: 600;
        }
        
        .documentation-info p {
            font-size: 13px;
            color: var(--gray-600);
            margin: 0;
        }
        
        .documentation-download {
            padding: 5px 10px;
            background-color: var(--gray-200);
            border-radius: var(--border-radius-sm);
            color: var(--gray-700);
            font-size: 13px;
            transition: var(--transition-normal);
        }
        
        .documentation-download:hover {
            background-color: var(--primary-color);
            color: white;
            text-decoration: none;
        }
        
        @media (max-width: 991px) {
            .product-info-detail {
                margin-top: 30px;
            }
        }