:root {
  /* Font Families */
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Font Weights */
  --thin: 200;
  --light: 300;
  --regular: 400;
  --medium: 500;
  --semibold: 600;

  /* Color Palette */
  --primary: #2ecc71;
  --primary-light: #4cda85;
  --secondary: #7f8c8d;
  --dark: #2c3e50;
  --black: #000000;
  --bg: #f5f5f5;
  --white: #ffffff;

  /* Spacing */
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
}

/* *,
*::before,
*::after {
    box-sizing: border-box;
    outline: 2px solid lime;
}    */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  overflow-x: hidden;
}

/* Floating user button – bottom left, fixed */
.floating-user-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  animation: fadeIn 0.4s ease-out;
}

.floating-user-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 28px;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.floating-user-link:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Badge (wishlist + cart count) */
.floating-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #e74c3c;
  color: white;
  font-size: 12px;
  font-weight: var(--semibold);
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border: 2px solid var(--white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Mobile adjustments – make it a bit bigger for touch */
@media (max-width: 768px) {
  .floating-user-btn {
    bottom: 15px;
    left: 15px;
  }
  .floating-user-link {
    width: 70px;
    height: 70px;
    font-size: 32px;
  }
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Contact Section Styles */
.nav-links a.active::after,
.nav-links a:hover::after {
  background: linear-gradient(
    135deg,
    var(--dark) 0%,
    var(--dark) 50%,
    var(--primary-light) 100%
  );
}

.contact-section {
  position: relative;
  top: -6rem;
  padding: var(--space-xl) 5%;
  overflow: hidden;
  background-color: var(--white);
  isolation: isolate;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.3);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(46, 204, 113, 0.3),
    rgba(0, 0, 0, 0.5)
  );
  z-index: -1;
}

.contact-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.15;
  z-index: 0;
  transition: all 0.5s ease;
}

.contact-shape-1 {
  width: 250px;
  height: 250px;
  background: var(--primary);
  top: 10%;
  left: 5%;
  animation: float 12s infinite ease-in-out;
}

.contact-shape-2 {
  width: 300px;
  height: 300px;
  background: var(--primary-light);
  bottom: 15%;
  right: 5%;
  animation: float 15s infinite ease-in-out reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, 20px) scale(1.05);
  }
}

