/* 
 * FIXED CHAIRS PREMIUM B2B PAGE STYLES
 * Uses CSS variables from style.css
 */

html,
body {
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Base Utility */
.center {
  text-align: center;
}
.text-white {
  color: var(--color-white) !important;
}
.full-width {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* 1. BREADCRUMB */
.breadcrumb-container {
  background: var(--color-offwhite);
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  margin-top: 80px; /* offset for fixed header */
}

.elegant-breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: gray;
}

.elegant-breadcrumb a {
  color: var(--color-charcoal);
  text-decoration: none;
  transition: var(--transition);
}

.elegant-breadcrumb a:hover {
  color: var(--color-wood);
}

.elegant-breadcrumb .lucide {
  width: 14px;
  height: 14px;
  opacity: 0.5;
}

/* 2. PRODUCT HERO */
.fc-hero {
  padding: 80px 0;
  background: var(--color-white);
}

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

.fc-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-wood);
  display: block;
  margin-bottom: 16px;
}

.fc-main-title {
  font-family: var(--font-serif);
  font-size: 48px;
  line-height: 1.1;
  color: var(--color-charcoal);
  margin-bottom: 24px;
}

.fc-support-text {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 32px;
  max-width: 90%;
}

.fc-hero-actions {
  display: flex;
  gap: 16px;
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 1px solid var(--color-charcoal);
  background: transparent;
  color: var(--color-charcoal);
  font-weight: 500;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
}

.btn-outline-dark:hover {
  background: var(--color-charcoal);
  color: var(--color-white);
}

.fc-hero-image-wrapper {
  position: relative;
}

.fc-hero-img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  display: block;
}

.fc-floating-spec {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--color-white);
  padding: 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.fc-floating-spec p {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--color-charcoal);
}

.fc-floating-spec p:last-child {
  margin-bottom: 0;
}
.fc-floating-spec .lucide {
  width: 16px;
  height: 16px;
  color: var(--color-wood);
}

/* 3. CATEGORY NAVIGATION */
.fc-category-nav-wrapper {
  background: var(--color-offwhite);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 80px;
  z-index: 90;
}

.fc-category-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 32px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none; /* Firefox */
}

.fc-category-nav::-webkit-scrollbar {
  display: none;
}

.fc-category-nav li a {
  display: block;
  padding: 20px 0;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.fc-category-nav li a:hover {
  color: var(--color-charcoal);
}

.fc-category-nav li a.active {
  color: var(--color-wood);
}

.fc-category-nav li a.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-wood);
}

/* 4. PRODUCT COLLECTION */
.fc-collection-section {
  padding: 90px 0;
  background: var(--color-white, #ffffff);
}

.fc-section-header {
  margin-bottom: 50px;
  text-align: center;
}

.fc-section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-wood, #b8860b);
  background: rgba(184, 134, 11, 0.08);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 14px;
}

.fc-section-title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: clamp(30px, 3.5vw, 42px);
  color: var(--color-charcoal, #1a1a2e);
  margin-bottom: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.fc-section-subtitle {
  font-size: 15px;
  color: #64748b;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

.fc-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.fc-product-card {
  background: #ffffff;
  border: 1px solid #eef0f4;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.fc-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
  border-color: #cbd5e1;
}

.fc-card-img-box {
  position: relative;
  background: #f8fafc;
  overflow: hidden;
  aspect-ratio: 4 / 3.6;
}

.fc-card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0, 0.2, 1);
}

.fc-product-card:hover .fc-card-img-box img {
  transform: scale(1.06);
}

.fc-card-info {
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.fc-card-category {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-wood, #b8860b);
  background: rgba(184, 134, 11, 0.08);
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.fc-card-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-charcoal, #1a1a2e);
  margin-bottom: 8px;
  line-height: 1.35;
}

.fc-card-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 18px;
  flex: 1;
}

.fc-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  gap: 8px;
}

