/* ============================================================
   CATALOG MODULE STYLES
   ============================================================ */

:root {
  --cat-primary: #1c443e;
  --cat-secondary: #544738;
  --cat-accent: #d1a556;
  --cat-accent-alt: #1c443e;
  --cat-text-light: #e0e0e0;
  --cat-text-dark: #143632;
  --cat-bg-card: #ffffff;
  --cat-bg-sidebar: #f8f9fa;
  --cat-border: #eaeaea;
  --cat-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  --cat-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.1);
  --cat-radius: 12px;
  --cat-transition: all 0.3s ease;
}

/* --- Layout --- */
.catalog-section {
  padding: 40px 0;
  background-color: #fcfcfc;
}

.catalog-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.catalog-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-top: 1.5rem;
}

/* --- Sidebar --- */
.catalog-sidebar {
  flex: 0 0 280px;
  background: var(--cat-bg-sidebar);
  border-radius: var(--cat-radius);
  padding: 1.5rem;
  box-shadow: var(--cat-shadow);
  position: sticky;
  top: 100px;
  border-left: 4px solid var(--cat-accent);
}

.sidebar-title {
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--cat-secondary);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.sidebar-tree, .sidebar-tree ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-tree ul {
  padding-left: 1.5rem;
  border-left: 1px dashed var(--cat-border);
  margin-left: 0.5rem;
}

.tree-item {
  margin-bottom: 0.25rem;
}

.tree-item-row {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  border-radius: 6px;
  transition: var(--cat-transition);
}

.tree-item-row:hover {
  background: rgba(0, 0, 0, 0.03);
}

.tree-item.active > .tree-item-row {
  background: rgba(233, 69, 96, 0.05);
  border-left: 3px solid var(--cat-accent);
}

.tree-link {
  color: var(--cat-text-dark);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  flex: 1;
}

.tree-link:hover, .tree-link.active {
  color: var(--cat-accent);
}

.tree-toggle {
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
  transition: var(--cat-transition);
}

.tree-toggle-spacer {
  width: 24px;
}

.tree-item.expanded > .tree-item-row .tree-toggle i {
  transform: rotate(90deg);
}

.tree-children {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.tree-children.open {
  max-height: 1000px;
}

/* --- Mobile Sidebar --- */
.sidebar-mobile-toggle {
  display: none;
  background: var(--cat-accent);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  margin-bottom: 1rem;
  cursor: pointer;
  box-shadow: var(--cat-shadow);
}

.sidebar-close-btn {
  display: none;
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--cat-text-dark);
  cursor: pointer;
}

.sidebar-mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* --- Breadcrumbs --- */
.catalog-breadcrumb {
  background: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  box-shadow: var(--cat-shadow);
  display: inline-block;
  margin-bottom: 1rem;
}

.catalog-breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.85rem;
}

.catalog-breadcrumb li {
  display: flex;
  align-items: center;
  color: #666;
}

.catalog-breadcrumb li:not(:last-child)::after {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 500;
  margin: 0 0.75rem;
  font-size: 0.6rem;
  color: #aaa;
}

.catalog-breadcrumb a {
  color: var(--cat-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.catalog-breadcrumb a:hover {
  color: var(--cat-accent);
}

.catalog-breadcrumb li.current {
  color: var(--cat-accent);
  font-weight: 600;
}

/* --- Content Area --- */
.catalog-content {
  flex: 1;
  min-width: 0;
}

.category-header {
  margin-bottom: 2rem;
}

.category-header h1 {
  font-size: 2.5rem;
  color: var(--cat-primary);
  margin-bottom: 0.5rem;
}

.category-banner {
  position: relative;
  height: 250px;
  border-radius: var(--cat-radius);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--cat-shadow);
}

.category-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26, 26, 46, 0.9), rgba(26, 26, 46, 0.4));
  display: flex;
  align-items: center;
  padding: 3rem;
}

.category-banner-overlay h1 {
  color: white;
  font-size: 3rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  margin: 0;
}

.category-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 3rem;
  max-width: 900px;
}

.section-subtitle {
  font-size: 1.5rem;
  color: var(--cat-secondary);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--cat-border);
  padding-bottom: 0.5rem;
}

