/* ============================================
   CATALOGUE STYLES 3 - MODERN PLAYFUL THEME
   ============================================ */

:root {
  /* CORE THEME VARIABLES - Base Colors */
  --theme-primary-color: var(--cat-primary);
  --theme-secondary-color: var(--cat-secondary);
  --theme-accent-color: var(--cat-accent);
  --theme-background-color: var(--cat-background);
  --theme-text-color: var(--cat-text);
  --theme-font-family: var(--cat-font-family);

  /* DERIVED COLOR VARIABLES - Dark Mode Combinations */
  --cat-primary: var(--theme-accent-color);
  --cat-primary-600: color-mix(in srgb, var(--theme-accent-color) 85%, #000000);
  --cat-primary-50: color-mix(in srgb, var(--theme-accent-color) 15%, #000000);
  
  --cat-secondary: var(--theme-primary-color);
  --cat-secondary-600: var(--theme-secondary-color);
  --cat-secondary-50: color-mix(in srgb, var(--theme-primary-color) 15%, #000000);
  
  --cat-accent: var(--theme-secondary-color);
  --cat-accent-600: color-mix(in srgb, var(--theme-secondary-color) 85%, #000000);
  --cat-accent-50: color-mix(in srgb, var(--theme-secondary-color) 15%, #000000);
  
  --cat-bg-main: color-mix(in srgb, var(--theme-text-color) 10%, #000000);
  --cat-bg-secondary: color-mix(in srgb, var(--theme-text-color) 5%, #000000);
  --cat-bg-tertiary: color-mix(in srgb, var(--theme-text-color) 3%, #000000);
  
  --cat-text-primary: var(--theme-background-color);
  --cat-text-secondary: color-mix(in srgb, var(--theme-background-color) 90%, #ffffff);
  --cat-text-light: color-mix(in srgb, var(--theme-background-color) 80%, #ffffff);
  --cat-text-lighter: color-mix(in srgb, var(--theme-background-color) 70%, #ffffff);
  
  --cat-border: color-mix(in srgb, var(--theme-text-color) 20%, #000000);
  --cat-border-light: color-mix(in srgb, var(--theme-text-color) 10%, #000000);
  --cat-shadow: color-mix(in srgb, var(--theme-accent-color) 8%, rgba(0, 0, 0, 0.4));
  --cat-shadow-lg: color-mix(in srgb, var(--theme-primary-color) 15%, rgba(0, 0, 0, 0.4));
  --cat-shadow-xl: color-mix(in srgb, var(--theme-secondary-color) 10%, rgba(0, 0, 0, 0.3));
  
  /* Status Colors - Generic (Remain Same) */
  --cat-success: #48bb78;
  --cat-warning: #ed8936;
  --cat-error: #f56565;
  --cat-info: #4299e1;
  
  /* Transitions - Playful */
  --cat-transition-base: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --cat-transition-fast: 0.25s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --cat-transition-slow: 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============================================
   INDIVIDUAL CATALOGUE LAYOUT - DARK
   ============================================ */

.individual-catalogue {
  background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 50%, #16213e 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.individual-catalogue::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 255, 136, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 0, 110, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.individual-catalogue > * {
  position: relative;
  z-index: 1;
}

.individual-catalogue-header {
  background: rgba(15, 15, 30, 0.8);
  border-bottom: 1px solid var(--cat-border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 255, 136, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 24px;
  flex-wrap: wrap;
}

.individual-catalogue-header .header-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.individual-catalogue-header .header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.individual-catalogue-header .header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.individual-catalogue-main {
  flex: 1;
  padding: 50px 0;
}

.individual-catalogue-footer {
  background: rgba(10, 10, 20, 0.95);
  border-top: 1px solid var(--cat-border);
  margin-top: auto;
}

/* ============================================
   WELCOME SECTION - PLAYFUL & MINIMALIST
   ============================================ */

.welcome-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 24px;
  padding: 60px 40px;
  margin: 0 20px 50px;
  border: 1px solid var(--cat-border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.welcome-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(0, 255, 136, 0.05) 90deg, transparent 180deg);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.welcome-section-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.welcome-icon {
  font-size: 72px;
  margin: 32px 0 40px 0;
  display: inline-block;
  animation: wiggle 3s ease-in-out infinite;
  padding: 24px;
  background: var(--cat-bg-secondary);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.welcome-icon img {
  width: 350px;
  height: 350px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  animation: none;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-5deg) scale(1.05); }
  75% { transform: rotate(5deg) scale(1.05); }
}

.welcome-section h1 {
  font-size: 2.8rem;
  font-weight: 900;
  margin: 0 0 8px;
  background: linear-gradient(135deg, #ff6b35, #e53e3e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
  color: #ff6b35; /* Fallback for browsers that don't support background-clip */
}

.welcome-section .welcome-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ff6b35 !important;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.welcome-section .welcome-description {
  font-size: 0.95rem;
  color: var(--cat-text-light);
  line-height: 1.6;
  margin: 0 0 24px;
}

.catalogue-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--cat-border);
}

.catalogue-info-grid.has-files {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .catalogue-info-grid.has-files {
    grid-template-columns: 1fr 1fr;
  }
}

.catalogue-info-item {
  text-align: left;
}

.info-label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--cat-text-primary);
  display: block;
  margin-bottom: 12px;
}

.business-hours {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
  font-size: 0.9rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--cat-bg-secondary);
  border-radius: 6px;
  border: 1px solid var(--cat-border);
}

.hours-row .day {
  font-weight: 600;
  color: var(--cat-text-primary);
  min-width: 80px;
}

.hours-row .time {
  color: #ff6b35 !important;
  font-weight: 500;
}

/* Catalogue Files List */
.catalogue-files-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.catalogue-file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--cat-bg-secondary);
  border-radius: 8px;
  border: 1px solid var(--cat-border);
  transition: all 0.3s ease;
}

.catalogue-file-item:hover {
  background: var(--cat-bg-main);
  border-color: var(--cat-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.catalogue-file-name-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  text-decoration: none;
  color: var(--cat-text-primary);
  transition: color 0.3s ease;
}

.catalogue-file-item:hover .catalogue-file-name-link {
  color: var(--cat-primary);
}

.catalogue-file-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.catalogue-file-name {
  flex: 1;
  font-weight: 600;
  font-size: 0.95rem;
}

.catalogue-file-size {
  font-size: 0.85rem;
  color: var(--cat-text-secondary);
  opacity: 0.8;
}

.catalogue-file-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background: var(--cat-primary);
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.catalogue-file-download-btn:hover {
  background: #ff6b35;
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

/* ============================================
   FEATURED SECTIONS - COMPACT LAYOUT
   ============================================ */

.featured-section {
  margin: 0 20px 60px;
}

.featured-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
  text-align: center;
}

.featured-section-header > div {
  flex: 1;
  text-align: center;
  min-width: 100%;
}

.featured-section-header h2 {
  font-size: 1.8rem;
  font-weight: 900;
  margin: 0;
  color: var(--cat-text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.featured-section-header .section-description {
  font-size: 0.85rem;
  color: var(--cat-text-light);
  margin: 4px 0 0;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #ff6b35, #e53e3e);
  color: white !important;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.85rem;
  transition: all var(--cat-transition-base);
  border: none;
  cursor: pointer;
  flex: 0 0 auto;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.view-all-link:hover {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 12px 32px rgba(255, 107, 53, 0.4);
}

@media (min-width: 768px) {
  .featured-section-header {
    text-align: left;
  }
  
  .featured-section-header > div {
    text-align: left;
    min-width: auto;
  }
  
  .featured-section-header .section-description {
    text-align: left;
  }
  
  .view-all-link {
    width: auto;
  }
}

/* ============================================
   ITEM CARDS - SMALL, COMPACT, PLAYFUL
   ============================================ */

.featured-item-card {
  background: rgba(26, 26, 46, 0.6);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: all var(--cat-transition-base);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--cat-border);
  position: relative;
  backdrop-filter: blur(10px);
}

.featured-item-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, transparent 50%, rgba(255, 0, 110, 0.1) 100%);
  opacity: 0;
  transition: opacity var(--cat-transition-base);
  pointer-events: none;
}

.featured-item-card:hover {
  transform: translateY(-6px) scale(1.04) rotate(1deg);
  border-color: var(--cat-primary);
  box-shadow: 
    0 12px 32px rgba(0, 255, 136, 0.2),
    inset 0 0 20px rgba(0, 255, 136, 0.05);
}

.featured-item-card:hover::before {
  opacity: 1;
}

.featured-item-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--cat-accent-50) 0%, var(--cat-primary-50) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  position: relative;
  overflow: hidden;
}

.featured-item-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.2; }
}

.featured-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-item-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, var(--cat-secondary), var(--cat-primary));
  color: #0f0f1e;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 900;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(255, 0, 110, 0.3);
}

.featured-item-info {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.featured-item-info h3 {
  font-size: 0.9rem;
  font-weight: 800;
  margin: 0;
  color: var(--cat-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.featured-item-meta {
  display: flex;
  gap: 6px;
  font-size: 0.75rem;
  flex-wrap: wrap;
}

.featured-item-meta-item {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--cat-primary);
  background: rgba(0, 255, 136, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-item-description {
  display: none;
}

.featured-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
  border-top: 1px solid var(--cat-border);
  font-size: 0.75rem;
}

.featured-item-count {
  color: var(--cat-accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-item-count strong {
  color: var(--cat-primary);
}

/* ============================================
   GRIDS - COMPACT MASONRY STYLE
   ============================================ */

.featured-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  align-items: stretch;
  margin: 0 20px;
}

@media (min-width: 640px) {
  .featured-items-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin: 0 24px;
  }
}

@media (min-width: 1000px) {
  .featured-items-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 28px;
    margin: 0 28px;
  }
}

/* Slider Container */
.featured-slider-container {
  position: relative;
  display: none;
}

.featured-slider-container.active {
  display: block;
}

.featured-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 12px 20px 20px 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--cat-primary) transparent;
  margin: 0 -20px;
}

@media (min-width: 640px) {
  .featured-slider {
    gap: 24px;
    padding: 12px 24px 20px 24px;
    margin: 0 -24px;
  }
}

@media (min-width: 1000px) {
  .featured-slider {
    gap: 28px;
    padding: 12px 28px 20px 28px;
    margin: 0 -28px;
  }
}

.featured-slider::-webkit-scrollbar {
  height: 6px;
}

.featured-slider::-webkit-scrollbar-track {
  background: var(--cat-border);
  border-radius: 10px;
}

.featured-slider::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--cat-primary), var(--cat-accent));
  border-radius: 10px;
}

