/* Furniture Home Variant — inherits molla-base classes */

/* ── CSS Variables ── */
:root {
  --fur-accent: var(--molla-accent, #c96);
  --fur-dark:   #333;
  --fur-gray:   #777;
  --fur-light:  #f5f5f5;
  --fur-radius: 0px;
}

/* ── HERO ── */
.fur-hero { position: relative; overflow: hidden; }
.fur-slider { position: relative; width: 100%; height: 560px; }

.fur-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity .6s ease;
}
.fur-slide.active { opacity: 1; }

.fur-slide-inner {
  display: flex; align-items: center;
  height: 100%; padding: 0 80px;
  background: linear-gradient(90deg, rgba(0,0,0,.5) 40%, transparent 75%);
}
.fur-slide-caption { max-width: 480px; color: #fff; }
.fur-slide-pre {
  display: inline-block;
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,.8); margin-bottom: 12px;
}
.fur-slide-title {
  font-size: 44px; font-weight: 300; line-height: 1.2;
  margin: 0 0 24px; color: #fff;
}
.fur-slide-btn {
  display: inline-block; padding: 12px 28px;
  background: #fff; color: #333;
  font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  text-decoration: none; transition: background .2s, color .2s;
}
.fur-slide-btn:hover { background: var(--fur-accent); color: #fff; }

.fur-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.9); border: none; cursor: pointer;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #333; transition: background .2s;
  z-index: 10;
}
.fur-arrow:hover { background: #fff; }
.fur-arrow--prev { left: 20px; }
.fur-arrow--next { right: 20px; }

.fur-dots {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.fur-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.5); cursor: pointer; transition: background .2s;
}
.fur-dot.active { background: #fff; }

/* ── BRANDS ── */
.fur-brands { padding: 24px 0; border-top: 1px solid #ebebeb; border-bottom: 1px solid #ebebeb; }
.fur-brands-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.fur-brand-item {
  flex: 1; min-width: 100px; max-width: 180px;
  display: flex; align-items: center; justify-content: center;
  padding: 12px 24px; text-decoration: none;
  border-right: 1px solid #ebebeb;
  opacity: .5; transition: opacity .2s;
}
.fur-brand-item:last-child { border-right: none; }
.fur-brand-item:hover { opacity: 1; }
.fur-brand-item img { max-height: 36px; width: auto; filter: grayscale(1); }
.fur-brand-item span { font-size: 16px; font-weight: 700; color: #333; letter-spacing: 2px; font-style: italic; }

/* ── PROMO BANNERS MOSAIC ── */
.fur-promo { padding: 40px 0; }

/* 4 items: left tall + right 3 */
.fur-promo-grid {
  display: grid;
  gap: 16px;
}
.fur-promo-grid--4 {
  grid-template-columns: 1fr 1.2fr 1fr;
  grid-template-rows: 260px 260px;
}
.fur-promo-grid--4 .fur-promo-item--0 { grid-row: 1 / 3; }
.fur-promo-grid--4 .fur-promo-item--1 { grid-column: 2; grid-row: 1; }
.fur-promo-grid--4 .fur-promo-item--2 { grid-column: 3; grid-row: 1; }
.fur-promo-grid--4 .fur-promo-item--3 { grid-column: 2 / 4; grid-row: 2; }

.fur-promo-grid--5 {
  grid-template-columns: 1fr 1.2fr 1fr;
  grid-template-rows: 240px 240px;
}
.fur-promo-grid--5 .fur-promo-item--0 { grid-row: 1 / 3; }
.fur-promo-grid--5 .fur-promo-item--1 { grid-column: 2; }
.fur-promo-grid--5 .fur-promo-item--2 { grid-column: 3; }
.fur-promo-grid--5 .fur-promo-item--3 { grid-column: 2; }
.fur-promo-grid--5 .fur-promo-item--4 { grid-column: 3; }

.fur-promo-item {
  position: relative; overflow: hidden; display: block;
  text-decoration: none;
}
.fur-promo-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.fur-promo-item:hover img { transform: scale(1.04); }
.fur-promo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.45) 100%);
}
.fur-promo-caption {
  position: absolute; bottom: 24px; left: 24px;
  color: #fff;
}
.fur-promo-sub {
  display: block; font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,.8); margin-bottom: 4px;
}
.fur-promo-title {
  font-size: 20px; font-weight: 700; margin: 0 0 10px; color: #fff; line-height: 1.3;
}
.fur-promo-link {
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: #fff; border-bottom: 1px solid rgba(255,255,255,.6);
  padding-bottom: 2px; display: inline-flex; align-items: center; gap: 4px;
}