/* --- Category Grid --- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.category-grid--small {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.category-card {
  background: var(--cat-bg-card);
  border-radius: var(--cat-radius);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--cat-shadow);
  transition: var(--cat-transition);
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--cat-shadow-hover);
}

.category-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #f0f0f0;
}

.category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card:hover .category-card-image img {
  transform: scale(1.05);
}

.category-card-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #ccc;
}

.category-card-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.category-card-count {
  background: rgba(26, 26, 46, 0.85);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.category-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.category-card-title {
  color: var(--cat-primary);
  font-size: 1.25rem;
  margin: 0 0 0.5rem 0;
}

.category-card-desc {
  color: #666;
  font-size: 0.9rem;
  margin: 0 0 1rem 0;
  flex: 1;
}

.category-card-link {
  color: var(--cat-accent);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --- Product Grid --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.product-card {
  background: var(--cat-bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: var(--cat-transition);
  border: 1px solid #ddd;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.product-card-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card-image {
  height: 220px;
  padding: 1rem;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--cat-border);
}

.product-card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-card-placeholder {
  font-size: 4rem;
  color: #ddd;
}

.product-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-title {
  color: var(--cat-secondary);
  font-size: 1.1rem;
  margin: 0 0 0.5rem 0;
  font-weight: 500;
}

.product-card-desc {
  color: #777;
  font-size: 0.9rem;
  margin: 0 0 1.5rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.product-card-btn {
  background: var(--cat-accent-alt);
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  transition: var(--cat-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.product-card:hover .product-card-btn {
  background: var(--cat-accent);
}

/* --- Pagination --- */
.catalog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.5rem;
  border-radius: 18px;
  background: white;
  color: var(--cat-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--cat-border);
  transition: var(--cat-transition);
}

.pagination-btn:hover:not(.disabled):not(.active) {
  background: var(--cat-bg-sidebar);
  color: var(--cat-accent);
  border-color: var(--cat-accent);
}

.pagination-btn.active {
  background: var(--cat-accent);
  color: white;
  border-color: var(--cat-accent);
}

.pagination-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f5f5f5;
}

/* --- Product Detail --- */
.product-detail-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  background: #ffffff;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gallery-main {
  background: #f8fafc;
  border-radius: 24px;
  border: none;
  padding: 3rem;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  transition: all 0.4s ease;
}
.gallery-main:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) inset;
}

.gallery-main-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.15s ease;
}

.gallery-main--empty {
  flex-direction: column;
  color: #ccc;
  font-size: 4rem;
  cursor: default;
}

.gallery-main--empty p {
  font-size: 1rem;
  margin-top: 1rem;
}

.gallery-thumbs {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.gallery-thumb {
  flex: 0 0 80px;
  height: 80px;
  border-radius: 8px;
  border: 2px solid transparent;
  padding: 5px;
  background: white;
  cursor: pointer;
  transition: var(--cat-transition);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-thumb.active, .gallery-thumb:hover {
  border-color: var(--cat-accent);
}

.product-info-title {
  font-size: 2.8rem;
  font-family: var(--font-heading);
  color: #0f172a;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-weight: 500;
}

.product-info-short {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.product-info-desc {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.product-features {
  background: white;
  padding: 1.5rem;
  border-radius: var(--cat-radius);
  box-shadow: var(--cat-shadow);
  margin-bottom: 2rem;
}

.product-features h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--cat-secondary);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #555;
}

.features-list li i {
  color: var(--cat-accent);
  margin-top: 0.25rem;
}

.product-brochure-btn, .product-enquiry-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--cat-transition);
  margin-right: 1rem;
  margin-bottom: 1rem;
}

.product-brochure-btn {
  background: #f1f3f5;
  color: var(--cat-secondary);
  border: 1px solid #dee2e6;
}

.product-brochure-btn:hover {
  background: #e9ecef;
  color: var(--cat-primary);
}

.product-enquiry-btn {
  background: var(--cat-accent);
  color: white;
  border: 1px solid var(--cat-accent);
}

.product-enquiry-btn:hover {
  background: #d63d56;
  color: white;
}

/* Specs Table */
.product-specs-section {
  margin-bottom: 4rem;
}

.product-specs-section h2 {
  color: var(--cat-secondary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.product-specs {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.product-specs th, .product-specs td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--cat-border);
}

.product-specs th {
  background: var(--cat-bg-sidebar);
  color: var(--cat-secondary);
  font-weight: 600;
  width: 30%;
}

.product-specs tr:last-child th,
.product-specs tr:last-child td {
  border-bottom: none;
}

.product-specs tbody tr:hover {
  background: #f8f9fa;
}

/* --- Lightbox --- */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.gallery-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* --- Empty State --- */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: var(--cat-radius);
  border: 1px dashed #ccc;
  color: #888;
}

.empty-state i {
  font-size: 3rem;
  color: #ddd;
  margin-bottom: 1rem;
}

.empty-state h3 {
  color: var(--cat-secondary);
  margin-bottom: 0.5rem;
}

