/* --- GLOBAL STYLES & VARIABLES --- */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --radius: 0.625rem;
  --background: 0 0% 100%;
  --foreground: 222.2 84% 4.9%;
  --card: 0 0% 100%;
  --card-foreground: 45 0% 75%;
  --popover: 0 0% 100%;
  --popover-foreground: 222.2 84% 4.9%;
  --primary: 24.9 95% 50%;
  --primary-foreground: 0 0% 100%;
  --primary-50: #fef7ed;
  --primary-100: #fdedd3;
  --primary-200: #fbd9a5;
  --primary-300: #f8c06d;
  --primary-400: #ffa83e;
  --primary-500: #cb7b26;
  --primary-600: #b18146;
  --primary-700: #a75d24;
  --primary-800: #884e28;
  --primary-900: #6b4229;
  --primary-950: #3e3028;
  --secondary: 210 40% 96.1%;
  --secondary-foreground: 222.2 47.4% 11.2%;
  --muted: 210 40% 96.1%;
  --muted-foreground: 215.4 16.3% 46.9%;
  --lightbrand: #ca903c;
  --accent: 210 40% 96.1%;
  --accent-foreground: 222.2 47.4% 11.2%;
  --destructive: 0 84.2% 60.2%;
  --border: 214.3 31.8% 91.4%;
  --input: 214.3 31.8% 91.4%;
  --ring: 24.9 95% 50%;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e0e0e0;
  --gray-300: #d1d5db;
  --gray-400: #adadad;
  --gray-500: #7f7f7f;
  --gray-600: #5d5d5d;
  --gray-700: #555555;
  --gray-800: #383838;
  --gray-900: #222222;
  --amber-100: #fef3c7;
  --amber-600: #ac9171;
  --amber-700: #80522e;
  --orange-600: #9f6332;
  --blue-100: #dbeafe;
  --blue-800: #1e40af;
  --footer-bg: #383838;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  transition: background-color 0.3s ease, color 0.3s ease;
  padding-top: 4rem; /* For fixed navbar */
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--lightbrand);
}

/* --- UTILITIES --- */
.container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
.text-center { text-align: center; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; }
.bg-white { background-color: hsl(var(--card)); }
.bg-gray-50 { background-color: var(--gray-50); }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-primary-600 { color: var(--primary-600); }
.text-white { color: white; }
.text-amber-100 { color: var(--amber-100); }
.line-clamp-2 {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.group:hover .group-hover-scale { transform: scale(1.1); }
.group:hover .group-hover-text-primary { color: var(--primary-600); }
.group:hover .group-hover-translate-x-1 { transform: translateX(0.25rem); }
.group:hover .group-hover-translate-y-0 { transform: translateY(0); }
.group:hover .group-hover-opacity-100 { opacity: 1; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--orange-600) 100%);
  color: white;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-700) 100%);
  box-shadow: 0 10px 25px rgba(217, 119, 6, 0.3);
}
.btn-light { background-color: white; color: var(--amber-600); }
.btn-light:hover { background-color: var(--gray-50); }
.btn-outline {
  border-color: hsl(var(--border));
  background-color: transparent;
  color: hsl(var(--foreground));
}
.btn-outline:hover { background-color: hsl(var(--accent)); }
.btn-outline-light { border-color: white; color: white; }
.btn-outline-light:hover { background-color: white; color: var(--amber-600); }
.btn-icon-right { margin-left: 0.5rem; transition: transform 0.3s ease; }
.group:hover .btn-icon-right { transform: translateX(4px); }

