/* Star Furniture - Professional trending color theme */
:root {
  --primary: #462104;
  --primary-2: #6b3f1e;
  --primary-3: #b89f8b;
  --primary-4: #f2ebe6;
  --primary-rgb: 70 33 4;
  --secondary: #2C2C2C;
  --secondary-2: rgba(44, 44, 44, 0.75);
  --secondary-3: rgba(44, 44, 44, 0.5);
  --secondary-4: #EDEAE5;
  --dark:#3e1a00;
  --dark-2: #1A1A1A;
  --dark-3: #3D3D3D;
  --white-2: #F5F0EB;
  --text: #4A4A4A;
  --text-2: #2C2C2C;
  --line: #E8E0D8;
  --surface: #FAF8F5;
  --surface-2: #F5F0EB;
}

body {
  background-color: var(--surface);
}

/* Vibrant modern storefront polish */
.tf-page-title {
  background: linear-gradient(135deg, #f8f1ea 0%, #fff 45%, #f3e6db 100%);
}

.card-product {
  border: 1px solid #eadfd4;
  box-shadow: 0 8px 20px rgba(70, 33, 4, 0.06);
}

.card-product:hover {
  box-shadow: 0 16px 32px rgba(70, 33, 4, 0.16);
}

.discount-badge,
.badge-sale {
  background: linear-gradient(135deg, #8f5126, #462104) !important;
  color: #fff !important;
}

.price-new {
  color: #462104 !important;
}

.name-product:hover,
.item-link:hover,
.demo-name:hover {
  color: #6b3f1e !important;
}

.filter-tag,
.badge-item {
  border-radius: 999px !important;
}

.tf-btn,
.btn {
  border-radius: 10px !important;
}

.tf-topbar.topbar-bg {
  background-color: var(--dark) !important;
}

.tf-topbar .marquee-child-item p {
  color: var(--primary-3) !important;
}

#header.header-default {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.tf-btn.btn-dark,
.tf-btn.btn-dark2,
.tf-btn.bg-dark-2,
.btn-dark {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}

.tf-btn.btn-dark:hover,
.tf-btn.btn-dark2:hover,
.tf-btn.bg-dark-2:hover,
.btn-dark:hover {
  background-color: var(--dark) !important;
  border-color: var(--dark) !important;
}

.tf-btn.btn-white.hover-primary:hover {
  background-color: var(--primary-2) !important;
  color: var(--dark) !important;
}

.hover-primary:hover {
  color: var(--primary) !important;
}

#footer.footer-default {
  background-color: var(--dark);
}

#footer .footer-top {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.payment-advance-box {
  background: var(--primary-4);
  border: 1px solid var(--primary-3);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 12px;
}

.payment-advance-box .advance-label {
  color: var(--primary);
  font-weight: 600;
}

.payment-advance-box .advance-amount {
  color: var(--dark);
  font-size: 1.25rem;
  font-weight: 700;
}

.payment-advance-box .balance-note {
  color: var(--text);
  font-size: 0.875rem;
}

.portal .deznav .drum-box p {
  color: var(--primary-2) !important;
}

/* ---- Homepage (Star Furniture) ---- */
.sf-hero {
  --sf-hero-height: 560px;
  position: relative;
  overflow: hidden;
}

.sf-hero-viewport {
  position: relative;
  width: 100%;
  height: var(--sf-hero-height);
}

.sf-hero .sf-hero-swiper,
.sf-hero .swiper-wrapper,
.sf-hero .swiper-slide,
.sf-hero .swiper-slide > .slider-wrap {
  height: 100%;
}

.sf-hero .slider-wrap.sf-hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: var(--sf-hero-height);
  overflow: hidden;
}

.sf-hero .sf-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.sf-hero .sf-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.sf-hero .sf-hero-slide .image::after,
.sf-hero-fallback::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26, 18, 12, 0.72) 0%, rgba(26, 18, 12, 0.28) 55%, rgba(26, 18, 12, 0.08) 100%);
  z-index: 1;
  pointer-events: none;
}

.sf-hero .box-content {
  position: absolute;
  inset: 0;
  top: 0 !important;
  left: 0;
  right: 0;
  bottom: 0;
  transform: none !important;
  display: flex;
  align-items: center;
  z-index: 2;
  padding: 24px 0;
}

.sf-hero .content-slider {
  max-width: 560px;
}

.sf-hero .content-slider .heading {
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.15;
}

.sf-hero .content-slider .sub {
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.5;
}

.sf-hero-kicker {
  color: #e8d5c4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
}

