/**
 * 1800 Doorbell - Product Archives & Shop Pages
 * 
 * Extracted from Code Snippets Pro for better performance
 * Original location: Code Snippets line 4038-4591
 * Condition: is_product_category() || is_shop() || is_product_tag() || is_product_taxonomy()
 * 
 * CONTENTS:
 * - HUSKY/WOOF filter sidebar styling
 * - Doorbell Solutions category hero sections
 * - Product grid enhancements
 * - Category page specific styles
 * - Feature cards and trust badges
 * - Mobile responsiveness
 * 
 * @package 1800doorbell
 * @version 2.0.0
 */
    <style>
/* ===============================================
   PRODUCT ARCHIVES - Archive Features & Category Pages
   Includes filter styles AND doorbell category styles
   =============================================== */
<!-- Add this CSS to your existing wp_head action after the current styles -->

/* ========================================
   Backorder Badge
   ======================================== */
/*
.backorder-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff6b6b;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}



/* ========================================
   HUSKY FILTERS SIDEBAR STYLING
   ======================================== */
/*
.woocommerce-page .woof_container {
  margin-bottom: 24px;
}

.woof_container {
  padding: 0;
  border-radius: 0;
}

.woof_container h4 {
  font-family: var(--font-stack);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  background: transparent;
}

.woof-sd-ie {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.woof-sd-ie label {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border: 1px solid var(--primary-color);
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-base) ease;
}

.woof-sd-ie input[type="checkbox"]:checked + label {
  background: var(--primary-color);
}

.woof-sd-ie input[type="checkbox"]:checked + label:after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.woof-sd-ie-title {
  font-family: var(--font-stack);
  font-size: 0.875rem;
  color: var(--text-color);
  cursor: pointer;
  font-weight: normal;
  transition: color var(--transition-base) ease;
}

.woof-sd-ie-count {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-left: 5px;
}

.woof-sd-ie-title:hover {
  color: var(--secondary-color);
}

.woof-sd-ie label:hover {
  border-color: var(--secondary-color);
}

.woof-sd-ie.woof_checkbox_term_selected .woof-sd-ie-title {
  color: var(--primary-color);
  font-weight: 500;
}

.woof-sd-ie input[type="checkbox"] {
  display: none;
}

.woof_block_html_items,
.woof_container_inner,
.woof_list_checkbox_sd {
  background: transparent;
  padding: 0;
}
*/
/* ========================================
   DOORBELL SOLUTIONS - Category Page Styles
   Premium UX with sophisticated animations
   ======================================== */

/* Hero Section */
.doorbell-hero-section {
  padding: 80px 20px 60px;
  position: relative;
  overflow: hidden;
}

.doorbell-hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-color) 0%, #1a4270 50%, var(--primary-color) 100%);
  z-index: 100;
  box-shadow: 0 -2px 10px rgba(20, 54, 93, 0.1);
}

/* Background patterns */
.hero-bg-gradient-geometric {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fb 50%, #f0f4f8 100%);
  position: relative;
  overflow: hidden;
}

.hero-bg-gradient-geometric::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 93, 4, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-bg-gradient-geometric::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20, 54, 93, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.doorbell-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  text-align: center;
}

/* Hero title */
.doorbell-hero-title {
  font-size: clamp(2.2em, 5vw, 3.2em);
  margin-bottom: 30px;
  color: var(--primary-color);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(20, 54, 93, 0.1);
  animation: fadeInUp 0.8s ease-out;
}

/* Hero description */
.doorbell-hero-description {
  font-size: clamp(1.1em, 2.5vw, 1.4em);
  margin-bottom: 50px;
  color: #444444;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  font-weight: 400;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.doorbell-hero-description strong {
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
}

.doorbell-hero-description em {
  color: var(--secondary-color);
  font-style: normal;
  font-weight: 600;
  position: relative;
}

/* Accent Badge */
.product-accent-badge {
  display: inline-block;
  padding: 8px 20px;
  background: #F0F4F8;
  border: 1px solid #E5E9EF;
  border-radius: 20px;
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Features Section */
.doorbell-features-section {
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  padding: 80px 20px;
  position: relative;
}

.doorbell-features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #eeeeee 50%, transparent 100%);
}

.doorbell-features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.doorbell-features-title {
  font-size: clamp(2em, 4vw, 2.5em);
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.doorbell-features-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 60px;
  font-size: clamp(1em, 2vw, 1.2em);
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Features Grid */
.doorbell-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

/* Feature Cards */
.doorbell-feature-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 35px 30px;
  position: relative;
  transition: all var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.doorbell-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--border-color) 0%, #e8ecf0 100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.doorbell-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(20, 54, 93, 0.15),
              0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: rgba(232, 93, 4, 0.3);
}

.doorbell-feature-card:hover::before {
  background: linear-gradient(90deg, var(--secondary-color) 0%, #FF7A28 50%, var(--secondary-color) 100%);
  height: 6px;
  box-shadow: 0 2px 8px rgba(232, 93, 4, 0.3);
}

/* Feature Icon */
.doorbell-feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #FF7A28 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  margin-bottom: 25px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(232, 93, 4, 0.2);
  position: relative;
}