/* --- ANIMATIONS --- */
@keyframes fade-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fade-in 1s ease-out forwards; }

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 4rem;
  z-index: 50;
  background-color: hsla(var(--background), 0.95);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid hsl(var(--border));
}
.navbar-content { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.navbar-logo { display: flex; align-items: center; gap: 0.5rem; }
.navbar-logo svg { height: 2rem; width: 4rem; fill: var(--lightbrand); }
.navbar-actions {display: flex;align-items: center;gap: 0.5rem;}
.navbar-toggle {
  background: transparent;
  border: none;
  padding: 0.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s ease;
  width: 2.5rem;
  height: 2.5rem;
}
.navbar-toggle:hover { background-color: hsl(var(--accent)); }
.navbar-toggle svg {height: 1.25rem;width: 1.25rem;color: hsl(var(--foreground));}

/* --- SIDEBARS --- */
.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 90%;
  max-width: 33.33rem;
  background-color: hsl(var(--card));
  box-shadow: -10px 0 20px rgba(0,0,0,0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 60;
  padding: 1.5rem;
  overflow-y: auto;
}
.sidebar.open { transform: translateX(0); }
.sidebar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.sidebar-title { font-size: 1.25rem; font-weight: 600; }
.sidebar-close-btn { background: transparent; border: none; padding: 0.5rem; cursor: pointer; font-size: 1.5rem; }
.sidebar-close-btn svg { height: 1.5rem; width: 1.5rem; }

/* Search Sidebar */
.search-form { position: relative; margin-bottom: 1.5rem; }
.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  outline: none;
  font-size: 1rem;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
}
.search-input:focus { border-color: hsl(var(--ring)); box-shadow: 0 0 0 2px hsla(var(--ring), 0.5); }
.search-icon { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--gray-400); }
.suggestions-list { list-style: none; }
.suggestion-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s;
}
.suggestion-item:hover { background-color: hsl(var(--accent)); }
.suggestion-img { width: 3rem; height: 3rem; object-fit: cover; border-radius: 0.25rem; flex-shrink: 0;}
.suggestion-info { overflow: hidden; }
.suggestion-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggestion-details { font-size: 0.75rem; color: var(--gray-500); }

/* Menu Sidebar */
.menu-nav a {
    display: flex; align-items: flex-start; gap: 1rem;
    padding: 1rem; border-radius: var(--radius);
    transition: background-color 0.2s ease;
	margin-top: 1rem;
}
.menu-nav a:hover { background-color: hsl(var(--accent)); }
.menu-nav svg { margin-top: 0.25rem; width: 1.5rem; height: 1.5rem; color: var(--lightbrand); }
.menu-nav h3 { font-weight: 500; font-size: 1.2rem;}
.menu-nav p { font-size: 0.875rem; color: var(--gray-600); }

.sidebar-section { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid hsl(var(--border)); }
.sidebar-section h3 { font-family: var(--font-sans); font-weight: 500; margin-bottom: 1rem; }
.sidebar-section p { font-size: 0.875rem; line-height: 1.5; color: var(--gray-600); }

/* Overlay */
.overlay {
    position: fixed; inset: 0; background-color: rgba(0,0,0,0.2);
    z-index: 45; opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.overlay.visible { opacity: 1; visibility: visible; }

/* --- HERO SECTION --- */
.hero-section { position: relative; height: 100vh; overflow: hidden; }
.hero-slides-container { position: relative; height: 100%; }
.hero-slide {
  position: absolute; inset: 0;
  transition: all 1s ease-in-out;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.hero-slide.active { opacity: 1; transform: translateX(0); z-index: 1;}
.hero-slide.prev { opacity: 0; transform: translateX(-100%); }
.hero-slide.next { opacity: 0; transform: translateX(100%); }
.hero-content {
    max-width: 50rem;
    text-align: center;
    margin: 3rem;
}.hero-subtitle {
  font-size: 1.125rem; font-weight: 500;
  color: var(--primary-200); text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero-title { font-size: 3rem; line-height: 1.1; color: var(--primary-400); margin: 1rem 0; }
.hero-description { font-size: 1.25rem; line-height: 1.6; color: var(--primary-100); max-width: 45rem; margin: 0 auto 1.5rem; }
.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background-color: rgba(255,255,255,0.8);
  border: none; border-radius: 50%; width: 3rem; height: 3rem;
  font-size: 1.5rem; cursor: pointer; transition: all 0.3s; z-index: 10;
}
.hero-nav:hover { background-color: white; transform: translateY(-50%) scale(1.1); }
.hero-nav.prev { left: 1rem; }
.hero-nav.next { right: 1rem; }
.hero-dots {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%); display: flex; gap: 0.75rem; z-index: 10;
}
.hero-dot {
  width: 0.75rem; height: 0.75rem; border-radius: 50%;
  background-color: rgba(255,255,255,0.6);
  border: none; cursor: pointer; transition: all 0.3s;
}
.hero-dot:hover { background-color: rgba(255,255,255,0.8); }
.hero-dot.active { background-color: var(--amber-600); transform: scale(1.25); }
.hero-progress-bar-container { position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background-color: rgba(0,0,0,0.1); z-index: 10;}
.hero-progress-bar { height: 100%; background-color: var(--amber-600); transition: width 0.3s ease; }

/* --- SECTIONS --- */
.section-title { font-size: 2.5rem; margin-bottom: 1.5rem; }
.section-subtitle { font-size: 1.25rem; color: var(--gray-600); max-width: 50rem; margin: 0 auto 4rem; line-height: 1.6; }

/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 2rem; margin-bottom: 4rem; }
.feature-item { text-align: center; }
.feature-icon-wrapper {
  display: inline-flex; align-items: center; justify-content: center;
  width: 4rem; height: 4rem;
  background-color: var(--amber-100);
  color: var(--amber-600);
  border-radius: 50%;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}