.contact-header {
  margin-top: 8rem;
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

.contact-header h2 {
  font-family: var(--font-heading);
  font-weight: var(--semibold);
  font-size: 3rem;
  color: var(--white);
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.contact-header h2 .highlight {
  color: var(--primary-light);
}

.contact-header p {
  font-family: var(--font-body);
  font-weight: var(--light);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto var(--space-xl);
  position: relative;
  z-index: 1;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-card {
  position: relative;
  left: 7rem;
  width: 70%;
  height: 70%;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: var(--space-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInLeft 0.6s ease-out forwards;
}

.contact-card:nth-child(2) {
  animation-delay: 0.2s;
}
.contact-card:nth-child(3) {
  animation-delay: 0.4s;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.contact-icon {
  width: 88px;
  height: 88px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: background 0.3s ease;
}
.contact-icon i {
  font-size: 40px;
}
.contact-card:hover .contact-icon {
  background: var(--primary-light);
}

.contact-card h3 {
  /* position: relative;
    top: -2rem; */
  font-family: var(--font-heading);
  font-weight: var(--medium);
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: var(--space-sm);
}

.contact-card p {
  position: relative;

  font-family: var(--font-body);
  font-weight: var(--light);
  color: var(--secondary);
  line-height: 1.5;
}

.social-links {
  margin-top: var(--space-md);
}

.social-links h3 {
  position: relative;
  top: -2rem;
  left: -4rem;
  font-family: var(--font-heading);
  font-weight: var(--medium);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.social-links h3 .highlight {
  color: var(--primary);
}

.social-icons {
  position: relative;
  top: 0.3rem;
  left: -12rem;
  display: flex;
  gap: var(--space-md);
}

.social-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--primary-light);
  transform: scale(1.1) rotate(5deg);
}

.contact-form {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: var(--space-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateX(20px);
  animation: slideInRight 0.6s ease-out forwards;
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.form-group {
  position: relative;
  margin-bottom: var(--space-lg);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-md) 0;
  border: none;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  font-family: var(--font-body);
  font-size: 1rem;
  background: transparent;
  transition: border-color 0.3s ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.input-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.4s ease;
}

.form-group input:focus ~ .input-border,
.form-group textarea:focus ~ .input-border {
  width: 100%;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: var(--white);
  padding: var(--space-md) var(--space-lg);
  border: none;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: var(--medium);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(46, 204, 113, 0.3);
}

.arrow-icon {
  margin-left: var(--space-sm);
  transition: transform 0.3s ease;
}

.submit-btn:hover .arrow-icon {
  transform: translateX(5px);
}

.contact-map {
  position: relative;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  z-index: 1;

  animation: fadeIn 0.8s ease-out 0.6s forwards;
}
.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.1),
    rgba(0, 0, 0, 0.2)
  );
  pointer-events: none;
}

@media (max-width: 1024px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .contact-header h2 {
    font-size: 2.5rem;
    margin-top: 5rem;
  }
}

@media (max-width: 768px) {
  .contact-header h2 {
    font-size: 2rem;
  }

  .contact-card {
    flex-direction: column;
    text-align: center;
    width: 100%;
    left: -0.2rem;
  }

  .contact-icon {
    margin-bottom: var(--space-sm);
  }

  .contact-map {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .contact-header h2 {
    top: 1rem;
    position: relative;
    font-size: 1.8rem;
  }
  .contact-card p {
    margin-top: -1rem;
  }

  .contact-header p {
    font-size: 0.9rem;
    top: 1rem;
    position: relative;
  }

  .contact-form {
    padding: var(--space-md);
  }

  .contact-map {
    height: 300px;
  }
}
.nav-links a.active {
  color: var(--dark);
}

header.scrolled {
  padding: var(--space-sm) var(--space-xl);
  background: rgba(44, 62, 80, 0.6);
}

/* ================================
Catalogue Header 
=================================== */

/* Catalogue Header */
.catalogue-header {
  background: linear-gradient(
    135deg,
    var(--dark) 0%,
    var(--primary) 50%,
    var(--primary-light) 100%
  );
  padding: var(--space-md) var(--space-lg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  bottom: 1rem;
  z-index: 10;
  height: 8rem;
}

.catalogue-nav {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.catalogue-nav-item {
  position: relative;
}

.catalogue-nav-btn {
  margin-top: 4rem;
  background: transparent;
  color: var(--white);
  padding: var(--space-sm) var(--space-md);
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: var(--medium);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.catalogue-nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.catalogue-nav-btn.active {
  background-color: rgba(255, 255, 255, 0.2);
  font-weight: var(--semibold);
}

.catalogue-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  min-width: 220px;
  z-index: 100;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.catalogue-nav-item:hover .catalogue-dropdown {
  display: block;
}

.catalogue-dropdown-item {
  color: var(--dark);
  display: flex;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
  font-weight: var(--regular);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.catalogue-dropdown-item:last-child {
  border-bottom: none;
}

.catalogue-dropdown-item:hover {
  background-color: var(--primary-light);
  color: var(--white);
  transform: translateX(5px);
}

.catalogue-dropdown-item.active {
  background-color: var(--primary);
  color: var(--white);
  font-weight: var(--medium);
}

.catalogue-dropdown-item img {
  height: 30px;
  margin-right: 0.5rem;
  transition: transform 0.2s ease;
}

.catalogue-dropdown-item:hover img {
  transform: scale(1.1);
}

.mecer-logo {
  min-height: 90px;
  overflow: hidden;
}

/* Catalogue Slideshow */
/* Catalogue Slideshow */
.catalogue-slideshow {
  position: relative;
  top: -3rem;
  max-width: 1200px;
  margin: var(--space-lg) auto;
  overflow: hidden;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  margin-bottom: -2rem;
  background: rgba(30, 30, 40, 0.95);
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
}

/* Background Video */
.catalogue-slide-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Specific video overlays for dark products */
.catalogue-slide:nth-child(4) .catalogue-slide-bg-video,
.catalogue-slide:nth-child(5) .catalogue-slide-bg-video {
  filter: brightness(1.6) contrast(0.85) saturate(1.3);
  mix-blend-mode: screen;
  opacity: 0.9;
}

/* Slide Container */
.catalogue-slides {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  height: 500px;
}

/* Individual Slide */
.catalogue-slide {
  min-width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Content Wrapper */
.catalogue-slide-content {
  display: flex;
  width: 100%;
  height: 100%;
  padding: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
  gap: var(--space-xl);
}

/* Text Content (Left Side) */
.catalogue-slide-caption {
  flex: 1;
  color: var(--white);
  text-align: left;
  padding: var(--space-xl);
  position: relative;
  z-index: 2;
  max-width: 50%;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  border-radius: 12px;
  backdrop-filter: blur(5px);
  margin-left: var(--space-lg);
}

/* Product Image Container (Right Side) */
.catalogue-slide-img-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: var(--space-xl);
}

/* Product Images */
.catalogue-slide-img-container img {
  max-height: 380px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5))
    drop-shadow(0 2px 4px rgba(255, 255, 255, 0.1));
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.catalogue-slide-img-container img:hover {
  transform: scale(1.08) translateY(-5px);
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.6))
    drop-shadow(0 4px 8px rgba(255, 255, 255, 0.15));
}

/* Typography */
.catalogue-slide-caption h3 {
  font-family: var(--font-heading);
  font-weight: var(--bold, 700);
  margin-bottom: var(--space-md);
  font-size: 2.2rem;
  line-height: 1.2;
  /* text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); */
  background: linear-gradient(135deg, #fff 30%, #4cda85 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.catalogue-slide-caption p {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: var(--space-xl);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  max-width: 500px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: var(--regular, 400);
}

/* Badge */
.catalogue-badge {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  color: var(--white);
  padding: 0.7rem 1.8rem;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: var(--semibold, 600);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  box-shadow:
    0 6px 20px rgba(46, 204, 113, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  margin-bottom: var(--space-lg);
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.catalogue-badge:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 25px rgba(46, 204, 113, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Navigation Buttons */
.catalogue-slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: var(--white);
  border: none;
  padding: var(--space-md);
  cursor: pointer;
  font-size: 1.8rem;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  z-index: 10;
  opacity: 0.9;
}

.catalogue-slide-btn:hover {
  background: linear-gradient(
    135deg,
    var(--primary-light) 0%,
    var(--primary) 100%
  );
  transform: translateY(-50%) scale(1.15);
  opacity: 1;
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.catalogue-prev {
  left: var(--space-lg);
}

.catalogue-next {
  right: var(--space-lg);
}

/* Slide Indicators */
.catalogue-slide-indicators {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-sm);
  z-index: 10;
}

.catalogue-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.catalogue-indicator:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.2);
}

.catalogue-indicator.active {
  background: var(--white);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  transform: scale(1.3);
}

/* Responsive Design - Refined Version */
@media (max-width: 1024px) {
  .catalogue-slides {
    height: 450px;
  }

  .catalogue-slide-content {
    padding: var(--space-lg);
    gap: var(--space-lg);
  }

  .catalogue-slide-caption {
    padding: var(--space-lg);
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.4) 60%,
      rgba(0, 0, 0, 0) 100%
    );
  }

  .catalogue-slide-img-container img {
    max-height: 380px;
  }

  .catalogue-slide-caption h3 {
    font-size: 1.8rem;
  }

  .catalogue-slide-caption p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .catalogue-slideshow {
    border-radius: 0;
    margin-left: -1rem;
    margin-right: -1rem;
    max-width: none;
    width: calc(100% + 2rem);
  }

  .catalogue-slides {
    height: auto;
    min-height: 500px;
  }

  .catalogue-slide-content {
    flex-direction: column;
    text-align: center;
    padding: var(--space-lg);
    gap: var(--space-lg);
  }

  .catalogue-slide-caption {
    max-width: 100%;
    text-align: center;
    padding: var(--space-lg);
    margin-left: 0;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.6) 50%,
      rgba(0, 0, 0, 0.4) 100%
    );
    border-radius: 12px;
    backdrop-filter: blur(10px);
  }

  .catalogue-slide-img-container {
    padding: var(--space-md);
    order: -1;
    height: 340px;
  }

  .catalogue-slide-img-container img {
    max-height: 320px;
    max-width: 80%;
  }

  .catalogue-slide-caption h3 {
    font-size: 1.6rem;
  }

  .catalogue-slide-caption p {
    font-size: 1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .catalogue-slide-btn {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .catalogue-prev {
    left: var(--space-sm);
  }

  .catalogue-next {
    right: var(--space-sm);
  }
}

@media (max-width: 640px) {
  .catalogue-slideshow {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    width: calc(100% + 1.5rem);
  }

  .catalogue-slides {
    min-height: 480px;
  }

  .catalogue-slide-content {
    padding: var(--space-md);
    gap: var(--space-md);
  }

  .catalogue-slide-caption {
    padding: var(--space-md);
  }
  .catalogue-slide-img-container {
    height: 320px;
  }
  .catalogue-slide-img-container img {
    max-height: 300px;
  }

  .catalogue-slide-caption h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .catalogue-slideshow {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    width: calc(100% + 1rem);
  }

  .catalogue-slides {
    min-height: 450px;
  }

  .catalogue-slide-content {
    padding: var(--space-md);
    position: relative;
    top: -1rem;
  }

  .catalogue-slide-caption {
    padding: var(--space-sm);
    border-radius: 10px;
  }

  .catalogue-slide-caption h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
  }

  .catalogue-slide-caption p {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .catalogue-slide-img-container img {
    max-height: 280px; /* Increased from 200px */
    max-width: 90%;
  }

  .catalogue-slide-img-container {
    height: 400px;
    top: -2rem;
  }

  .catalogue-badge {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
  }

  .catalogue-slide-btn {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .catalogue-prev {
    left: 10px;
  }

  .catalogue-next {
    right: 10px;
  }
  .catalogue-slideshow {
    margin-top: -0.5rem;
  }
  .catalogue-slide-content {
    height: 250px;
    position: relative;
    top: -4rem;
  }
}

@media (max-width: 360px) {
  .catalogue-slides {
    min-height: 420px;
  }

  .catalogue-slide-content {
    padding: var(--space-sm);
  }

  .catalogue-slide-caption {
    padding: var(--space-xs) var(--space-sm);
  }

  .catalogue-slide-caption h3 {
    font-size: 1.3rem;
  }

  .catalogue-slide-caption p {
    font-size: 0.9rem;
  }

  .catalogue-slide-img-container img {
    max-height: 240px;
  }
  .catalogue-slide-img-container {
    height: 260px;
  }

  .catalogue-badge {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }

  .catalogue-slide-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}
/* Catalogue Results */
:root {
  /* Font Families */
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Font Weights */
  --thin: 200;
  --light: 300;
  --regular: 400;
  --medium: 500;
  --semibold: 600;

  /* Color Palette */
  --primary: #2ecc71;
  --primary-light: #4cda85;
  --secondary: #7f8c8d;
  --dark: #2c3e50;
  --black: #000000;
  --bg: #f5f5f5;
  --white: #ffffff;

  /* Spacing */
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
}

/* Catalogue Results */
.catalogue-results-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-lg);
  font-family: var(--font-heading);
  font-weight: var(--semibold);
  font-size: 1.8rem;
  color: var(--dark);
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--primary-light) 0%,
    var(--white) 100%
  );
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
  transition: all 0.3s ease;
}