/* Slider Item */
.featured-item-slide {
  flex: 0 0 300px;
  min-width: 300px;
}

@media (min-width: 640px) {
  .featured-item-slide {
    flex: 0 0 350px;
    min-width: 350px;
  }
}

@media (min-width: 1000px) {
  .featured-item-slide {
    flex: 0 0 400px;
    min-width: 400px;
  }
}

/* Slider Controls - Compact */
.slider-controls {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  justify-content: center;
}

.slider-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--cat-border);
  background: rgba(26, 26, 46, 0.6);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--cat-transition-base);
  padding: 0;
  font-weight: bold;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.slider-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #ff6b35;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--cat-transition-base);
}

.slider-btn:hover:not(:disabled) {
  color: #0f0f1e;
  border-color: #ff6b35;
  transform: scale(1.12) rotate(-10deg);
}

.slider-btn:hover:not(:disabled)::before {
  transform: scaleX(1);
}

.slider-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ============================================
   HEADER - MINIMAL & DARK
   ============================================ */

.catalogue-header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 12px;
  flex-wrap: wrap;
}

.catalogue-header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.catalogue-header-brand:hover {
  color: #ff6b35;
  transform: scale(1.05);
}

.catalogue-header-brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.catalogue-header-links {
  display: flex;
  gap: 4px;
  align-items: center;
}