.feature-item:hover .feature-icon-wrapper { background-color: var(--amber-600); color: white; }
.feature-icon-wrapper svg { width: 2rem; height: 2rem; }
.feature-item h3 { font-size: 1.125rem; font-family: var(--font-sans); font-weight: 600; margin-bottom: 0.5rem; }
.feature-item p { color: var(--gray-600); }

/* Stats Grid */
.stats-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
    padding: 3rem 0; border-top: 1px solid hsl(var(--border));
}
.stat-item .stat-number { font-size: 2.25rem; font-weight: 700; color: var(--amber-600); margin-bottom: 0.5rem; }
.stat-item .stat-label { font-weight: 500; color: var(--gray-600); }

/* --- CATEGORY SHOWCASE --- */
.category-showcase { padding: 4rem 0; }
.showcase-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.showcase-title { font-size: 2rem; }
.showcase-nav { display: flex; gap: 0.5rem; }
.showcase-nav-btn {
  width: 2.5rem; height: 2.5rem; padding: 0.75rem; border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  background-color: hsl(var(--card)); border: none; cursor: pointer; transition: all 0.3s;
}
.showcase-nav-btn:hover { background-color: hsl(var(--accent)); box-shadow: 0 4px 8px rgba(0,0,0,0.15); }
.showcase-nav-btn:disabled { background-color: hsl(var(--muted)); color: var(--gray-400); cursor: not-allowed; }
.showcase-nav-btn svg { width: 1.25rem; height: 1.25rem; }
.showcase-scroll-container {
    display: flex; gap: 1.5rem; overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: none; -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}
.showcase-scroll-container::-webkit-scrollbar { display: none; }
.showcase-card {
  flex-shrink: 0; width: 16rem; background-color: hsl(var(--card));
  border-radius: var(--radius); box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  overflow: hidden; transition: all 0.3s ease;
  scroll-snap-align: start;
}
.showcase-card:hover { transform: translateY(-8px); box-shadow: 0 10px 15px rgba(0,0,0,0.1); }
.showcase-card-img-wrapper {
  aspect-ratio: 1 / 2;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
}
.showcase-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.showcase-card-img-overlay { position: absolute; inset: 0; background-color: rgba(0,0,0,0); transition: all 0.3s; }
.showcase-card:hover .showcase-card-img-overlay { background-color: rgba(0,0,0,0.2); }
.showcase-card-view-btn {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s ease;
}
.showcase-card-view-btn span {
  background-color: hsl(var(--card));
  color: hsl(var(--card-foreground));
  padding: 0.5rem 1rem; border-radius: var(--radius);
  font-weight: 600; box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transform: translateY(1rem); transition: transform 0.3s ease;
}
.showcase-card-info { padding: 1.25rem; }
.showcase-card-title { font-family: var(--font-sans); font-weight: 600; font-size: 1rem; margin-bottom: 0.5rem; }
.showcase-card-count { font-size: 0.875rem; color: var(--gray-500); margin-bottom: 0.5rem; }
.showcase-card-footer { display: flex; align-items: center; justify-content: space-between; }
.showcase-card-chip {
    font-size: 0.875rem; font-weight: 500;
    color: var(--primary-600); background-color: var(--primary-50);
    padding: 0.25rem 0.75rem; border-radius: 9999px;
}
.showcase-card-browse { font-size: 0.75rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.05em; }
.showcase-see-all { text-align: center; margin-top: 2rem; }
.showcase-see-all a {
    display: inline-flex; align-items: center;
    color: var(--primary-600); font-weight: 600;
}
.showcase-see-all a:hover { color: var(--primary-700); }
.showcase-see-all svg { margin-left: 0.25rem; transition: transform 0.3s; }
.showcase-see-all a:hover svg { transform: translateX(4px); }