.catalogue-products {
  max-width: 1200px;
  margin: var(--space-lg) auto;
  padding: 0 var(--space-md);
}

.catalogue-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.catalogue-product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.catalogue-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Product card inner structure */
.product-card-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Best Seller Badge */
.best-seller-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #333;
  padding: 6px 15px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: var(--semibold);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.best-seller-badge i {
  color: #333;
  font-size: 0.9rem;
}

/* Product Image */
.catalogue-product-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: transparent;
  padding: var(--space-md);
  transition: transform 0.3s ease;
}

.catalogue-product-card:hover img {
  transform: scale(1.05);
}

.catalogue-product-info {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.catalogue-product-info h3 {
  font-family: var(--font-heading);
  font-weight: var(--semibold);
  margin-bottom: var(--space-sm);
  color: var(--dark);
  font-size: 1.1rem;
  line-height: 1.4;
}

.catalogue-product-info p {
  color: var(--secondary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

/* Product specs */
.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: var(--space-sm) 0 var(--space-md);
}

.spec-item {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: var(--medium);
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.spec-item i {
  font-size: 0.7rem;
  color: var(--primary);
}

/* Rating styles */
.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: var(--space-sm) 0 var(--space-md);
  flex-wrap: wrap;
}

.product-rating .stars {
  display: flex;
  gap: 3px;
}

.product-rating .stars i {
  color: #FFD700;
  font-size: 0.9rem;
}

.product-rating .stars i.far.fa-star {
  color: #ccc;
}

.rating-value {
  font-weight: var(--semibold);
  color: var(--dark);
  font-size: 0.9rem;
  background: #f8f9fa;
  padding: 2px 8px;
  border-radius: 20px;
}

.review-count {
  color: var(--secondary);
  font-size: 0.8rem;
  position: relative;
  padding-left: 8px;
}

.review-count::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--secondary);
  opacity: 0.5;
}