.catalogue-header-link {
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--cat-text-secondary);
  font-weight: 700;
  font-size: 0.85rem;
  transition: all var(--cat-transition-base);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: transparent;
}

.catalogue-header-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff6b35;
  transition: all var(--cat-transition-base);
}

.catalogue-header-link:hover {
  color: #ff6b35;
  background: rgba(255, 107, 53, 0.1);
  transform: translateY(-2px);
}

.catalogue-header-link:hover::after {
  width: 100%;
}

.catalogue-header-link.back {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================
   FOOTER - MINIMAL DARK
   ============================================ */

.catalogue-footer {
  padding: 60px 20px 24px;
}

.catalogue-footer-catalogue-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin: 0 auto 60px;
  padding: 40px;
  background: var(--cat-bg-main);
  border-radius: 12px;
  border: 1px solid var(--cat-border);
  max-width: 1200px;
}

@media (min-width: 1000px) {
  .catalogue-footer-catalogue-info {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

.catalogue-info-block h4 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cat-text-primary);
  margin: 0 0 8px;
}

.catalogue-info-block p {
  font-size: 1rem;
  color: var(--cat-text-secondary);
  margin: 0;
}

.business-hours-footer h5 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--cat-text-primary);
  margin: 0 0 16px;
}

.hours-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 640px) {
  .hours-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hour-item {
  font-size: 0.9rem;
  color: var(--cat-text-secondary);
  display: flex;
  gap: 12px;
}

.hour-item span {
  font-weight: 600;
  color: var(--cat-text-primary);
  min-width: 45px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.footer-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.footer-brand span {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--cat-text-primary);
}

.footer-description {
  font-size: 0.9rem;
  color: var(--cat-text-secondary);
  line-height: 1.6;
  margin: 8px 0 0;
}

.catalogue-footer-bottom p {
  margin: 0;
}

.footer-link {
  color: #ff6b35;
  text-decoration: none;
  transition: all var(--cat-transition-base);
}

.footer-link:hover {
  color: #ff6b35;
  text-decoration: underline;
}

.catalogue-footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin: 0 auto 32px;
  max-width: 1200px;
}

