/* ==========================================================================
   JoyLight Creations - Design System & Custom CSS
   ========================================================================== */

/* 1. Design Tokens & Variables */
:root {
  /* Color Palette */
  --primary: #8c1d23;
  /* Luxury Crimson from Logo */
  --primary-rgb: 140, 29, 35;
  --primary-light: #ab282f;
  --secondary: #e6a817;
  /* Vibrant Warm Gold/Yellow from Logo */
  --secondary-rgb: 230, 168, 23;
  --accent-gold: #d4af37;
  /* Metallic Gold */

  --dark: #181816;
  /* Deep Charcoal/Slate */
  --dark-rgb: 24, 24, 22;
  --light-cream: #faf7f2;
  /* Elegant Warm Cream */
  --soft-beige: #f0ebd8;
  /* Softer accent cream */
  --white: #ffffff;
  --gray-light: #f5f4f0;
  --gray-border: #e6e3dd;

  --text-main: #333330;
  --text-muted: #706f6a;
  --text-light: #e6e3dd;

  /* Status Colors */
  --success: #2d6a4f;
  --warning: #d97706;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Transitions */
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(24, 24, 22, 0.08);
  --shadow-lg: 0 16px 40px rgba(24, 24, 22, 0.12);
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.06);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Layout */
  --header-height: 80px;
  --top-bar-height: 40px;
}

/* 2. Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--dark);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

ul {
  list-style: none;
}

/* 3. Utility Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Tabbed Navigation */
.tab-content {
  width: 100%;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Home Featured Section */
.home-featured {
  padding: 100px 0;
  background-color: var(--white);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.featured-card {
  text-align: center;
  padding: 40px 30px;
  background-color: var(--gray-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-border);
  transition: var(--transition-smooth);
}

.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--soft-beige);
}

.featured-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.featured-card h3 {
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

.featured-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.home-cta-wrapper {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(140, 29, 35, 0.3);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--dark);
}

.btn-secondary:hover {
  background-color: #d49c12;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 168, 23, 0.3);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-lg {
  padding: 14px 36px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* Badges */
.badge {
  display: inline-flex;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
}

/* Section Header styling */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  display: inline-block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 16px;
}

.title-divider {
  width: 80px;
  height: 3px;
  background-color: var(--secondary);
  margin: 0 auto 24px auto;
  position: relative;
}

.title-divider.left {
  margin: 0 0 24px 0;
}

.title-divider::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: var(--primary);
  transform: rotate(45deg);
  top: -4px;
  left: calc(50% - 6px);
}

.title-divider.left::after {
  left: 20px;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.top-bar {
  background-color: var(--dark);
  color: var(--text-light);
  font-size: 0.85rem;
  height: var(--top-bar-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.top-contact-info {
  display: flex;
  gap: 24px;
}

.top-contact-info a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-contact-info a:hover {
  color: var(--secondary);
}

.top-bar-tagline span {
  color: var(--secondary);
  font-weight: 500;
}

.main-header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 48px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}

.logo-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 1;
  margin-top: 2px;
}

.desktop-nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Header Search */
.header-search-container {
  position: relative;
  max-width: 240px;
  display: flex;
  align-items: center;
}

.header-search-container input {
  padding: 8px 16px 8px 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-border);
  background-color: var(--gray-light);
  font-size: 0.9rem;
  width: 100%;
  transition: var(--transition-fast);
}

.header-search-container input:focus {
  background-color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(140, 29, 35, 0.1);
  max-width: 300px;
}

.search-icon {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
  pointer-events: none;
  font-size: 0.9rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark);
  cursor: pointer;
}

/* Mobile Menu Navigation Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: rgba(24, 24, 22, 0.4);
  backdrop-filter: blur(5px);
  z-index: 1000;
  transition: left 0.4s ease;
}

.mobile-nav-overlay.active {
  left: 0;
}

.mobile-nav-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 340px;
  height: 100%;
  background-color: var(--white);
  padding: 30px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 40px;
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--dark);
  cursor: pointer;
}

.mobile-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-logo .logo-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--dark);
}

.mobile-nav-link:hover {
  color: var(--primary);
  padding-left: 8px;
}

.mobile-nav-contact {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  height: 80vh;
  min-height: 550px;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

/* Parallex offset styling for premium feeling */
@media (min-width: 992px) {
  .hero-section {
    background-attachment: fixed;
  }
}

.hero-container {
  position: relative;
  z-index: 10;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--secondary);
  margin-bottom: 24px;
  display: inline-block;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.15;
  font-weight: 600;
}

.hero-desc {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  line-height: 1.6;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: bounce 2s infinite;
}

.scroll-mouse {
  width: 26px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-full);
  display: block;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--white);
  border-radius: var(--radius-full);
  position: absolute;
  top: 8px;
  left: calc(50% - 2px);
  animation: scrollWheel 1.5s infinite;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translate(-50%, 0);
  }

  40% {
    transform: translate(-50%, -10px);
  }

  60% {
    transform: translate(-50%, -5px);
  }
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