/* Product footer */
.product-footer {
  margin-top: auto;
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Price styling */
.price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: var(--semibold);
  color: var(--primary);
  display: inline-block;
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), transparent);
  padding: 4px 12px;
  border-radius: 8px;
}

/* Remove all login/wishlist/cart related styles */
.btn-login, 
.btn-signup, 
.btn-wishlist, 
.btn-cart,
.product-actions,
.price-message,
.stock-badge,
.stock-low,
.stock-out,
.stock-good,
body.logged-in .btn-login,
body.logged-in .btn-signup,
body:not(.logged-in) .btn-login,
body:not(.logged-in) .btn-signup,
body.logged-in .btn-wishlist,
body.logged-in .btn-cart,
body:not(.logged-in) .btn-wishlist,
body:not(.logged-in) .btn-cart,
body.logged-in .catalogue-product-info .price,
body:not(.logged-in) .catalogue-product-info .price,
body.logged-in .catalogue-product-info .price-message,
body:not(.logged-in) .catalogue-product-info .price-message {
  display: none !important;
}

/* Show price for all users */
.price {
  display: inline-block !important;
}

/* Loading and Error States */
.loading {
  text-align: center;
  padding: var(--space-xl);
  font-size: 1.2rem;
  color: var(--secondary);
  font-family: var(--font-heading);
  font-weight: var(--medium);
}