.doorbell-feature-card:hover .doorbell-feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(232, 93, 4, 0.4),
              0 0 0 8px rgba(232, 93, 4, 0.1);
}

/* Feature Title */
.doorbell-feature-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 18px;
  font-weight: 600;
  transition: all var(--transition-base) ease;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.doorbell-feature-title a {
  color: inherit;
  text-decoration: none;
}

.doorbell-feature-card:hover .doorbell-feature-title {
  color: var(--secondary-color);
  transform: translateX(3px);
}

.doorbell-feature-description {
  color: #555;
  line-height: 1.7;
  transition: all var(--transition-base) ease;
  font-weight: 400;
}

.doorbell-feature-card:hover .doorbell-feature-description {
  color: #333;
  transform: translateX(3px);
}

.doorbell-feature-description strong {
  color: var(--primary-color);
  transition: color var(--transition-base) ease;
  font-weight: 600;
}

.doorbell-feature-card:hover .doorbell-feature-description strong {
  color: var(--secondary-color);
}

/* CTA Section */
.doorbell-cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a4270 100%);
  padding: 50px 20px;
  text-align: center;
  color: white;
}

.doorbell-cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.doorbell-cta-title {
  font-size: 2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: white;
}

.doorbell-cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.doorbell-cta-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.doorbell-stat-item {
  text-align: center;
  padding: 20px;
}

.doorbell-stat-number {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--secondary-color);
  display: block;
}

.doorbell-stat-label {
  font-size: 0.9em;
  opacity: 0.9;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   MOBILE OPTIMIZATIONS
   ======================================== */

@media (max-width: 768px) {
  .woof_container h4 {
    font-size: 0.9375rem;
  }
  
  .woof-sd-ie-title {
    font-size: 0.8125rem;
  }
  
  .doorbell-hero-section {
    padding: 40px 15px 30px;
  }
  
  .doorbell-hero-title {
    font-size: 2.2em;
  }
  
  .doorbell-hero-description {
    font-size: 1.1em;
  }
  
  .doorbell-features-section {
    padding: 40px 15px;
  }
  
  .doorbell-features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .doorbell-feature-card {
    padding: 25px 20px;
  }
  
  .doorbell-cta-stats {
    gap: 25px;
  }
  
  .doorbell-stat-item {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .doorbell-hero-title {
    font-size: 1.8em;
  }
  
  .doorbell-hero-description {
    font-size: 1em;
  }
  
  .doorbell-feature-card {
    padding: 20px;
  }
  
  .doorbell-cta-stats {
    flex-direction: column;
    gap: 15px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .doorbell-feature-card,
  .doorbell-feature-icon,
  .doorbell-feature-title,
  .doorbell-feature-description {
    transition: none !important;
    animation: none !important;
  }
  
  .doorbell-feature-card:hover {
    transform: none !important;
  }
}
/* ===============================================
   ADDITIONAL PRODUCT ARCHIVE STYLES FROM CUSTOMIZER
   =============================================== */

/* WooCommerce Product Borders */
.woocommerce ul.products li.product {
    border: 0.0625rem solid #eeeeee;
    box-sizing: border-box;
    border-radius: 0.3125rem;
}

/* Hide Related Products */
.related.products {
    display: none;
}

/* Backorder Message Styling */
.woobt-products .woobt-product .woobt-title .stock.available-on-backorder {
    color: #14365d;
    font-weight: bold;
}

/* Responsive Product Grid Adjustments */
@media only screen and (max-width: 47.9375rem) {
    .woobt-wrap-responsive .woobt-products .woobt-product {
        flex-direction: row;
    }
}
							  </style>

/* ========================================
   PRODUCT BADGES (SALE & VIDEO ICONS)
   Fixed with hardcoded colors
   ======================================== */

.custom-sale-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.custom-sale-badge:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.5);
}

.custom-sale-badge svg {
    width: 14px;
    height: 14px;
}

.video-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(37, 99, 235, 0.95);
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
    transition: transform 0.2s ease, background 0.2s ease;
}

.video-icon:hover {
    transform: scale(1.1);
    background: rgba(29, 78, 216, 1);
}

.video-icon svg {
    width: 18px;
    height: 18px;
}

/* Ensure product images are positioned relative for badges */
.woocommerce ul.products li.product .woocommerce-loop-product__link,
.woocommerce-loop-product__link {
    position: relative;
    display: block;
}

@media (max-width: 480px) {
    .custom-sale-badge {
        font-size: 11px;
        padding: 4px 8px;
        border-radius: 4px;
    }
    
    .custom-sale-badge svg {
        width: 12px;
        height: 12px;
    }
    
    .video-icon {
        width: 32px;
        height: 32px;
    }
    
    .video-icon svg {
        width: 16px;
        height: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .custom-sale-badge,
    .video-icon {
        transition: none;
    }
    
    .custom-sale-badge:hover,
    .video-icon:hover {
        transform: none;
    }
}