@media (min-width: 640px) {
  .catalogue-footer-content {
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
  }
}

.catalogue-footer-section h4 {
  font-size: 0.95rem;
  font-weight: 900;
  margin: 0 0 12px;
  color: var(--cat-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.catalogue-footer-section p {
  color: var(--cat-text-light);
  font-size: 0.85rem;
  line-height: 1.5;
}

.catalogue-footer-section a {
  display: block;
  font-size: 0.85rem;
  color: var(--cat-text-light);
  text-decoration: none;
  margin-bottom: 8px;
  transition: all var(--cat-transition-fast);
  position: relative;
  padding-left: 0;
  font-weight: 600;
}

.catalogue-footer-section a::before {
  content: '→';
  position: absolute;
  left: -12px;
  opacity: 0;
  transition: all var(--cat-transition-fast);
  color: #ff6b35;
}

.catalogue-footer-section a:hover {
  color: #ff6b35;
  padding-left: 12px;
}

.catalogue-footer-section a:hover::before {
  opacity: 1;
}

.catalogue-footer-bottom {
  padding: 24px 0 0;
  margin: 0 auto;
  max-width: 1200px;
  border-top: 1px solid var(--cat-border);
  font-size: 0.9rem;
  color: var(--cat-text-light);
  text-align: center;
}

.catalogue-footer-bottom a {
  color: #ff6b35;
  text-decoration: none;
  transition: all var(--cat-transition-fast);
  font-weight: 700;
}

.catalogue-footer-bottom a:hover {
  color: #ff6b35;
}

/* ============================================
   RESPONSIVE - MOBILE FIRST
   ============================================ */

@media (max-width: 768px) {
  .welcome-section {
    padding: 40px 20px;
    margin: 0 16px 40px;
  }

  .welcome-section h1 {
    font-size: 2.2rem;
    color: #ff6b35; /* Ensure visibility on mobile */
  }

  .welcome-section .welcome-subtitle {
    font-size: 1rem;
    color: #ff6b35 !important;
  }

  .welcome-icon {
    font-size: 64px;
    margin: 24px 0 32px 0;
  }

  .welcome-icon img {
    width: 280px;
    height: 280px;
  }

  .business-hours {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hours-row .time {
    color: #ff6b35 !important;
    font-weight: 600;
  }

  .featured-section-header h2 {
    font-size: 1.4rem;
  }

  .featured-items-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
  }

  /* Products need more space than categories */
  #products-grid.featured-items-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .featured-item-card {
    padding: 16px;
  }

  .product-card {
    padding: 12px;
  }

  .product-image-section {
    min-height: 120px;
  }

  .product-icon {
    font-size: 2.5rem;
    min-height: 120px;
  }

  .product-image {
    height: 120px;
  }

  .product-content {
    padding: 12px 8px;
    gap: 8px;
  }

  .product-name {
    font-size: 0.95rem;
    line-height: 1.2;
  }

  .product-description {
    font-size: 0.75rem;
  }

  .product-pricing {
    padding-top: 8px;
    font-size: 0.9rem;
  }

  .product-price,
  .product-price-sale {
    font-size: 1.1rem;
  }

  .product-price-original {
    font-size: 0.85rem;
  }

  .product-status-badges {
    gap: 4px;
  }

  .status-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
  }

  .view-all-link {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .individual-catalogue-main {
    padding: 30px 0;
  }
}

@media (max-width: 480px) {
  .welcome-section {
    padding: 32px 16px;
    margin: 0 12px 30px;
    border-radius: 16px;
  }

  .welcome-section h1 {
    font-size: 1.8rem;
    color: #ff6b35; /* Ensure visibility on mobile */
  }

  .welcome-section .welcome-subtitle {
    font-size: 0.9rem;
    color: #ff6b35 !important;
    letter-spacing: 1px;
  }

  .welcome-section .welcome-description {
    font-size: 0.85rem;
  }

  .welcome-icon {
    font-size: 56px;
    margin: 20px 0 24px 0;
    padding: 16px;
  }

  .welcome-icon img {
    width: 240px;
    height: 240px;
  }

  .business-hours {
    grid-template-columns: 1fr;
    gap: 8px;
    font-size: 0.85rem;
  }

  .hours-row {
    padding: 10px 12px;
  }

  .hours-row .day {
    font-size: 0.85rem;
    min-width: 70px;
  }

  .hours-row .time {
    color: #ff6b35 !important;
    font-weight: 600;
    font-size: 0.85rem;
  }

  .featured-section {
    margin: 0 12px 40px;
  }

  .featured-section-header {
    margin-bottom: 20px;
  }

  .featured-section-header h2 {
    font-size: 1.3rem;
  }

  .featured-section-header .section-description {
    font-size: 0.75rem;
  }

  .featured-items-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
  }

  /* Products need more space than categories on small screens */
  #products-grid.featured-items-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .featured-item-card {
    padding: 12px;
    border-radius: 10px;
  }

  .featured-item-image {
    min-height: 100px;
  }

  .featured-item-info h3 {
    font-size: 0.9rem;
  }

  .featured-item-description {
    font-size: 0.75rem;
  }

  .product-card {
    padding: 10px;
    border-radius: 12px;
  }

  .product-image-section {
    min-height: 100px;
  }

  .product-icon {
    font-size: 2rem;
    min-height: 100px;
  }

  .product-image {
    height: 100px;
  }

  .product-badges-overlay {
    top: 4px;
    right: 4px;
    gap: 4px;
  }

  .product-badges-overlay .product-badge {
    padding: 4px 8px;
    font-size: 0.7rem;
  }

  .product-content {
    padding: 10px 6px;
    gap: 6px;
  }

  .product-info {
    gap: 6px;
  }

  .product-name {
    font-size: 0.85rem;
    line-height: 1.2;
  }

  .product-description {
    font-size: 0.7rem;
    line-height: 1.3;
  }

  .product-pricing {
    padding-top: 6px;
    margin-top: auto;
  }

  .pricing-row {
    gap: 6px;
    flex-wrap: wrap;
  }

  .product-price,
  .product-price-sale {
    font-size: 1rem;
    font-weight: 700;
  }

  .product-price-original {
    font-size: 0.75rem;
  }

  .product-discount {
    padding: 3px 8px;
    font-size: 0.7rem;
  }

  .product-status-badges {
    gap: 4px;
    justify-content: center;
  }

  .status-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
  }

  .view-all-link {
    padding: 10px 16px;
    font-size: 0.8rem;
    width: 100%;
  }

  .catalogue-header-nav {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.no-items-message {
  text-align: center;
  padding: 60px 20px;
  color: var(--cat-text-light);
  border-radius: 12px;
  background: rgba(26, 26, 46, 0.4);
  border: 1px dashed var(--cat-border);
  backdrop-filter: blur(10px);
}

.no-items-message-icon {
  font-size: 48px;
  margin-bottom: 12px;
  display: block;
  animation: float-icon 2s ease-in-out infinite;
}

@keyframes float-icon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.no-items-message h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--cat-text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.no-items-message p {
  font-size: 0.85rem;
  margin: 0;
  color: var(--cat-text-light);
}

/* ============================================
   PRODUCT CARDS (for featured products section)
   ============================================ */

.product-card {
  background: var(--cat-bg-main);
  border-radius: 16px;
  box-shadow: 0 4px 12px var(--cat-shadow);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  color: inherit;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--cat-border);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px var(--cat-shadow-lg);
  text-decoration: none;
  color: inherit;
  border-color: var(--cat-primary);
}