.loading i {
  color: var(--primary);
  margin-right: 10px;
}

.error {
  text-align: center;
  padding: var(--space-lg);
  font-size: 1.1rem;
  color: #dc2626;
  background: linear-gradient(135deg, #fecaca, #fef2f2);
  border-radius: 12px;
  margin: var(--space-md);
  border: 1px solid #fecaca;
  font-family: var(--font-body);
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Tablet devices (768px and below) */
@media (max-width: 768px) {
  .catalogue-header {
    margin-top: 5rem;
    padding: 1rem;
    height: auto;
    bottom: 0;
  }

  .catalogue-nav {
    flex-direction: column;
    gap: 0.5rem;
  }

  .catalogue-nav-item {
    width: 100%;
  }

  .catalogue-nav-btn {
    margin-top: 0;
    width: 100%;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .catalogue-nav-btn i {
    font-size: 1.1rem;
  }

  .catalogue-dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
    border-radius: 0 0 8px 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    background: rgba(0, 0, 0, 0.1);
  }

  .catalogue-dropdown-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .catalogue-dropdown-item:last-child {
    border-bottom: none;
  }

  .catalogue-dropdown-item img {
    height: 25px;
    margin: 0 auto;
  }

  .catalogue-slideshow {
    top: -0.8rem;
    margin-bottom: 0.4rem;
  }

  .catalogue-slide img {
    height: 300px;
  }

  .catalogue-results-header {
    font-size: 1.4rem;
    padding: var(--space-md);
  }

  .catalogue-product-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
  }

  /* Responsive adjustments for new elements */
  .product-specs {
    gap: 5px;
  }

  .spec-item {
    font-size: 0.7rem;
    padding: 3px 10px;
  }

  .product-rating {
    gap: 5px;
  }

  .product-rating .stars i {
    font-size: 0.8rem;
  }

  .rating-value {
    font-size: 0.8rem;
    padding: 2px 6px;
  }

  .review-count {
    font-size: 0.75rem;
  }

  .price {
    font-size: 1.2rem;
    padding: 4px 10px;
  }

  .best-seller-badge {
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    font-size: 0.7rem;
  }
}

/* Small phones (576px and below) */
@media (max-width: 576px) {
  .catalogue-header {
    padding: var(--space-sm);
  }

  .catalogue-slide img {
    height: 250px;
  }

  .catalogue-slide-caption {
    padding: var(--space-md);
  }

  .catalogue-slide-caption h3 {
    font-size: 1.2rem;
  }

  .catalogue-badge {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }

  .catalogue-product-grid {
    grid-template-columns: 1fr;
  }

  .catalogue-results-header {
    font-size: 1.2rem;
    margin-top: var(--space-md);
    margin-bottom: var(--space-md);
  }

  .catalogue-product-card img {
    height: 200px;
  }

  .catalogue-product-info {
    padding: var(--space-md);
  }

  .catalogue-product-info h3 {
    font-size: 1rem;
  }

  .product-description {
    font-size: 0.85rem;
  }

  .spec-item {
    font-size: 0.65rem;
    padding: 2px 8px;
  }

  .price {
    font-size: 1.1rem;
  }
}
/* Premium Call to Action Section */
.catalogue-cta {
  background: linear-gradient(
    135deg,
    var(--gradient-start, var(--dark)) 0%,
    var(--gradient-end, var(--secondary)) 100%
  );
  padding: var(--space-xxl) var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  margin: var(--space-xl) 0;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.catalogue-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 80%,
      rgba(46, 204, 113, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.catalogue-cta h2 {
  font-family: var(--font-heading);
  font-weight: var(--bold, 700);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: var(--space-md);
  position: relative;
  letter-spacing: -0.02em;
}

.catalogue-cta p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  line-height: 1.6;
  font-weight: var(--light, 300);
}

/* Premium Button Styles */
.catalogue-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark, #27ae60) 100%
  );
  color: var(--white);
  padding: var(--space-lg) var(--space-xl);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: var(--semibold);
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow:
    0 10px 30px rgba(46, 204, 113, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}

.catalogue-cta-btn::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;
}