.fc-card-material {
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  background: #f8fafc;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

.fc-get-quote {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-wood, #b8860b);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(184, 134, 11, 0.07);
  transition: all 0.25s ease;
}

.fc-get-quote:hover {
  background: var(--color-wood, #b8860b);
  color: #ffffff;
}

.fc-get-quote .lucide {
  width: 13px;
  height: 13px;
  transition: transform 0.25s ease;
}

.fc-get-quote:hover .lucide {
  transform: translateX(3px);
}

/* 5. SPECIFICATIONS */
.fc-specs-section {
  padding: 80px 0;
  background: var(--color-offwhite, #f8f7f5);
}

.fc-specs-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  background: #ffffff;
}

.fc-specs-hero {
  position: relative;
  min-height: 480px;
  background: #111827;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px;
}

.fc-specs-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.fc-specs-hero-content {
  position: relative;
  z-index: 2;
}

.fc-specs-badge {
  display: inline-block;
  background: var(--color-gold, #c59b27);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.fc-specs-hero-title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 16px;
}

.fc-specs-hero-desc {
  color: #e5e7eb;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 32px;
}

.fc-specs-grid-panel {
  background: #ffffff;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fc-specs-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.fc-spec-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.fc-spec-card-icon {
  width: 40px;
  height: 40px;
  background: #111827;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fc-spec-card-icon .lucide {
  width: 18px;
  height: 18px;
  color: var(--color-gold, #f5ba31);
}

.fc-spec-card-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 3px;
}

.fc-spec-card-value {
  font-size: 13px;
  font-weight: 500;
  color: #4b5563;
}

/* 6. APPLICATIONS */
.fc-applications-section {
  padding: 80px 0;
}

.fc-app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.fc-app-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.fc-app-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.fc-app-card:hover img {
  transform: scale(1.05);
}

.fc-app-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--color-white);
}

.fc-app-info h4 {
  font-size: 18px;
  margin-bottom: 4px;
}
.fc-app-info p {
  font-size: 13px;
  opacity: 0.8;
}

/* 7. MATERIALS & FINISHES */
.fc-materials-section {
  padding: 80px 0;
  background: var(--color-offwhite);
}

.fc-swatch-container {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 40px 0 24px;
  flex-wrap: wrap;
}

.fc-swatch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  opacity: 0.6;
  transition: var(--transition);
}

.fc-swatch-item:hover,
.fc-swatch-item.active {
  opacity: 1;
}

.fc-swatch {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 4px;
  background-clip: content-box;
  box-shadow: 0 0 0 1px var(--color-border);
  transition: var(--transition);
}

.fc-swatch-item.active .fc-swatch {
  box-shadow: 0 0 0 2px var(--color-wood);
}

.color-black {
  background-color: #222;
}
.color-walnut {
  background-color: #5c4033;
}
.color-oak {
  background-color: #8b5a2b;
}
.color-brown {
  background-color: #3e2723;
}
.color-grey {
  background-color: #7f8c8d;
}
.color-custom {
  background: linear-gradient(45deg, #eee, #ccc);
}

.fc-swatch-item span {
  font-size: 13px;
  font-weight: 500;
}
.fc-material-note {
  font-size: 13px;
  color: gray;
}

/* 8. WHY CHOOSE US */
.fc-benefits-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--color-border);
}

.fc-benefits-grid {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  flex-wrap: wrap;
  gap: 24px;
}

.fc-benefit {
  flex: 1;
  min-width: 150px;
  text-align: center;
}

.fc-b-num {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--color-gold);
  display: block;
  margin-bottom: 12px;
}

.fc-benefit h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-charcoal);
}

/* 9. FEATURED PROJECT */
.fc-project-section {
  padding: 80px 0;
}

.fc-project-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
}

.fc-project-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  opacity: 0.8;
}

.fc-project-info {
  position: absolute;
  top: 48px;
  left: 48px;
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--radius-sm);
  max-width: 400px;
  box-shadow: var(--shadow-lg);
}

.fc-project-info .fc-section-title {
  font-size: 24px;
  margin-bottom: 24px;
}
.fc-project-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
}
.fc-project-name span {
  font-size: 14px;
  font-weight: 400;
  color: gray;
  display: block;
  margin-top: 4px;
}
.fc-project-meta p {
  font-size: 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 12px;
}
.fc-project-meta p:last-child {
  border: none;
  margin: 0;
  padding: 0;
}