.sf-hero-fallback {
  height: 100%;
  min-height: var(--sf-hero-height);
  background: linear-gradient(135deg, #3d2414 0%, #6b3f1e 45%, #8f5a32 100%);
  display: flex;
  align-items: center;
}

.sf-hero .sf-hero-pagination {
  bottom: 20px;
  z-index: 3;
}

@media (max-width: 991.98px) {
  .sf-hero {
    --sf-hero-height: 460px;
  }

  .sf-hero .box-content {
    padding: 20px 0;
  }

  .sf-hero .content-slider {
    gap: 16px;
  }
}

@media (max-width: 767.98px) {
  .sf-hero {
    --sf-hero-height: 400px;
  }

  .sf-hero .sf-hero-slide .image::after,
  .sf-hero-fallback::before {
    background: linear-gradient(180deg, rgba(26, 18, 12, 0.15) 0%, rgba(26, 18, 12, 0.55) 45%, rgba(26, 18, 12, 0.82) 100%);
  }

  .sf-hero .box-content {
    align-items: flex-end;
    padding: 0 0 56px;
  }

  .sf-hero .content-slider {
    max-width: 100%;
  }

  .sf-hero .content-slider .heading {
    font-size: 1.5rem;
  }

  .sf-hero-kicker {
    font-size: 0.7rem;
  }

  .sf-hero .box-btn-slider .tf-btn {
    padding: 10px 18px;
    font-size: 0.875rem;
  }
}

@media (max-width: 575.98px) {
  .sf-hero {
    --sf-hero-height: 340px;
  }

  .sf-hero .box-content {
    padding-bottom: 48px;
  }

  .sf-hero .content-slider .heading {
    font-size: 1.35rem;
  }

  .sf-hero .content-slider .sub {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

.sf-hero.slider-default .slider-wrap {
  height: 100% !important;
  min-height: 100% !important;
}

.sf-features {
  background: var(--surface-2);
}

.sf-feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px;
  height: 100%;
  box-shadow: 0 6px 18px rgba(70, 33, 4, 0.05);
}

.sf-feature-card i {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.sf-feature-card h6 {
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 6px;
}

.sf-feature-card p {
  color: var(--text);
  margin: 0;
  font-size: 0.92rem;
}

.sf-home-section {
  padding: 48px 0;
}

.sf-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.sf-section-head .title {
  margin: 0;
  color: var(--dark);
  font-weight: 700;
}

.btn-view-all {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.btn-view-all:hover {
  color: var(--primary-2);
}

.sf-category-card .image.img-style {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--primary-4);
}

.sf-category-card .image.img-style img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-category-card .link {
  color: var(--dark);
}

.sf-category-card .link:hover {
  color: var(--primary);
}

.sf-cta-banner {
  padding: 0 0 48px;
}

.sf-cta-inner {
  background: linear-gradient(135deg, #3d2414, #6b3f1e);
  border-radius: 18px;
  padding: 36px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: #fff;
}

.sf-cta-inner h3 {
  color: #fff;
  margin-bottom: 8px;
  font-weight: 700;
}

.sf-testimonial-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  height: 100%;
}

.nav-swiper {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  box-shadow: 0 4px 14px rgba(70, 33, 4, 0.1);
}

.wg-cls .cls-content .link:hover {
  color: var(--primary) !important;
}

/* ---- Custom Hand Carved (Bronze) ---- */
:root {
  --bronze-bg: #2f1a0c;
  --bronze-bg-2: #3d2414;
  --bronze-gold: #d9a441;
  --bronze-gold-light: #e8c06a;
  --bronze-cream: #faf6ef;
}

.sf-custom-carved {
  background: linear-gradient(135deg, var(--bronze-bg) 0%, var(--bronze-bg-2) 55%, #4a2c18 100%);
  padding: 72px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.sf-custom-carved::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(217, 164, 65, 0.12) 0%, transparent 45%);
  pointer-events: none;
}

.sf-custom-carved .container {
  position: relative;
  z-index: 1;
}

.sf-custom-carved__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--bronze-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.sf-custom-carved__eyebrow i {
  font-size: 0.9rem;
}

.sf-custom-carved__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  margin-bottom: 20px;
}

.sf-custom-carved__title-line {
  display: block;
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

.sf-custom-carved__title-accent {
  display: block;
  color: var(--bronze-gold-light);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

.sf-custom-carved__lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 12px;
  max-width: 540px;
}

.sf-custom-carved__text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 520px;
}

.sf-custom-carved__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  margin-bottom: 30px;
}

.sf-custom-carved__feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.sf-custom-carved__icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: rgba(217, 164, 65, 0.18);
  border: 1px solid rgba(217, 164, 65, 0.35);
  color: var(--bronze-gold-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.sf-custom-carved__feature h6 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.sf-custom-carved__feature p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 0;
}

.sf-custom-carved__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--bronze-gold) 0%, #c89430 100%);
  color: var(--bronze-bg);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(217, 164, 65, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sf-custom-carved__cta:hover {
  color: var(--bronze-bg);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(217, 164, 65, 0.36);
}

.sf-custom-carved__visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.sf-custom-carved__visual img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
}

.sf-custom-carved__badge {
  position: absolute;
  border-radius: 14px;
  padding: 12px 16px;
  line-height: 1.3;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.sf-custom-carved__badge strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.sf-custom-carved__badge span {
  display: block;
  font-size: 0.78rem;
  opacity: 0.9;
}

.sf-custom-carved__badge--process {
  top: 18px;
  right: 18px;
  background: linear-gradient(135deg, var(--bronze-gold) 0%, #c89430 100%);
  color: var(--bronze-bg);
  max-width: 210px;
}

.sf-custom-carved__badge--stat {
  left: 18px;
  bottom: 18px;
  background: var(--bronze-cream);
  color: var(--bronze-bg);
  max-width: 220px;
}

.sf-custom-carved__badge--stat strong {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

@media (max-width: 991.98px) {
  .sf-custom-carved {
    padding: 56px 0;
  }

  .sf-custom-carved__visual img {
    min-height: 320px;
  }
}

@media (max-width: 767.98px) {
  .sf-custom-carved {
    padding: 48px 0;
  }

  .sf-custom-carved__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sf-custom-carved__cta {
    width: 100%;
  }

  .sf-custom-carved__visual img {
    min-height: 280px;
  }

  .sf-custom-carved__badge--process {
    top: 12px;
    right: 12px;
    max-width: 180px;
    padding: 10px 12px;
  }

  .sf-custom-carved__badge--stat {
    left: 12px;
    bottom: 12px;
    max-width: 190px;
    padding: 10px 12px;
  }

  .sf-custom-carved__badge--stat strong {
    font-size: 1.35rem;
  }
}

@media (max-width: 575.98px) {
  .sf-custom-carved__title-line,
  .sf-custom-carved__title-accent {
    font-size: 1.75rem;
  }

  .sf-custom-carved__lead,
  .sf-custom-carved__text {
    font-size: 0.9rem;
  }
}