.catalogue-cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 15px 40px rgba(46, 204, 113, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: linear-gradient(
    135deg,
    var(--primary-light, #3ddc84) 0%,
    var(--primary) 100%
  );
}

.catalogue-cta-btn:hover::before {
  left: 100%;
}

.catalogue-cta-btn:active {
  transform: translateY(-1px) scale(1.01);
}

.catalogue-cta-btn i {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.catalogue-cta-btn:hover i {
  transform: scale(1.1) translateY(-1px);
}

/* Enhanced Modal Styles */
.catalogue-download-modal-unique {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  font-family: var(--font-body);
}

.catalogue-download-modal-unique .modal-content {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: var(--space-xxl);
  border-radius: 24px;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  width: 90%;
  max-width: 480px;
  position: relative;
  animation: modalSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.catalogue-close-modal-unique {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  font-size: 28px;
  cursor: pointer;
  color: var(--secondary);
  transition: all 0.3s ease;
  line-height: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
}

.catalogue-close-modal-unique:hover {
  color: var(--dark);
  background: rgba(0, 0, 0, 0.1);
  transform: rotate(90deg);
}

.catalogue-modal-title {
  font-family: var(--font-heading);
  font-weight: var(--bold, 700);
  font-size: 2.2rem;
  margin-bottom: var(--space-md);
  text-align: center;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.catalogue-modal-title .highlight {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.catalogue-form-unique {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.catalogue-form-unique .form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
  position: relative;
}

.catalogue-form-unique label {
  font-weight: var(--semibold);
  margin-bottom: var(--space-sm);
  color: var(--dark);
  font-size: 14px;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.catalogue-form-unique input {
  padding: 16px var(--space-md);
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.catalogue-form-unique input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow:
    0 0 0 3px rgba(46, 204, 113, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.catalogue-form-unique input::placeholder {
  color: #adb5bd;
  opacity: 1;
}

.catalogue-submit-unique {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark, #27ae60) 100%
  );
  color: var(--white);
  border: none;
  padding: 18px var(--space-md);
  border-radius: 12px;
  font-size: 16px;
  font-weight: var(--semibold);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  margin-top: var(--space-sm);
  box-shadow:
    0 8px 25px rgba(46, 204, 113, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.catalogue-submit-unique::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;
}

.catalogue-submit-unique:hover {
  background: linear-gradient(
    135deg,
    var(--primary-light, #3ddc84) 0%,
    var(--primary) 100%
  );
  transform: translateY(-2px);
  box-shadow:
    0 12px 30px rgba(46, 204, 113, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.catalogue-submit-unique:hover::before {
  left: 100%;
}

.catalogue-submit-unique:active {
  transform: translateY(0);
}

.catalogue-submit-unique:disabled {
  background: var(--secondary);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .catalogue-cta {
    padding: var(--space-xl) var(--space-lg);
    margin: var(--space-lg) 0;
    border-radius: 16px;
  }

  .catalogue-cta-btn {
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
  }

  .catalogue-download-modal-unique .modal-content {
    padding: var(--space-xl);
    margin: var(--space-md);
  }
}
/* Tablet devices (768px and below) */
@media (max-width: 768px) {
  .catalogue-header {
    margin-top: 5rem;
    padding: 1rem;
    height: auto;
    bottom: 0;
  }

  .catalogue-nav {
    flex-direction: column;
    gap: 0.5rem;
  }

  .catalogue-nav-item {
    width: 100%;
  }

  .catalogue-nav-btn {
    margin-top: 0;
    width: 100%;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .catalogue-nav-btn i {
    font-size: 1.1rem;
  }

  .catalogue-dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
    border-radius: 0 0 5px 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    background: rgba(0, 0, 0, 0.1);
  }

  .catalogue-dropdown-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .catalogue-dropdown-item:last-child {
    border-bottom: none;
  }

  .catalogue-dropdown-item img {
    height: 25px;
    margin: 0 auto;
  }

  .catalogue-slideshow {
    top: -0.8rem;
    margin-bottom: 0.4rem;
  }

  .catalogue-slide img {
    height: 300px;
  }

  .catalogue-results-header {
    font-size: 1.2rem;
  }

  .catalogue-cta {
    margin-bottom: 10rem;
    padding: var(--space-md);
    margin: var(--space-md) auto;
  }

  .catalogue-cta h2 {
    font-size: 1.7rem;
    margin-bottom: var(--space-sm);
  }

  .catalogue-cta p {
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
  }

  .catalogue-cta-btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 1rem;
  }
}

/* Small phones (576px and below) */
@media (max-width: 576px) {
  .catalogue-header {
    padding: var(--space-sm);
  }

  .catalogue-slide img {
    height: 250px;
  }

  .catalogue-slide-caption {
    padding: var(--space-sm);
  }

  .catalogue-slide-caption h3 {
    font-size: 1rem;
  }

  .catalogue-badge {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
  }

  .catalogue-product-grid {
    grid-template-columns: 1fr;
  }

  .catalogue-cta {
    padding: var(--space-md);
    margin-bottom: 9rem;
  }

  .catalogue-cta h2 {
    font-size: 1.3rem;
  }

  .catalogue-cta p {
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
  }
}

/* Extra small phones (400px and below) */
@media (max-width: 400px) {
  .catalogue-slide img {
    height: 200px;
  }

  .catalogue-slide-caption p {
    display: none;
  }

  .catalogue-product-card img {
    height: 180px;
  }

  .catalogue-cta {
    padding: var(--space-sm);
  }

  .catalogue-cta h2 {
    font-size: 1.3rem;
  }

  .catalogue-cta p {
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
  }

  .catalogue-cta-btn {
    width: 100%;
    justify-content: center;
  }
}
