/* ============================================================
   FurnitureInformation Pages — Modern Layout & Styles
   ============================================================ */

/* Breadcrumb */
.fi-breadcrumb {
  font-size: 13px;
  color: #888;
  padding: 14px 0 18px 0;
}
.fi-breadcrumb a {
  color: #888;
  text-decoration: none;
}
.fi-breadcrumb a:hover { color: #c55b39; }
.fi-breadcrumb span { margin: 0 6px; color: #ccc; }

/* Page layout */
.fi-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 60px;
}

/* Article / content area */
.fi-article {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 10px;
  padding: 36px 42px;
  margin-bottom: 40px;
  line-height: 1.8;
}
.fi-article h1 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 20px 0;
  line-height: 1.25;
}
.fi-article h2 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 28px 0 12px 0;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}
.fi-article h3 {
  font-size: 17px;
  font-weight: 600;
  color: #333;
  margin: 20px 0 8px 0;
}
.fi-article p {
  font-size: 15px;
  color: #444;
  margin: 0 0 16px 0;
}
.fi-article img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  margin: 8px 0;
}
.fi-article a {
  color: #c55b39;
  text-decoration: none;
}
.fi-article a:hover { text-decoration: underline; }
.fi-article ul, .fi-article ol {
  padding-left: 22px;
  margin: 0 0 16px 0;
}
.fi-article li {
  font-size: 15px;
  color: #444;
  margin-bottom: 6px;
}
.fi-article .actionLink {
  margin: 16px 0;
}
.fi-article .actionLink a {
  display: inline-block;
  background: #c55b39;
  color: #fff;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.fi-article .actionLink a:hover { background: #a23b21; }

/* Products section */
.fi-products {
  margin-top: 10px;
}
.fi-products-heading {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}

/* Product grid */
.fi-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

/* Product card */
.fi-product-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.18s, transform 0.18s;
  display: flex;
  flex-direction: column;
}
.fi-product-card:hover {
  box-shadow: 0 6px 22px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}