/* --- Hero --- */
.catalog-hero {
  position: relative;
  height: 620px;
  background-image: url('../images/kitchen_hero_bg.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  margin-top: 0;
  box-shadow: none;
}

.catalog-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(28, 68, 62, 0.8) 0%, rgba(28, 68, 62, 0.6) 40%, rgba(28, 68, 62, 0) 100%);
}

.catalog-hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  color: white;
  padding-bottom: 50px;
}

.catalog-hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  color: var(--cat-accent);
  margin-bottom: 1rem;
  font-weight: 600;
}

.catalog-hero-title {
  font-size: 3.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.catalog-hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  line-height: 1.6;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .product-detail-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .gallery-main {
    height: 400px;
  }
}

@media (max-width: 900px) {
  .catalog-layout {
    flex-direction: column;
  }
  
  .catalog-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    bottom: 0;
    width: 300px;
    height: 100vh;
    z-index: 999;
    border-radius: 0;
    overflow-y: auto;
    transition: left 0.3s ease;
  }

  .catalog-sidebar.active {
    left: 0;
  }

  .sidebar-mobile-toggle {
    display: inline-block;
  }
  
  .sidebar-close-btn {
    display: block;
  }

  .sidebar-mobile-overlay.active {
    display: block;
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .category-grid, .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .category-banner-overlay h1 {
    font-size: 2rem;
  }
  
  .catalog-hero-title {
    font-size: 2.5rem;
  }
  
  .product-specs th {
    width: 40%;
  }
}

.related-products-section {
  margin-top: 5rem;
}

/* --- Category Page / Product Detail responsive styles --- */
.cat-page-wrapper {
  background-color: #ffffff;
  padding: 60px 0;
}

.cat-design-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  display: flex;
  align-items: flex-start;
  background-color: #ffffff;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 80px;
}

.cat-design-sidebar {
  width: 280px;
  min-width: 280px;
  background-color: #fcf8f2;
  color: #1c443e;
  padding: 40px 25px;
  display: flex;
  flex-direction: column;
  z-index: 2;
  border-right: 1px solid #e5e0d8;
}

.cat-sidebar-header {
  margin-bottom: 40px;
  text-align: center;
}

.cat-sidebar-number {
  display: none;
}

.cat-sidebar-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 10px 0;
  color: #1c443e;
}

.cat-sidebar-header::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background-color: #d1a556;
  margin: 0 auto;
}

.cat-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cat-sidebar-link {
  color: #1c443e;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 8px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.cat-sidebar-link i {
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
  color: #1c443e;
}

.sidebar-dot-icon {
  font-size: 0.6rem;
}

.cat-sidebar-item {
  position: relative;
  width: 100%;
}

.cat-sidebar-flyout {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background-color: #ffffff;
  min-width: 250px;
  box-shadow: 5px 5px 20px rgba(0,0,0,0.1);
  border: 1px solid #e5e0d8;
  border-radius: 0 8px 8px 0;
  z-index: 100;
  flex-direction: column;
}

.cat-sidebar-item:hover .cat-sidebar-flyout {
  display: flex;
}

.cat-sidebar-flyout-link {
  padding: 12px 20px;
  color: #5c5c5c;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
  text-transform: uppercase;
  border-bottom: 1px solid #f1e7d3;
}

.cat-sidebar-flyout-link:last-child {
  border-bottom: none;
}

.cat-sidebar-flyout-link:hover {
  background-color: #fcf8f2;
  color: #a88854;
  padding-left: 25px;
}

.cat-sidebar-footer {
  margin-top: 40px;
}

.cat-btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  padding: 8px 15px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  color: #1c443e;
  text-decoration: none;
  font-weight: 600;
  background-color: #f9f9f9;
  transition: all 0.3s ease;
}

.cat-btn-outline:hover {
  background-color: #f3f4f6;
  border-color: #9ca3af;
}

.cat-design-content {
  flex-grow: 1;
  padding: 100px 50px 40px 50px;
  display: flex;
  flex-direction: column;
}

.cat-content-top {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.cat-text-area {
  padding-right: 20px;
}

.cat-cursive {
  font-family: 'Brush Script MT', 'Dancing Script', 'Great Vibes', cursive;
  font-size: 2.2rem;
  color: #8b6e41;
  margin-bottom: -5px;
}

.cat-main-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.2rem;
  font-weight: 500;
  color: #1c443e;
  line-height: 1.1;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.cat-desc {
  font-size: 1.05rem;
  color: #5c5c5c;
  line-height: 1.6;
  margin-bottom: 30px;
}

.cat-features-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}