/* ==========================================================================
   Showcase Catalog Section
   ========================================================================== */

.catalog-section {
  padding: 100px 0;
  background-color: var(--gray-light);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

/* Sidebar Filters */
.catalog-sidebar {
  background-color: var(--white);
  padding: 30px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-border);
}

.sidebar-block {
  margin-bottom: 36px;
}

.sidebar-block:last-child {
  margin-bottom: 0;
}

.sidebar-title {
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gray-light);
  font-family: var(--font-body);
  font-weight: 600;
}

/* Search Box */
.search-box {
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 12px 16px 12px 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-border);
  background-color: var(--gray-light);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.search-box input:focus {
  background-color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-inset);
}

.search-box i {
  position: absolute;
  left: 14px;
  top: calc(50% - 8px);
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Category Menu */
.category-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  background: none;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  text-align: left;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.category-btn:hover {
  background-color: var(--gray-light);
  color: var(--primary);
}

.category-btn.active {
  background-color: var(--light-cream);
  border-color: var(--soft-beige);
  color: var(--primary);
  font-weight: 600;
}

.category-count {
  font-size: 0.75rem;
  background-color: rgba(140, 29, 35, 0.08);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Subcategory List inside category */
.subcategory-list {
  margin-top: 4px;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.subcat-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 6px 12px;
  text-align: left;
  cursor: pointer;
  width: 100%;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.subcat-btn:hover {
  color: var(--primary);
  background-color: var(--gray-light);
}

.subcat-btn.active {
  color: var(--primary);
  font-weight: 600;
  background-color: var(--soft-beige);
}

.subcat-btn::before {
  content: '▪';
  font-size: 0.6rem;
  opacity: 0.5;
}

/* Active Filter Badges block */
.active-filters-block {
  padding: 16px;
  background-color: var(--light-cream);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--accent-gold);
}

.active-filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.btn-clear-filters {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-size: 0.85rem;
}

.btn-clear-filters:hover {
  text-decoration: underline;
}

.active-filter-badge-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.active-filter-badge {
  background-color: var(--white);
  border: 1px solid var(--gray-border);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.active-filter-badge button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  display: inline-flex;
}

.active-filter-badge button:hover {
  color: var(--primary);
}

/* Catalog Content Area */
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  background-color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
}

.results-count {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.mobile-filter-trigger-container {
  display: none;
}

/* Product Cards Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.product-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--soft-beige);
}

.product-image-wrapper {
  position: relative;
  padding-bottom: 100%;
  /* Square ratio */
  overflow: hidden;
  background-color: var(--gray-light);
}

.product-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.product-badge-overlay {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  background-color: rgba(24, 24, 22, 0.85);
  color: var(--white);
  backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.product-info-wrapper {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.product-card-title {
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.product-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.product-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--gray-border);
}

.product-card-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  font-family: var(--font-body);
}

.product-card-price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.product-card-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.product-card-btn:hover {
  color: var(--primary-light);
  gap: 10px;
}

/* Empty State / Not Found style */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px dashed var(--gray-border);
  box-shadow: var(--shadow-sm);
}

.empty-icon {
  font-size: 3.5rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.empty-state p {
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   About Us Section
   ========================================================================== */

.about-section {
  padding: 100px 0;
  background-color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-image-container {
  position: relative;
  padding: 20px;
}

.about-image-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  height: 90%;
  border: 4px solid var(--soft-beige);
  border-radius: var(--radius-md);
  z-index: 1;
}

.about-main-image {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 480px;
  width: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -10px;
  right: -10px;
  background-color: var(--primary);
  color: var(--white);
  padding: 24px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--secondary);
}

.badge-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 6px;
  text-align: center;
  font-weight: 600;
}

.about-lead {
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 20px;
  font-weight: 500;
}

.about-text {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.value-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.value-card {
  padding: 24px;
  background-color: var(--gray-light);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
  transition: var(--transition-fast);
}

.value-card:hover {
  background-color: var(--light-cream);
  transform: translateY(-2px);
}

.value-icon {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.value-card h4 {
  font-size: 1.1rem;
  font-family: var(--font-body);
  margin-bottom: 8px;
  font-weight: 600;
}

.value-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Inquiry Section
   ========================================================================== */

.inquiry-section {
  padding: 100px 0;
  background-color: var(--light-cream);
  border-top: 1px solid var(--gray-border);
}

.inquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.inquiry-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 20px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-border);
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 4px;
}

.contact-details p,
.contact-details a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
}

.contact-details a:hover {
  color: var(--primary);
}

/* Elegant Form */
.elegant-form {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-border);
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
  text-align: center;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-border);
  background-color: var(--gray-light);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background-color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(140, 29, 35, 0.08);
}

