/* ===================================
   SHOP BY CATALOGUE - V2 STYLES
   Clean, Modern
   =================================== */

/* ===================================
   1. SECTION BASE STYLES
   =================================== */
.shop-by-catalogue {
  padding: 40px 0;
  background: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.shop-by-catalogue .container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================================
   2. SECTION TITLE
   =================================== */
.catalogue-main-title {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-secondary);
  color: #1a8917;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

/* ===================================
   3. CATALOGUE GRID
   =================================== */
.catalogue-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(3, auto);
  gap: 16px;
  margin-bottom: 80px;
}

/* Featured card spans 2 rows */
.featured-catalogue-card {
  grid-row: span 2;
  background: linear-gradient(135deg, #9cc39b 0%, #fdecd9 100%);
  border-radius: 12px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-catalogue-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* ===================================
   4. FEATURED CARD CONTENT
   =================================== */
.featured-content {
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
}

.featured-brand {
  font-size: 48px;
  font-weight: 700;
  color: #1a8917;
  margin: 0 0 8px 0;
  font-style: italic;
  letter-spacing: -1px;
}

.featured-tagline {
  font-size: 18px;
  color: #444444;
  margin: 0 0 24px 0;
}

.featured-cta {
  background: #188140;
  color: #ffffff;
  border: none;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: capitalize;
}

.featured-cta:hover {
  background: #1a8917;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 137, 23, 0.3);
}

/* Featured Background Image */
.featured-image {
  position: absolute;
  right: -50px;
  top: 20px;
  width: 300px;
  height: 400px;
  opacity: 0.9;
  z-index: 1;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Featured Products Row */
.featured-products {
  display: flex;
  gap: 16px;
  margin-top: auto;
  position: relative;
  z-index: 2;
}

.featured-product-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  cursor: pointer;
  flex: 1;
}     

.featured-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.featured-product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}

.product-info {
  padding: 0 4px;
}

.product-price {
  font-size: 18px;
  font-weight: 700;
  color: #6cab84;
  margin-right: 8px;
}

.product-original {
  font-size: 14px;
  color: #999999;
  text-decoration: line-through;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 13px;
}

.stars {
  color: #ff9500;
  font-weight: 600;
}

.sold {
  color: #666666;
}

/* ===================================
   5. REGULAR CATALOGUE CARDS
   =================================== */
.catalogue-card {
  background: #f0ecec;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
}

.catalogue-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.catalogue-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #1a8917;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.catalogue-card:hover::after {
  transform: scaleX(1);
}

.catalogue-image {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: #f8f8f8;
}

.catalogue-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.catalogue-card:hover .catalogue-image img {
  transform: scale(1.08);
}

.catalogue-title {
  font-size: 16px;
  font-weight: 600;
  color: #222222;
  padding: 16px 20px;
  margin: 0;
  text-align: center;
  letter-spacing: -0.2px;
}


/* ===================================
   6. MORE TO LOVE SECTION
   =================================== */
.more-section {
  border-top: 1px solid #e5e5e5;
  padding-top: 1px;
  margin-top: -3rem;
}

.more-title {
  font-size: 24px;
  font-weight: 600;
  color: #078b31;
  font-family: var(--font-secondary);
  margin: 0 0 32px 0;
  text-align: center;
  letter-spacing: -0.5px;
}

/* More Products Grid */
.more-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.more-product-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.more-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: #1a8917;
}

.more-product-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f8f8f8;
}

.more-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.more-product-card:hover .more-product-image img {
  transform: scale(1.05);
}

.more-product-info {
  padding: 12px;
}

.more-product-title {
  font-size: 14px;
  color: #222222;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  min-height: 2.8em;
}

.more-product-price {
  font-size: 18px;
  font-weight: 700;
  color: #222222;
  margin: 0;
}

.more-product-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  font-size: 13px;
  color: #666666;
}

.more-product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.rating-star {
  color: #ff9500;
}

/* ===================================
   7. LOAD MORE BUTTON
   =================================== */
.load-more-container {
  text-align: center;
  margin-top: 40px;
}