/* ── TAB PRODUCTS ── */
.fur-tab-products { padding-top: 60px; }
.fur-tab-header { display: flex; align-items: center; justify-content: center; margin-bottom: 32px; }
.fur-tabs {
  display: flex; list-style: none; margin: 0; padding: 0; gap: 0;
  border-bottom: 2px solid #ebebeb;
}
.fur-tab-btn {
  padding: 10px 28px; cursor: pointer; font-size: 14px; font-weight: 600;
  color: #666; text-transform: uppercase; letter-spacing: 1px;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: color .2s, border-color .2s;
}
.fur-tab-btn:hover { color: #333; }
.fur-tab-btn.active { color: #333; border-bottom-color: #333; }

.fur-tab-pane { display: none; }
.fur-tab-pane.active { display: block; }

.fur-products-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* ── DEAL OF THE DAY ── */
.fur-deal {
  background: #f9f9f9;
  padding: 60px 0;
  margin: 20px 0;
}
.fur-deal-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 0;
  min-height: 360px;
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
}

.fur-deal-left {
  padding: 40px 32px;
  display: flex; flex-direction: column; justify-content: center;
  border-right: 1px solid #ebebeb;
}
.fur-deal-badge {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--fur-accent); font-weight: 700; margin-bottom: 8px;
}
.fur-deal-title {
  font-size: 22px; font-weight: 300; margin: 0 0 8px; color: #333;
  text-transform: uppercase; letter-spacing: 1px;
}
.fur-deal-name { font-size: 28px; font-weight: 700; color: #333; margin: 0 0 16px; }
.fur-deal-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 20px; }
.fur-deal-price-new { font-size: 28px; font-weight: 700; color: var(--fur-accent); }
.fur-deal-price-old { font-size: 16px; color: #aaa; text-decoration: line-through; }

.fur-countdown { display: flex; gap: 8px; margin-bottom: 24px; }
.fur-countdown-item {
  display: flex; flex-direction: column; align-items: center;
  background: var(--fur-dark); color: #fff;
  padding: 8px 12px; min-width: 56px;
}
.fur-cd-num { font-size: 22px; font-weight: 700; line-height: 1; }
.fur-cd-label { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; color: rgba(255,255,255,.7); }

.fur-deal-btn {
  display: inline-block; padding: 12px 24px;
  background: var(--fur-dark); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  text-decoration: none; align-self: flex-start;
  transition: background .2s;
}
.fur-deal-btn:hover { background: var(--fur-accent); color: #fff; }

.fur-deal-center {
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: #fafafa;
}
.fur-deal-center img { max-height: 360px; max-width: 100%; object-fit: contain; }

.fur-deal-right {
  position: relative; overflow: hidden; display: block;
  border-left: 1px solid #ebebeb;
}
.fur-deal-right img { width: 100%; height: 100%; object-fit: cover; }
.fur-deal-right-caption {
  position: absolute; bottom: 32px; left: 24px;
  color: #fff; display: flex; flex-direction: column; gap: 6px;
}
.fur-deal-right-caption span { font-size: 12px; opacity: .8; }
.fur-deal-right-caption strong { font-size: 22px; font-weight: 700; }
.fur-deal-right-btn {
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.6);
  padding-bottom: 2px; display: inline-flex; align-items: center; gap: 4px;
}

/* ── TOP SELLING ── */
.fur-top-selling {}
.fur-sell-tabs {
  display: flex; list-style: none; margin: 0 0 28px; padding: 0; gap: 0;
  justify-content: center; border-bottom: 2px solid #ebebeb;
}
.fur-sell-tab {
  padding: 8px 24px; cursor: pointer; font-size: 13px; font-weight: 600;
  color: #777; letter-spacing: .5px;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: color .2s, border-color .2s;
}
.fur-sell-tab:hover { color: #333; }
.fur-sell-tab.active { color: #333; border-bottom-color: #333; }

.fur-sell-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* ── BLOG ── */
.fur-blog .molla-blog-grid {
  grid-template-columns: repeat(3, 1fr);
}
.fur-blog .molla-blog-card {
  text-decoration: none; color: inherit;
  transition: box-shadow .2s;
  border: 1px solid #ebebeb;
}
.fur-blog .molla-blog-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.fur-blog .molla-blog-img { overflow: hidden; aspect-ratio: 4/3; }
.fur-blog .molla-blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.fur-blog .molla-blog-card:hover .molla-blog-img img { transform: scale(1.05); }
.fur-blog-body { padding: 20px; }
.fur-blog .molla-blog-title { font-size: 15px; font-weight: 700; margin: 0 0 8px; color: #333; }
.fur-blog .molla-blog-excerpt { font-size: 13px; color: #777; line-height: 1.6; margin: 0 0 12px; }
.fur-blog .molla-read-more { font-size: 12px; font-weight: 700; color: #333; letter-spacing: 1px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 4px; }
.fur-blog .molla-read-more:hover { color: var(--fur-accent); }
.fur-blog-more { text-align: center; margin-top: 32px; }
.fur-view-more-btn {
  display: inline-block; padding: 12px 28px;
  border: 2px solid #333; color: #333; font-size: 13px; font-weight: 700;
  text-decoration: none; letter-spacing: 1px; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.fur-view-more-btn:hover { background: #333; color: #fff; }

/* ── SERVICES ── */
.fur-services { padding: 40px 0; border-top: 1px solid #ebebeb; border-bottom: 1px solid #ebebeb; }
.fur-services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.fur-service-item { display: flex; align-items: flex-start; gap: 16px; }
.fur-service-icon { font-size: 32px; color: var(--fur-dark); flex-shrink: 0; margin-top: 2px; }
.fur-service-title { font-size: 14px; font-weight: 700; color: #333; margin: 0 0 4px; }
.fur-service-desc { font-size: 12px; color: #888; margin: 0; }

/* ── NEWSLETTER ── */
.fur-newsletter {
  position: relative; padding: 80px 0;
  background: #1a1a1a center/cover no-repeat;
}
.fur-nl-overlay {
  position: absolute; inset: 0;
  background: rgba(10,10,10,.65);
}
.fur-nl-inner {
  position: relative; text-align: center; color: #fff; max-width: 540px; margin: 0 auto;
}
.fur-nl-title { font-size: 28px; font-weight: 700; margin: 0 0 8px; }
.fur-nl-sub { font-size: 14px; color: rgba(255,255,255,.8); margin: 0 0 24px; }
.fur-nl-group { display: flex; max-width: 440px; margin: 0 auto; }
.fur-nl-input {
  flex: 1; padding: 12px 16px; border: none; font-size: 13px;
  background: rgba(255,255,255,.15); color: #fff; outline: none;
  border: 1px solid rgba(255,255,255,.3);
}
.fur-nl-input::placeholder { color: rgba(255,255,255,.6); }
.fur-nl-input:focus { background: rgba(255,255,255,.2); }
.fur-nl-btn {
  padding: 12px 24px; background: var(--fur-accent); color: #fff;
  border: none; font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; cursor: pointer; white-space: nowrap;
  transition: background .2s;
}
.fur-nl-btn:hover { background: #b07830; }

/* ── RESPONSIVE ── */
@media (max-width: 1199px) {
  .fur-slider { height: 460px; }
  .fur-products-row, .fur-sell-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991px) {
  .fur-slider { height: 360px; }
  .fur-slide-title { font-size: 32px; }
  .fur-products-row, .fur-sell-grid { grid-template-columns: repeat(3, 1fr); }
  .fur-promo-grid--4, .fur-promo-grid--5 { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .fur-promo-grid--4 .fur-promo-item--0,
  .fur-promo-grid--5 .fur-promo-item--0 { grid-row: auto; }
  .fur-promo-grid--4 .fur-promo-item--3,
  .fur-promo-grid--5 .fur-promo-item--3 { grid-column: auto; }
  .fur-deal-inner { grid-template-columns: 1fr 1fr; }
  .fur-deal-right { display: none; }
  .fur-services-grid { grid-template-columns: 1fr 1fr; }
  .fur-sell-tabs { flex-wrap: wrap; }
}
@media (max-width: 767px) {
  .fur-slider { height: 280px; }
  .fur-slide-inner { padding: 0 24px; }
  .fur-slide-title { font-size: 24px; }
  .fur-products-row, .fur-sell-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .fur-deal-inner { grid-template-columns: 1fr; }
  .fur-deal-center { min-height: 200px; }
  .fur-blog .molla-blog-grid { grid-template-columns: 1fr; }
  .fur-services-grid { grid-template-columns: 1fr; gap: 16px; }
  .fur-brands-inner { flex-wrap: wrap; }
  .fur-brand-item { border-right: none; border-bottom: 1px solid #ebebeb; max-width: none; }
}
