/* Showroom Page Styles */
/* ====== THEME & BASE ====== */
/* Removed localized :root in favor of global theme variables */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-main);
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  border-bottom: 1px solid var(--border-base);
  padding: 0.6rem 1.5rem;
  text-align: center;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: -0.5px;
  margin-bottom: 0.2rem;
}

.site-tagline {
  font-size: 1rem;
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
  margin-top: 0;
}

/* Search (if used) */
.search-container {
  position: relative;
}

.search-input {
  padding: 0.5rem 1rem 0.5rem 2.5rem;
  border: 1px solid var(--border-base);
  border-radius: 9999px;
  font-size: 0.875rem;
  width: 16rem;
  outline: none;
}

.search-input:focus {
  border-color: var(--primary);
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: var(--text-muted);
}

/* Main Layout */
.main-container {
  display: flex;
  flex: 1;
}

/* Sidebar */
.sidebar {
  width: 16rem;
  border-right: 1px solid var(--border-base);
  min-height: calc(100vh - 73px);
  padding: 1.5rem;
  flex-shrink: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sidebar-section {
  margin-bottom: 2rem;
}

.dropdown-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  font-weight: 500;
  margin-bottom: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--text-main);
  transition: color 0.2s;
}

.dropdown-icon {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  color: var(--text-main);
}

.dropdown-content {
  margin-left: 0.5rem;
  display: none;
}

.dropdown-content.active {
  display: block;
}

.dropdown-item {
  margin-bottom: 0.5rem;
  list-style-type: none;
}

.dropdown-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.dropdown-link:hover {
  color: var(--primary);
}

/* Main Content Area */
.content {
  flex: 1;
  padding: 2rem;
}

.content-title {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-base);
}

/* Masonry Grid */
.masonry-grid {
  column-count: 3;
  column-gap: 1.5rem;
}

@media (max-width: 1200px) {
  .masonry-grid {
    column-count: 2;
  }
}

@media (max-width: 768px) {
  .masonry-grid {
    column-count: 1;
  }
}

/* Product Cards */
.product-card {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-base);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.image-container {
  position: relative;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s;
}

.image-container:hover .product-image {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background-color: transparent;
  transition: background-color 0.38s ease;
}

.image-container:hover .image-overlay {
  background-color: var(--overlay-base);
}

.product-content {
  padding: 1rem;
}

.product-title {
  font-size: 1.125rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

.product-description {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.view-button {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: none;
  border: none;
  cursor: pointer;
}

.view-button:hover {
  text-decoration: underline;
}