.form-status-message {
  margin-top: 20px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-status-message.success {
  color: var(--success);
}

.form-status-message.error {
  color: var(--primary);
}

/* Applied to the label container */
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  width: fit-content;
}

/* Applied to the checkbox input */
.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
}

/* ==========================================================================
   Product Modal / Lightbox Overlay
   ========================================================================== */

.product-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(24, 24, 22, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
  padding: 24px;
}

.product-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.product-modal-card {
  background-color: var(--white);
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--gray-border);
}

.product-modal-backdrop.active .product-modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 10;
  width: 40px;
  height: 40px;
  background-color: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--dark);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: rotate(90deg);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
}

.modal-image-panel {
  position: relative;
  background-color: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.modal-image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-tag-container {
  position: absolute;
  bottom: 24px;
  left: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-tag-container .badge {
  background-color: rgba(24, 24, 22, 0.8);
  color: var(--white);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-info-panel {
  padding: 48px;
  display: flex;
  flex-direction: column;
}

.modal-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.modal-title {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.2;
}

.modal-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}

.modal-divider {
  height: 1px;
  background-color: var(--gray-border);
  margin-bottom: 24px;
}

.modal-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.modal-features-section {
  margin-bottom: 28px;
}

.modal-features-section h3 {
  font-size: 0.95rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark);
  margin-bottom: 14px;
  font-weight: 600;
}

.modal-features-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-features-list li {
  font-size: 0.95rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-features-list li::before {
  content: '✓';
  color: var(--success);
  font-weight: bold;
}

.modal-availability-row {
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.avail-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.avail-status {
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.avail-status.in-stock {
  color: var(--success);
}

.modal-actions {
  display: flex;
  gap: 16px;
  margin-top: auto;
}

.modal-actions .btn {
  flex: 1;
}

#modalWhatsappBtn {
  background-color: #25d366;
  border-color: #25d366;
  color: var(--white);
}

#modalWhatsappBtn:hover {
  background-color: #20ba5a;
  border-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

#modalEmailBtn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.main-footer {
  background-color: var(--dark);
  color: var(--text-light);
  padding: 80px 0 0 0;
  border-top: 3px solid var(--secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-brand-column .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-brand-column .logo-title {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
}

.footer-social-links a {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-social-links a:hover {
  background-color: var(--secondary);
  color: var(--dark);
  transform: translateY(-3px);
}

.footer-links-column h3,
.footer-contact-column h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 24px;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links-column ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-column a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer-links-column a:hover {
  color: var(--secondary);
  padding-left: 6px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-info li {
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.footer-contact-info i {
  color: var(--secondary);
  margin-top: 3px;
}

.footer-contact-info a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-policy-links {
  display: flex;
  gap: 20px;
}

.footer-policy-links a:hover {
  color: var(--secondary);
}

/* ==========================================================================
   Skeleton & Loading Effects
   ========================================================================== */

.skeleton-loader {
  height: 20px;
  background: linear-gradient(90deg, #f0ebd8 25%, #faf7f2 50%, #f0ebd8 75%);
  background-size: 200% 100%;
  animation: loadingShimmer 1.5s infinite;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.skeleton-loader.short {
  width: 60%;
}

.skeleton-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-border);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skeleton-image {
  height: 200px;
  background: linear-gradient(90deg, #f0ebd8 25%, #faf7f2 50%, #f0ebd8 75%);
  background-size: 200% 100%;
  animation: loadingShimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

.skeleton-text {
  height: 16px;
  background: linear-gradient(90deg, #f0ebd8 25%, #faf7f2 50%, #f0ebd8 75%);
  background-size: 200% 100%;
  animation: loadingShimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

.skeleton-text.short {
  width: 40%;
}

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

  100% {
    background-position: -200% 0;
  }
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

@media (max-width: 1024px) {
  .catalog-layout {
    grid-template-columns: 240px 1fr;
    gap: 24px;
  }

  .modal-info-panel {
    padding: 32px;
  }
}

@media (max-width: 991px) {

  /* Catalog Layout Mobile */
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .catalog-sidebar {
    display: none;
    /* Hide sidebar by default on mobile, triggered by js overlay class */
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    z-index: 500;
    overflow-y: auto;
    transition: left 0.4s ease;
    border-radius: 0;
  }

  .catalog-sidebar.active {
    display: block;
    left: 0;
  }

  .mobile-filter-trigger-container {
    display: block;
  }

  /* Grid conversions */
  .about-grid,
  .inquiry-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-container {
    max-width: 500px;
    margin: 0 auto;
  }

  .modal-grid {
    grid-template-columns: 1fr;
  }

  .modal-image-panel {
    min-height: 300px;
    height: 350px;
  }

  .hero-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .desktop-nav,
  .header-search-container,
  .top-bar-tagline {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-section {
    height: 70vh;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .elegant-form {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .modal-actions {
    flex-direction: column;
    gap: 12px;
  }
}