.load-more-btn {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  color: #222222;
  padding: 14px 48px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.load-more-btn:hover {
  background: #1a8917;
  color: #ffffff;
  border-color: #1a8917;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 137, 23, 0.2);
}

.load-more-btn i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.load-more-btn:hover i {
  transform: translateY(2px);
}

/* Ensure load more container is visible */
.load-more-container {
  text-align: center;
  margin-top: 40px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Enhanced load more button styles */
.load-more-btn {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  color: #222222;
  margin-bottom: 1rem;
  font-size: 16px;
  font-weight: 600;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex !important; /* Force display */
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.load-more-btn:hover:not(:disabled) {
  background: #1a8917;
  color: #ffffff;
  border-color: #1a8917;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 137, 23, 0.2);
}

.load-more-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.load-more-btn i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.load-more-btn:hover:not(:disabled) i {
  transform: translateY(2px);
}

/* Loading spinner animation */
.fa-spinner.fa-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Add animations if not already defined */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* ===================================
   8. LOADING STATES
   =================================== */
.product-skeleton {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
}

.skeleton-image {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(90deg, #f5f5f5 25%, #e5e5e5 50%, #f5f5f5 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-info {
  padding: 12px;
}

.skeleton-line {
  height: 14px;
  background: linear-gradient(90deg, #f5f5f5 25%, #e5e5e5 50%, #f5f5f5 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
  margin-bottom: 8px;
}

.skeleton-line:last-child {
  width: 60%;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ===================================
   9. RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1200px) {
  .catalogue-grid {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto;
  }
  
  .featured-catalogue-card {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  .featured-image {
    width: 250px;
    height: 350px;
  }
}

@media (max-width: 992px) {
  .catalogue-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .featured-catalogue-card {
    grid-column: span 2;
  }
  
  .featured-products {
    flex-wrap: wrap;
  }
  
  .featured-product-card {
    flex: 1 1 calc(33.333% - 16px);
    min-width: 120px;
  }
  
  .more-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

/* ===================================
   CALL TO ACTION SECTION - ELEGANT REDESIGN
   =================================== */
.container {
  margin: 0 auto;
  
}
.cta-section {
  padding: 1px 0;
  background: linear-gradient(135deg, #f8fafb 0%, #ffffff 50%, #f0f9ff 100%);
  position: relative;
  overflow: hidden;
}

/* Background decoration */
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(26, 137, 23, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 40%;
  height: 150%;
  background: radial-gradient(circle, rgba(52, 152, 219, 0.02) 0%, transparent 60%);
  pointer-events: none;
}

.cta-wrapper {
  display: flex;
  align-items: center;
  gap: 80px;
  background: white;
  border-radius: 32px;
  padding: 60px;
  box-shadow: 
    0 10px 40px -10px rgba(0, 0, 0, 0.08),
    0 20px 60px -20px rgba(26, 137, 23, 0.05);
  position: relative;
  z-index: 1;
  border: 1px solid rgba(226, 232, 240, 0.6);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cta-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 20px 50px -10px rgba(0, 0, 0, 0.1),
    0 30px 70px -20px rgba(26, 137, 23, 0.08);
}

/* Content styling */
.cta-content {
  flex: 1;
  max-width: 600px;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 16px 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-family: var(--font-secondary);
  background: linear-gradient(135deg, #0f172a 0%, #1a8917 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-content p {
  font-size: 1.125rem;
  color: #64748b;
  margin: 0 0 32px 0;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

/* CTA Buttons Container */
.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Primary CTA Button */
.cta-btn {
  padding: 16px 32px;
  border-radius: 28px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.cta-btn.primary {
  background: linear-gradient(135deg, #1a8917 0%, #16a085 100%);
  color: white;
  border: none;
  box-shadow: 
    0 4px 14px 0 rgba(26, 137, 23, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.cta-btn.primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.cta-btn.primary:hover::before {
  left: 100%;
}

.cta-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 7px 20px 0 rgba(26, 137, 23, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-btn.primary:active {
  transform: translateY(-1px);
}

/* Secondary CTA Button */
.cta-btn.secondary {
  background: transparent;
  color: #1a8917;
  border: 2px solid #e2e8f0;
  position: relative;
}

.cta-btn.secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 2px;
  background: linear-gradient(135deg, #1a8917, #16a085);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cta-btn.secondary:hover::before {
  opacity: 1;
}

.cta-btn.secondary:hover {
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* CTA Image Container */
.cta-image {
  flex: 0 0 auto;
  position: relative;
}

.cta-image-wrapper {
  width: 450px;
  height: 450px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 20px;
  box-shadow: 
    0 20px 40px -10px rgba(26, 137, 23, 0.1),
    inset 0 2px 4px rgba(255, 255, 255, 0.8);
}

/* Decorative ring */
.cta-image-wrapper::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a8917, #16a085, #3498db);
  opacity: 0.1;
  animation: rotateGradient 20s linear infinite;
}

.cta-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: white;
  z-index: 1;
}

.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  transform: scale(0.9);
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cta-wrapper:hover .cta-image img {
  transform: scale(0.95);
}

/* Floating elements */
.floating-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  font-size: 1.5rem;
  animation: float 3s ease-in-out infinite;
}

.floating-icon:nth-child(2) {
  top: 10%;
  left: -30px;
  color: #1a8917;
  animation-delay: 0s;
}

.floating-icon:nth-child(3) {
  bottom: 20%;
  right: -30px;
  color: #16a085;
  animation-delay: 1s;
}

.floating-icon:nth-child(4) {
  top: 50%;
  right: -40px;
  color: #3498db;
  animation-delay: 2s;
}

/* Stats badges */
.cta-stats {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  background: white;
  padding: 16px 32px;
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(226, 232, 240, 0.6);
}

.stat-badge {
  text-align: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a8917;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes rotateGradient {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ===================================
   PRODUCT INTEGRATION STYLES
   =================================== */

/* ===================================
   1. ENHANCED PRODUCT CARD INTERACTIONS
   =================================== */

/* Cursor and hover effects for all product cards */
.product-card,
.popular-product-card,
.more-product-card,
.featured-product-card,
.service-product {
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

/* Hover lift effect */
.product-card:hover,
.popular-product-card:hover,
.more-product-card:hover,
.featured-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* Active/clicking state */
.product-card:active,
.popular-product-card:active,
.more-product-card:active,
.featured-product-card:active {
  transform: scale(0.98);
  transition-duration: 0.1s;
}

/* Loading state when navigating */
.product-card.loading,
.popular-product-card.loading,
.more-product-card.loading {
  opacity: 0.6;
  pointer-events: none;
}

.product-card.loading::after,
.popular-product-card.loading::after,
.more-product-card.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #1a8917;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Ensure buttons are clickable and don't trigger card navigation */
.product-card button,
.popular-product-card button,
.more-product-card button,
.featured-product-card button {
  position: relative;
  z-index: 2;
  cursor: pointer;
}

/* Prevent text selection on click */
.product-card *,
.popular-product-card *,
.more-product-card *,
.featured-product-card * {
  user-select: none;
}

/* Image hover effect */
.product-image-wrapper,
.more-product-image,
.product-card-image,
.featured-product-card img {
  overflow: hidden;
  position: relative;
}

.product-card:hover img,
.popular-product-card:hover img,
.more-product-card:hover img,
.featured-product-card:hover img {
  transform: scale(1.05);
  transition: transform 0.5s ease;
}

/* ===================================
   2. QUICK VIEW MODAL STYLES
   =================================== */

.quick-view-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.quick-view-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  cursor: pointer;
}

.quick-view-content {
  position: relative;
  background: white;
  border-radius: 16px;
  max-width: 900px;
  width: 90%;
  max-height: 85vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease;
}

.quick-view-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  color: #374151;
  font-size: 1.25rem;
}

.quick-view-close:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: rotate(90deg);
}

.quick-view-body {
  padding: 40px;
  overflow-y: auto;
  max-height: 85vh;
}

.quick-view-loading {
  text-align: center;
  padding: 60px 20px;
  color: #6b7280;
}

.quick-view-loading i {
  font-size: 2rem;
  color: #1a8917;
  margin-bottom: 16px;
}

.quick-view-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.quick-view-image {
  position: relative;
  background: #f9fafb;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
}

.quick-view-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-view-info h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.quick-view-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}

.quick-view-price .current {
  font-size: 2rem;
  font-weight: 800;
  color: #1a8917;
}

.quick-view-price .original {
  font-size: 1.25rem;
  color: #9ca3af;
  text-decoration: line-through;
}

.quick-view-desc {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 32px;
}

.quick-view-actions {
  display: flex;
  gap: 16px;
}

.quick-view-actions button {
  flex: 1;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-view-full {
  background: #f3f4f6;
  color: #374151;
}

.btn-view-full:hover {
  background: #e5e7eb;
  transform: translateY(-2px);
}

.btn-add-cart {
  background: #1a8917;
  color: white;
}

.btn-add-cart:hover {
  background: #16a085;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 137, 23, 0.3);
}


/* ===================================
   4. ANIMATIONS
   =================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===================================
   5. VISUAL FEEDBACK FOR NAVIGATION
   =================================== */

/* Link icon indicator on hover */
.product-card::before,
.popular-product-card::before,
.more-product-card::before {
  content: '\f35d'; /* Font Awesome external link icon */
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: #1a8917;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-card:hover::before,
.popular-product-card:hover::before,
.more-product-card:hover::before {
  opacity: 1;
  transform: scale(1);
}

/* ===================================
   6. PRODUCT CARD STATES
   =================================== */

/* Recently viewed indicator */
.product-card.recently-viewed,
.popular-product-card.recently-viewed,
.more-product-card.recently-viewed {
  position: relative;
}

.product-card.recently-viewed::after,
.popular-product-card.recently-viewed::after,
.more-product-card.recently-viewed::after {
  content: 'Recently Viewed';
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(59, 130, 246, 0.9);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.625rem;
  font-weight: 600;
  z-index: 2;
}

/* Out of stock overlay */
.product-card.out-of-stock,
.popular-product-card.out-of-stock,
.more-product-card.out-of-stock {
  position: relative;
  pointer-events: none;
}

.product-card.out-of-stock::before,
.popular-product-card.out-of-stock::before,
.more-product-card.out-of-stock::before {
  content: 'Out of Stock';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  z-index: 5;
}

.product-card.out-of-stock img,
.popular-product-card.out-of-stock img,
.more-product-card.out-of-stock img {
  opacity: 0.5;
  filter: grayscale(100%);
}