.product-image-section {
  position: relative;
  width: 100%;
  background: var(--cat-bg-secondary);
  overflow: hidden;
}

.product-icon {
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  position: relative;
}

.product-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.product-badges-overlay {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.product-badges-overlay .product-badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.badge-featured {
  background: rgba(255, 255, 255, 0.9);
  color: #f59e0b;
  border: 1px solid #f59e0b;
}

.badge-active {
  background: rgba(16, 185, 129, 0.9);
  color: white;
}

.badge-inactive {
  background: rgba(239, 68, 68, 0.9);
  color: white;
}

.product-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: var(--cat-text-primary);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-description {
  font-size: 0.85rem;
  color: var(--cat-text-light);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-pricing {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--cat-border);
}

.pricing-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cat-primary);
}

.product-price-sale {
  font-size: 1.3rem;
  font-weight: 700;
  color: #27ae60;
}

.product-price-original {
  font-size: 1rem;
  font-weight: 600;
  color: var(--cat-text-light);
  text-decoration: line-through;
}

.product-discount {
  background: #e74c3c;
  color: white;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
}

.product-status-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge-popular {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.badge-recommended {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.badge-sale {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
}

.badge-available {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.badge-unavailable {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.product-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--cat-border);
  font-size: 0.8rem;
}

.product-url {
  color: var(--cat-text-light);
  font-family: monospace;
  text-align: center;
  word-break: break-all;
}

/* ============================================
   FOOTER PAYMENT LOGOS
   ============================================ */

.footer-payment-logos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-left: 8px;
}

.footer-payment-logos img {
  width: 60px;
  height: auto;
  opacity: 0.8;
  object-fit: contain;
}

.footer-legal-links {
  font-size: 0.85rem;
  margin: 8px 0 0;
  opacity: 0.8;
  color: #ff6b35;
  text-decoration: none;
}

.footer-legal-links a {
  font-size: 0.85rem;
  color: #ff6b35;
  text-decoration: none;
}

/* ============================================
   SPECIAL ANIMATIONS & CHARM
   ============================================ */

@keyframes gentle-flip {
  0% { transform: rotateY(0deg); }
  50% { transform: rotateY(180deg); }
  100% { transform: rotateY(360deg); }
}

@keyframes gentle-sway {
  0%, 100% { transform: translateX(0px) rotate(0deg); }
  25% { transform: translateX(2px) rotate(1deg); }
  75% { transform: translateX(-2px) rotate(-1deg); }
}

/* Stagger animations for cards */
.featured-item-card:nth-child(1) {
  animation-delay: 0s;
}

.featured-item-card:nth-child(2) {
  animation-delay: 0.05s;
}

.featured-item-card:nth-child(3) {
  animation-delay: 0.1s;
}

.featured-item-card:nth-child(n+4) {
  animation-delay: 0.15s;
}