.cat-feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: #ffffff;
  padding: 12px 25px;
  border-radius: 50px;
  border: 1px solid #e5e0d8;
  color: #1c443e;
  font-weight: 600;
  box-shadow: 0 4px 6px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
  width: max-content;
}

.cat-feature-item:hover {
  border-color: #d1a556;
  box-shadow: 0 6px 12px rgba(209, 165, 86, 0.1);
}

.cat-feature-item i {
  color: #a88854;
  font-size: 1.2rem;
}

.cat-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background-color: #1c443e;
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  width: max-content;
}

.cat-explore-btn:hover {
  background-color: #143632;
}

.cat-image-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.cat-image-collage img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

.cat-single-image-area {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.cat-single-img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  max-height: 450px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  border: 6px solid #ffffff;
}

.cat-bottom-bar {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #e5e0d8;
  padding-top: 30px;
}

.cat-bottom-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cat-bottom-icon {
  font-size: 1.8rem;
  color: #a88854;
}

.cat-bottom-text h4 {
  margin: 0 0 5px 0;
  font-size: 1rem;
  color: #143632;
  font-weight: 500;
}

.cat-bottom-text p {
  margin: 0;
  font-size: 0.85rem;
  color: #6b7280;
}

.section-heading-center {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 50px;
  font-size: 2.2rem;
  font-family: 'Montserrat', sans-serif;
  color: #143632;
  position: relative;
}

.section-heading-center::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #d1a556;
  margin: 15px auto 0;
}

.centered-product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.centered-product-grid > * {
  flex: 0 1 320px;
  max-width: 320px;
  width: 100%;
}

.view-models-link-row {
  margin-top: 15px;
  text-align: right;
}

.view-all-models-link {
  font-size: 0.9rem;
  color: #a88854;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}

.view-all-models-link:hover {
  color: #1c443e !important;
  text-decoration: underline !important;
}

.prod-mini-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #e5e0d8;
  transition: transform 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.prod-mini-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.prod-mini-card.active {
  border-color: #d1a556;
  background-color: #fcf8f2;
}

.prod-mini-img-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f8f2;
  border-radius: 12px;
  height: 200px;
  margin-bottom: 20px;
}

.prod-mini-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #f1e7d3;
}

.prod-mini-price {
  margin-top: 0;
  font-weight: 600;
  color: #143632;
}

.btn-add-model-quote,
.btn-add-explore-quote {
  background: transparent;
  border: 1px solid #d1d5db;
  color: #143632;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-add-model-quote.selected,
.btn-add-explore-quote.selected {
  background: #1c443e;
  color: #ffffff;
  border-color: #1c443e;
}

.prod-model-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  padding: 15px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: border-color 0.2s, background-color 0.2s;
  background: #ffffff;
}

.prod-model-card:hover {
  border-color: #d1a556;
}

.prod-model-card.active {
  border-color: #d1a556;
  background-color: #fcf8f2;
}

.prod-model-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  width: 100%;
  gap: 10px;
}

.prod-actions .add-to-quote-btn,
.prod-actions .prod-btn-outline,
.prod-actions .prod-btn-primary {
  width: 100%;
  border: none;
  height: auto;
}

.prod-table-section {
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 40px;
  background: #ffffff;
  border: 1px solid #e5e0d8;
  border-radius: 16px;
}

@media(max-width: 768px) {
  .prod-mini-card {
    min-height: 100%;
  }
}

@media(max-width: 1100px) {
  .cat-design-container { flex-direction: column; }
  .cat-design-sidebar { width: 100%; border-right: none; border-bottom: 1px solid #e5e0d8; }
  .cat-content-top { grid-template-columns: 1fr; }
  .cat-image-collage { min-height: 450px; margin-top: 40px; }
  .cat-bottom-bar { flex-direction: column; gap: 20px; }
}

@media(max-width: 768px) {
  .cat-design-sidebar {
    padding: 30px 20px;
  }
  .cat-content-top {
    gap: 30px;
  }
  .cat-main-title {
    font-size: 2.4rem;
  }
  .cat-feature-item {
    flex-wrap: wrap;
  }
  .cat-single-image-area {
    min-height: 280px;
  }
  .cat-single-img {
    min-height: 280px;
    max-height: 380px;
  }
  .cat-bottom-bar {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

@media(max-width: 576px) {
  .cat-design-sidebar {
    padding: 25px 15px;
  }
  .cat-content-top {
    gap: 20px;
  }
  .cat-main-title {
    font-size: 2rem;
  }
  .cat-desc,
  .cat-feature-item,
  .cat-feature-item p {
    font-size: 0.95rem;
  }
  .cat-bottom-item {
    width: 100%;
  }
}