/* 10. BULK ORDER CTA */
.fc-bulk-cta-wrapper {
  background: var(--color-offwhite, #f8f7f5);
  padding: 70px 0 90px;
}

.fc-bulk-card {
  background: linear-gradient(135deg, #181926 0%, #2a1e16 100%);
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(245, 186, 49, 0.3);
  position: relative;
  overflow: hidden;
}

.fc-bulk-badge {
  display: inline-block;
  background: rgba(245, 186, 49, 0.15);
  color: #f5ba31;
  border: 1px solid rgba(245, 186, 49, 0.35);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.fc-bulk-title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: #ffffff !important;
  margin-bottom: 16px;
  line-height: 1.2;
}

.fc-bulk-desc {
  color: #e2e8f0 !important;
  font-size: 16px;
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.7;
  font-weight: 400;
}

.fc-bulk-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.fc-bulk-actions .btn-primary {
  padding: 14px 32px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.fc-bulk-actions .btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 2px solid #ffffff;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 600;
  border-radius: var(--radius-sm, 6px);
  text-decoration: none;
  transition: var(--transition, all 0.3s ease);
}

.fc-bulk-actions .btn-outline-light:hover {
  background: #ffffff;
  color: #111827;
}

.fc-trust-indicators {
  display: flex;
  justify-content: center;
  gap: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 28px;
  flex-wrap: wrap;
}

.fc-trust-indicators span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #f8fafc;
}

.fc-trust-indicators .lucide {
  width: 18px;
  height: 18px;
  color: #f5ba31;
}

/* 11. FAQ */
.fc-faq-section {
  padding: 80px 0;
  background: var(--color-offwhite);
}

.fc-faq-list {
  max-width: 800px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fc-faq-item {
  background: var(--color-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.fc-faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fc-faq-question .lucide {
  transition: transform 0.3s ease;
}
.fc-faq-item.active .fc-faq-question .lucide {
  transform: rotate(180deg);
}

.fc-faq-answer {
  max-height: 0;
  padding: 0 24px;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}

.fc-faq-item.active .fc-faq-answer {
  max-height: 200px;
  padding: 0 24px 20px;
}

.fc-faq-answer p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* 12. FINAL CONTACT */
.fc-final-cta {
  padding: 80px 0;
}
.fc-final-cta .fc-cta-text {
  max-width: 600px;
  margin: 0 auto 32px;
  color: #555;
}
.btn-whatsapp {
  background: #25d366;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 500;
}
.btn-whatsapp:hover {
  background: #1ebc59;
}

.fc-contact-info {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.fc-contact-info a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-charcoal);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}
.fc-contact-info .lucide {
  width: 16px;
  height: 16px;
  color: var(--color-wood);
}

/* 13. QUICK VIEW MODAL */
.fc-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.fc-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.fc-modal-content {
  background: var(--color-white);
  border-radius: var(--radius-md);
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.fc-modal-overlay.active .fc-modal-content {
  transform: translateY(0);
}

.fc-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-charcoal);
  z-index: 10;
  padding: 8px;
}

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

.fc-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

.fc-modal-info {
  padding: 40px;
}
.fc-modal-info h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  margin-bottom: 12px;
}
.fc-modal-desc {
  font-size: 14px;
  color: #555;
  margin-bottom: 24px;
  line-height: 1.6;
}

.fc-modal-specs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.fc-mspec {
  font-size: 14px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 12px;
}
.fc-mspec:last-child {
  border: none;
}
.fc-mspec strong {
  width: 80px;
  display: inline-block;
  color: var(--color-charcoal);
}
.fc-mspec span {
  color: #555;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .fc-hero-grid,
  .fc-specs-showcase,
  .fc-specs-grid {
    grid-template-columns: 1fr;
  }
  .fc-hero-image-wrapper {
    order: -1;
  }
  .fc-floating-spec {
    bottom: 20px;
    left: 20px;
    right: 20px;
  }
  .fc-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .fc-app-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .fc-main-title {
    font-size: 34px;
  }
  .fc-collection-section {
    padding: 60px 0;
  }
  .fc-specs-hero {
    padding: 36px 24px;
    min-height: 380px;
  }
  .fc-specs-grid-panel {
    padding: 32px 20px;
  }
  .fc-bulk-card {
    padding: 40px 20px;
  }
  .fc-trust-indicators {
    gap: 16px;
  }
  .fc-trust-indicators span {
    font-size: 13px;
  }
  .fc-project-info {
    position: static;
    max-width: 100%;
  }
  .fc-project-img {
    height: 300px;
  }
  .fc-hero-actions,
  .fc-bulk-actions {
    flex-direction: column;
  }
  .fc-hero-actions .btn,
  .fc-bulk-actions .btn,
  .fc-bulk-actions .btn-outline-light {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .fc-product-grid {
    grid-template-columns: 1fr;
  }
  .fc-specs-subgrid {
    grid-template-columns: 1fr;
  }
  .fc-app-grid {
    grid-template-columns: 1fr;
  }
  .fc-benefits-grid {
    flex-direction: column;
  }
}