/* --- ABOUT US --- */
.about-us-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.about-us-image-container { position: relative; }
.about-us-image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--amber-100), var(--orange-200));
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  position: relative; overflow: hidden;
}
.about-us-image-overlay {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  color: white;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.about-us-image-overlay h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.floating-shape { position: absolute; border-radius: 50%; animation: pulse 2s infinite ease-in-out; }
.shape-1 { top: -1rem; right: -1rem; width: 6rem; height: 6rem; background-color: var(--primary-500); opacity: 0.2; }
.shape-2 { bottom: -1.5rem; left: -1.5rem; width: 8rem; height: 8rem; background-color: var(--orange-400); opacity: 0.15; animation-delay: 1s; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }

/* --- SOCIAL MEDIA --- */
.social-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.social-column h3 { font-size: 1.5rem; }
.social-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 2rem; }
.social-icon-bg { width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center; border-radius: 0.5rem; }
.social-icon-bg.facebook { background-color: #1877F2; }
.social-icon-bg.youtube { background-color: #FF0000; }
.social-icon-bg svg { width: 1.5rem; height: 1.5rem; color: white; }
.social-card { background-color: hsl(var(--card)); border-radius: var(--radius); box-shadow: 0 4px 6px rgba(0,0,0,0.1); overflow: hidden; margin-bottom: 1.5rem; }
.social-card-content { padding: 1.5rem; }
.social-user { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.social-avatar { width: 2.5rem; height: 2.5rem; background-color: var(--primary-500); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; }
.social-username { font-weight: 600; }
.social-date { font-size: 0.875rem; color: var(--gray-500); }
.social-card-image { width: 100%; height: 12rem; object-fit: cover; margin-top: 1rem; }
.social-card-footer { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--gray-600); padding-top: 1rem; border-top: 1px solid hsl(var(--border)); margin-top: 1rem; }
.social-video-card { cursor: pointer; }
.social-video-thumb { position: relative; }
.social-video-thumb img { width: 100%; height: 12rem; object-fit: cover; }
.social-video-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.social-video-card:hover .social-video-overlay { opacity: 1; }
.play-button { width: 4rem; height: 4rem; background: #FF0000; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.play-button svg { width: 2rem; height: 2rem; color: white; margin-left: 0.2rem; }
.video-duration { position: absolute; bottom: 0.5rem; right: 0.5rem; background: rgba(0,0,0,0.8); color: white; font-size: 0.75rem; padding: 0.125rem 0.5rem; border-radius: 0.25rem; }
.social-more-link { display: inline-flex; align-items: center; font-weight: 600; margin-top: 1.5rem; }
.social-more-link.facebook { color: #1877F2; }
.social-more-link.youtube { color: #FF0000; }
.social-more-link svg { margin-left: 0.5rem; width: 1rem; height: 1rem; }

/* --- CTA SECTION --- */
.cta-section { background: linear-gradient(to right, var(--amber-600), var(--orange-600)); }
.cta-buttons { display: flex; flex-direction: column; gap: 1rem; justify-content: center; }

/* --- FOOTER --- */
footer { background-color: var(--gray-900); color: grey; padding: 3rem 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer-logo-col p { color: var(--gray-300); margin: 1rem 0; }
.footer-logo { display: flex; align-items: center; gap: 0.5rem; }
.footer-logo svg { height: 2rem; width: 4rem; fill: var(--primary-500); }
.footer-socials { display: flex; gap: 1rem; }
.footer-socials a { color: var(--gray-400); transition: color 0.3s; }
.footer-socials a:hover { color: var(--primary-500); }
.footer-socials svg { width: 1.5rem; height: 1.5rem; }
.footer-links-col h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--gray-300); transition: color 0.3s; }
.footer-links a:hover { color: var(--primary-500); }
.footer-contact-info p { color: var(--gray-300); }
.footer-copyright { border-top: 1px solid var(--gray-500); margin-top: 2rem; padding-top: 2rem; text-align: center; color: var(--gray-400); }
.mother-company-logo {display: flex; justify-content: flex-start; align-items: flex-start; margin-bottom: 0.5rem; flex-direction: column; }
.mother-company-logo p {     margin-right: 0.5rem; 	margin-bottom: 0.5rem; }
.mother-company-logo img {     height: 40px; width: auto; } 

/* --- PRODUCTS PAGE --- */
.page-banner { background: linear-gradient(to right, var(--amber-600), var(--orange-600)); padding: 3rem 0; }
.page-title { font-size: 2.5rem; color: white; margin-bottom: 1rem; }
.page-subtitle { font-size: 1.25rem; color: var(--amber-100); max-width: 45rem; margin: 0 auto; }
.search-query-display { display: inline-flex; align-items: center; background-color: rgba(255,255,255,0.2); backdrop-filter: blur(2px); border-radius: 0.5rem; padding: 0.5rem 1rem; margin-top: 1rem; }
.search-query-display span { color: white; }
.products-layout { padding: 1rem; display: flex; flex-direction: column; gap: 2rem; background-color: #ffffff;}
.filters-sidebar-desktop { display: none; }
.mobile-controls { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.mobile-search-box { position: relative; flex-grow: 1; }
.mobile-controls .btn { flex-shrink: 0; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.filter-chips-container { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.filter-chip { display: inline-flex; align-items: center; padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 500; }
.filter-chip.decor { background-color: var(--amber-100); color: var(--primary-800); }
.filter-chip.texture { background-color: var(--blue-100); color: var(--blue-800); }
.filter-chip button { margin-left: 0.5rem; background: transparent; border: none; cursor: pointer; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.no-results-message { text-align: center; padding: 3rem 0; color: var(--gray-600); font-size: 1.125rem; }

/* Mobile Filter Sidebar */
.mobile-filter-sidebar { max-width: 20rem; }
.search-box-desktop { position: relative; margin-bottom: 2rem; }
.filters-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem;}
.filter-group { margin-bottom: 2rem; }
.filter-group-title { font-weight: 600; margin-bottom: 0.75rem; }
.filter-options { display: flex; flex-direction: column; gap: 0.5rem; }
.filter-option { display: flex; align-items: center; gap: 0.5rem; }
.filter-option label { font-size: 0.875rem; cursor: pointer; }
.filter-option input[type="checkbox"] { cursor: pointer; }

/* --- PRODUCT CARD --- */
.product-card {
    background-color: hsl(var(--card)); border-radius: var(--radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.product-card:hover { box-shadow: 0 10px 15px rgba(0,0,0,0.1); }
.product-card-img-wrapper { aspect-ratio: 1 / 2; overflow: hidden; position: relative; background-color: var(--gray-200); }
.product-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.product-card:hover .product-card-img { transform: scale(1.05); }
.product-card-info { padding: 0.5rem 1rem 1rem 1rem; }
.product-card-name {font-weight: 500;margin-bottom: 0.5rem;transition: color 0.3s;font-size: 1.05rem; color: var(--primary-950);}
.product-card:hover .product-card-name { color: var(--primary-600); }
.product-card-code {font-size: 0.875rem;color: var(--gray-500);margin-bottom: 0.75rem;font-weight: 500; padding: 0.4rem 0;}
.product-card-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.product-card-chip {
    font-size: 0.75rem; font-weight: 500;
    padding: 0.125rem 0.5rem; border-radius: 9999px;
    transition: background-color 0.2s;
}
.product-card-chip:hover { opacity: 0.8; }
.product-card-chip.decor { background-color: var(--primary-100); color: var(--primary-800); }
.product-card-chip.texture { background-color: var(--blue-100); color: var(--blue-800); }

/* --- PRODUCT DETAIL PAGE --- */
.product-detail-page {min-height: 100vh;padding-bottom: 4rem;background-color: #fafafa;}
.product-detail-page.loading { visibility: hidden; }
.breadcrumbs-container { background-color: hsl(var(--card)); border-bottom: 1px solid hsl(var(--border)); }
.breadcrumbs { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; padding: 1rem 0; }
.breadcrumbs a {
    color: var(--primary-600);
    font-weight: 600;
}
.breadcrumbs a:hover { color: var(--gray-700); }
.breadcrumbs span {
    color: var(--amber-600);
    opacity: 0.7;
}
.product-detail-content /* padding: 2rem 0; */
.back-link { display: inline-flex; align-items: center; font-weight: 600; color: var(--primary-600); margin-bottom: 1.5rem; }
.back-link .back-arrow { margin-right: 0.5rem; transition: transform 0.3s; }
.back-link:hover .back-arrow { transform: translateX(-4px); }
.product-detail-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.product-image-section .zoom-hint { text-align: center; font-size: 0.875rem; color: var(--gray-600); margin-top: 1rem; }
.product-image-container {
    background-color: var(--gray-200); border-radius: var(--radius);
    overflow: hidden; cursor: zoom-in; position: relative;
    max-height: 85vh; display: flex; align-items: center; justify-content: center;
}
.product-image-container img {
    width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain;
    transition: transform 0.3s ease;
}
.product-image-container:hover img { transform: scale(1.05); }
.product-info-section { display: flex; flex-direction: column; gap: 1.5rem; }
.product-title { font-size: 2.25rem; line-height: 1.2; }
.product-code { font-size: 1.125rem; color: var(--amber-700); font-weight: 500; }
.product-description { font-size: 1rem; line-height: 1.6; color: var(--gray-700); }
.product-specs-card {background-color: hsl(var(--card));padding: 2rem;border-radius: .5rem;box-shadow: 0 4px 6px rgba(0,0,0,0.05);}
.specs-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; }
.specs-grid {display: grid;grid-template-columns: 1fr;gap: 1rem;}
.spec-item { display: flex; justify-content: space-between; padding: 0.75rem 0; border-bottom: 1px solid #ebebeb; }
.spec-item:last-child {border-bottom: none; }
.spec-item .spec-label { font-weight: 700; }
.spec-item .spec-value { margin-left: 0.5rem; color: var(--gray-600); }
.spec-item .spec-chip {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 500;
    margin-left: 0.5rem;
    background-color: var(--primary-100);
    color: var(--primary-800);
    transition: background-color 0.2s;
}
.spec-item .spec-chip:hover { background-color: var(--primary-200); }
.spec-item .spec-value.positive { color: #16a34a; }
.action-buttons { display: flex; flex-direction: column; gap: 1rem; }
.action-buttons .btn { flex: 1; justify-content: center; gap: 0.5rem; }
.related-products-section { margin-top: 4rem; }
.section-title-sm { font-size: 1.5rem; font-weight: 700; margin-bottom: 2rem; }

/* Image Modal */
.image-modal {
  display: none; position: fixed; z-index: 100;
  left: 0; top: 0; width: 100%; height: 100%;
  overflow: auto; background-color: rgba(0,0,0,0.9);
  padding: 1rem;
}
.image-modal-content {
  margin: auto; display: block; max-width: 95%; max-height: 95%;
  object-fit: contain;
}
.image-modal-close {
  position: absolute; top: 15px; right: 35px; color: #f1f1f1;
  font-size: 40px; font-weight: bold; transition: 0.3s;
  border: none; background: transparent; cursor: pointer;
}
.image-modal-close:hover, .image-modal-close:focus { color: #bbb; }


/* --- RESPONSIVE STYLES --- */
@media (min-width: 640px) {
  .container {padding: 2rem;}
  .hero-title { font-size: 4rem; }
  .hero-description { font-size: 1.5rem; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .cta-buttons { flex-direction: row; }
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .action-buttons { flex-direction: row; }
  /* .specs-grid { grid-template-columns: repeat(2, 1fr); } */
  .mobile-controls { flex-direction: row; }
}

@media (min-width: 768px) {
    .section-title { font-size: 3rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
    .social-grid { grid-template-columns: repeat(2, 1fr); }
    .product-detail-grid { grid-template-columns: repeat(2, 1fr); align-items: flex-start; }
}

@media (min-width: 1024px) {
    .features-grid { grid-template-columns: repeat(4, 1fr); }
    .about-us-grid { grid-template-columns: repeat(2, 1fr); }
    .products-layout { flex-direction: row; }
    .filters-sidebar-desktop { display: block; width: 16rem; flex-shrink: 0; }
    .mobile-controls { display: none; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1280px) {
    .product-grid { grid-template-columns: repeat(4, 1fr); }
}
/* --- PRODUCT GALLERY --- */
.product-gallery {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}
.gallery-thumb-wrapper {
    position: relative;
    flex-shrink: 0;
    width: 5rem;
    height: 5rem;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
}
.gallery-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.2s;
    border: 2px solid transparent;
}
.gallery-thumb:hover {
    opacity: 0.8;
}
.gallery-thumb-wrapper.active .gallery-thumb {
    border-color: var(--amber-600);
}
.gallery-more-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    transition: background-color 0.2s;
}
.gallery-thumb-wrapper:hover .gallery-more-overlay {
    background-color: rgba(0, 0, 0, 0.5);
}

/* --- RESOURCES PAGE --- */
.resource-card {
    background-color: hsl(var(--card));
    border-radius: var(--radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.resource-card:hover {
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}
.resource-thumb {
    aspect-ratio: 2/3;
    width: 100%;
    object-fit: cover;
    background-color: var(--gray-200);
}
.resource-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.resource-type {
    font-size: 0.875rem;
    color: var(--primary-600);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.resource-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--foreground);
    font-family: var(--font-serif);
}
.resource-desc {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.resource-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    gap: 0.5rem;
}
.resource-year {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* --- UNIVERSAL VIEWER MODAL (Product & Catalogue) --- */
.viewer-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    background-color: rgba(0,0,0,0.95);
    flex-direction: column;
}
.viewer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    color: white;
    z-index: 10;
}
.viewer-title {
    font-size: 1.1rem;
    font-weight: 500;
}
.viewer-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}
.viewer-body {
    flex-grow: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.viewer-content {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.1s ease-out; /* Smoother pan/zoom */
    cursor: grab;
}
.viewer-content:active {
    cursor: grabbing;
}
.viewer-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 10;
}
.viewer-nav-btn:hover {
    background: rgba(255,255,255,0.3);
}
.viewer-nav-btn.prev { left: 1rem; }
.viewer-nav-btn.next { right: 1rem; }

.viewer-footer {
    padding: 1rem;
    display: flex;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    z-index: 10;
}
/* Thumbnail Strip for Product Gallery */
.viewer-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
}
.viewer-thumbnails::-webkit-scrollbar { display: none; }
.viewer-thumb {
    height: 3.5rem;
    width: 3.5rem;
    object-fit: cover;
    opacity: 0.5;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 0.25rem;
    transition: all 0.2s;
}
.viewer-thumb.active {
    opacity: 1;
    border-color: var(--primary-500);
}
/* Page Indicator for Catalogue */
.viewer-page-indicator {
    color: white;
    font-variant-numeric: tabular-nums;
    font-size: 1rem;
}

