/* assets/css/mattresses-gallery.css */

/* Hero */
.fcg-hero {
  padding: 110px 0 25px;
  background: #eeeae2;
}
.fcg-hero h1 {
  margin: 0 0 10px;
  font-weight: 900;
  color: #2c2d84;
  font-size: 56px;
  line-height: 1.1;
}
.fcg-hero p {
  margin: 0;
  color: #4d4c4b;
  line-height: 1.7;
}

/* Section */
.fcg-section {
  padding: 20px 0 70px;
  background: #ffffff;
}

/* Toolbar */
.fcg-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 10px 0 18px;
}
.fcg-count {
  font-weight: 700;
  color: #4d4c4b;
}
.fcg-btn {
  border: 1px solid rgba(44,45,132,0.25);
  background: #fff;
  color: #2c2d84;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.fcg-btn:hover { transform: translateY(-1px); }
.fcg-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Grid - fast, simple, reliable */
.fcg-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

/* Card */
.fcg-item {
  grid-column: span 4;
  background: #f7f4ee;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}
.fcg-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #eae6dc;
}
.fcg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.0001);
  transition: transform 0.25s ease;
}
.fcg-item:hover .fcg-media img {
  transform: scale(1.04);
}
.fcg-caption {
  padding: 10px 12px 12px;
  color: #4d4c4b;
  font-weight: 700;
  font-size: 14px;
}

/* Status */
.fcg-status {
  margin-top: 18px;
  color: #4d4c4b;
  font-weight: 700;
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 992px) {
  .fcg-hero h1 { font-size: 44px; }
  .fcg-item { grid-column: span 6; }
}
@media (max-width: 576px) {
  .fcg-hero { padding: 95px 0 18px; }
  .fcg-hero h1 { font-size: 34px; }
  .fcg-item { grid-column: span 12; }
}