.fi-card-thumb {
  display: flex;
  width: 100%;
  height: 180px !important;
  max-height: 180px !important;
  overflow: hidden;
  background: #f8f8f8;
  align-items: center;
  justify-content: center;
}
.fi-card-thumb img {
  max-width: 100% !important;
  max-height: 180px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  transition: transform 0.22s;
}
.fi-product-card:hover .fi-card-thumb img {
  transform: scale(1.04);
}
.fi-card-body {
  padding: 12px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fi-card-title {
  font-size: 13px;
  line-height: 1.45;
  color: #1a1a1a;
  font-weight: 400;
  margin: 0;
}
.fi-card-title a {
  color: inherit;
  text-decoration: none;
}
.fi-card-title a:hover { color: #c55b39; }
.fi-card-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: auto;
}
.fi-price-sale {
  color: #c55b39;
  font-weight: 700;
  font-size: 14px;
}
.fi-price-original {
  color: #aaa;
  font-size: 12px;
  text-decoration: line-through;
}

/* View all button */
.fi-view-all {
  text-align: center;
  padding-top: 8px;
}
.fi-btn {
  display: inline-block;
  background: #c55b39;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 36px;
  border-radius: 7px;
  text-decoration: none;
  transition: background 0.15s;
  letter-spacing: 0.01em;
}
.fi-btn:hover { background: #a23b21; color: #fff; }

/* Related pages section */
.fi-related {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid #f0f0f0;
}
.fi-related-heading {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 14px 0;
  padding: 0;
  border: none;
}
.fi-related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.fi-related-list li a {
  display: inline-block;
  background: #f5f5f5;
  color: #333;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 20px;
  text-decoration: none;
  border: 1px solid #e8e8e8;
  transition: background 0.15s, color 0.15s;
}
.fi-related-list li a:hover {
  background: #c55b39;
  color: #fff;
  border-color: #c55b39;
}

/* Direct answer — voice search target + AEO highlight */
.direct-answer {
  font-size: 16px;
  color: #333;
  line-height: 1.7;
  margin: 0 0 24px 0;
  padding: 16px 20px;
  background: #f8f7f5;
  border-left: 4px solid #c55b39;
  border-radius: 0 8px 8px 0;
}

/* Buying tips box */
.fi-buying-tips {
  margin-top: 28px;
  padding: 20px 24px;
  background: #fff9f9;
  border: 1px solid #f0dada;
  border-radius: 8px;
}
.fi-buying-tips h2 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 12px 0;
  border: none;
  padding: 0;
}
.fi-buying-tips ul {
  margin: 0;
  padding: 0 0 0 20px;
  color: #444;
  font-size: 14px;
  line-height: 1.8;
}

/* Browse all categories nav */
.fi-all-categories {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid #f0f0f0;
}
.fi-all-cat-heading {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 14px 0;
}
.fi-all-cat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.fi-all-cat-list li a {
  display: inline-block;
  background: #f5f5f5;
  color: #444;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  border: 1px solid #e8e8e8;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.fi-all-cat-list li a:hover {
  background: #c55b39;
  color: #fff;
  border-color: #c55b39;
}

/* Mobile: direct answer */
@media (max-width: 767px) {
  .direct-answer {
    font-size: 14px;
    padding: 14px 16px;
    margin: 0 0 18px 0;
    border-radius: 0 6px 6px 0;
  }
}

/* Mobile: buying tips */
.fi-mob-buying-tips {
  margin-top: 20px;
  padding: 16px;
  background: #fff9f9;
  border: 1px solid #f0dada;
  border-radius: 8px;
}
.fi-mob-buying-tips h2 {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px 0;
}
.fi-mob-buying-tips ul {
  margin: 0;
  padding: 0 0 0 18px;
  color: #444;
  font-size: 13px;
  line-height: 1.8;
}

/* Mobile: page wrapper & content */
.fi-mob-wrap { padding: 16px; }
.fi-mob-wrap h1 { font-size: 20px; font-weight: 700; color: #1a1a1a; margin: 0 0 14px 0; line-height: 1.3; }
.fi-mob-wrap h2 { font-size: 16px; font-weight: 600; color: #1a1a1a; margin: 20px 0 10px 0; }
.fi-mob-wrap p  { font-size: 14px; color: #444; line-height: 1.7; margin: 0 0 12px 0; }
.fi-mob-wrap a  { color: #c55b39; }
.fi-mob-wrap img { max-width: 100%; height: auto; display: block; border-radius: 4px; margin: 6px 0; }

/* Mobile: related links */
.fi-mob-related { margin-top: 24px; padding-top: 18px; border-top: 2px solid #f0f0f0; }
.fi-mob-related h2 { font-size: 15px; font-weight: 700; color: #1a1a1a; margin: 0 0 12px 0; }
.fi-mob-related-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.fi-mob-related-list li a { display: block; background: #f5f5f5; color: #333; font-size: 12px; padding: 6px 12px; border-radius: 20px; text-decoration: none; border: 1px solid #e8e8e8; }
.fi-mob-related-list li a:hover { background: #c55b39; color: #fff; border-color: #c55b39; }

/* Mobile: breadcrumb */
.fi-mob-breadcrumb { font-size: 12px; color: #888; margin-bottom: 14px; }
.fi-mob-breadcrumb a { color: #888; text-decoration: none; }
.fi-mob-breadcrumb span { margin: 0 4px; }

/* Mobile: product grid */
.fi-mob-products-heading { font-size: 16px; font-weight: 700; color: #1a1a1a; margin: 20px 0 12px 0; padding-top: 16px; border-top: 1px solid #f0f0f0; }
.fi-mob-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.fi-mob-card { background: #fff; border: 1px solid #eee; border-radius: 8px; overflow: hidden; }
.fi-mob-card-thumb { display: flex; width: 100%; height: 130px; overflow: hidden; background: #f9f9f9; align-items: center; justify-content: center; }
.fi-mob-card-thumb img { max-width: 100%; max-height: 130px; width: auto; height: auto; object-fit: contain; display: block; }
.fi-mob-card-body { padding: 8px; }
.fi-mob-card-title { font-size: 12px; color: #222; text-decoration: none; display: block; line-height: 1.4; margin-bottom: 5px; }
.fi-mob-price-sale { color: #c55b39; font-weight: 700; font-size: 13px; }
.fi-mob-price-orig { color: #aaa; font-size: 11px; text-decoration: line-through; margin-left: 4px; }
.fi-mob-view-all { display: block; text-align: center; background: #c55b39; color: #fff; font-size: 14px; font-weight: 600; padding: 12px; border-radius: 8px; text-decoration: none; margin: 8px 0 20px 0; }

/* Mobile: browse all categories */
.fi-mob-all-cat {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 2px solid #f0f0f0;
}
.fi-mob-all-cat h2 {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 12px 0;
}
.fi-mob-all-cat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.fi-mob-all-cat-list li a {
  display: inline-block;
  background: #f5f5f5;
  color: #444;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 16px;
  text-decoration: none;
  border: 1px solid #e8e8e8;
}
