/* ==========================================================================
   MARKET PAGE STYLES - Maa Santoshi Furniture Industries
   Header, Navigation, Mega Dropdown & Footer
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Root Variables & Typography
   -------------------------------------------------------------------------- */
:root {
  --ink: #29231e;
  --cream: #f3eee7;
  --paper: #faf8f4;
  --copper: #a7653d;
  --copper-hover: #8f5330;
  --line: #d8cfc3;
  --header-bg: rgba(250, 248, 244, 0.98);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
}

p, ul, ol, li {
  font-family: Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
}

p {
  font-size: 17px;
  line-height: 1.75;
  color: #000;
  margin-top: 0;
  margin-bottom: 1rem;
  text-align: justify;
}

p span, li span {
  font-size: inherit;
}

/* Utilities */
.bg-cream {
  background-color: var(--cream);
}

.text-copper {
  color: var(--copper) !important;
}

.btn-brand-home {
  background: linear-gradient(135deg, #a7653d 0%, #8f5330 100%);
  color: #ffffff !important;
  border: 1px solid #8f5330;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: .5px;
  box-shadow: 0 6px 18px rgba(167, 101, 61, 0.28);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-brand-home:hover {
  background: linear-gradient(135deg, #8f5330 0%, #764122 100%);
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(143, 83, 48, 0.38);
  transform: translateY(-2px);
}

/* Floating Chat Button */
#chatBtn {
  position: fixed;
  bottom: 10px;
  right: 10px;
  background-color: #000;
  color: #fff;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 30px;
  z-index: 9999;
}


/* --------------------------------------------------------------------------
   2. Site Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: rgba(250, 248, 244, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(41, 35, 30, 0.05);
  transition: all 0.3s ease;
}

.site-header .navbar {
  min-height: 104px;
  padding: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
  text-decoration: none;
}

.brand-logo {
  width: 95px;
  height: 95px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(167, 101, 61, 0.2));
  transition: transform 0.3s cubic-bezier(.25, .8, .25, 1), filter 0.3s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.04);
  filter: drop-shadow(0 6px 16px rgba(167, 101, 61, 0.3));
}

.main-nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav-list .nav-item {
  position: relative;
}

.main-nav-list .nav-link {
  color: var(--ink) !important;
  font-size: 17px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: .02em;
  padding: 38px 4px !important;
  background: transparent !important;
  border: none !important;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.main-nav-list .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--copper);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(.4, 0, .2, 1);
}

.main-nav-list .nav-link:hover,
.main-nav-list .nav-link:focus,
.main-nav-list .nav-link.active {
  color: var(--copper) !important;
}

.main-nav-list .nav-link:hover::after,
.main-nav-list .nav-link:focus::after,
.main-nav-list .nav-link.active::after {
  transform: scaleX(1);
}

.main-nav-list .dropdown-toggle::after {
  display: none !important;
}

.dropdown-chevron {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  transition: transform 0.25s ease;
  vertical-align: middle;
  color: #713919;
  opacity: 1;
}

.custom-dropdown:hover .dropdown-chevron,
.custom-dropdown.show .dropdown-chevron,
.custom-dropdown .dropdown-toggle.show .dropdown-chevron,
.custom-dropdown .dropdown-toggle[aria-expanded="true"] .dropdown-chevron {
  transform: rotate(180deg);
}

/* Products Mega Dropdown */
.products-dropdown-menu {
  background: #ffffff !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 45px rgba(41, 35, 30, 0.12) !important;
  padding: 16px !important;
  margin: 0;
}

@media (min-width: 992px) {
  .custom-dropdown {
    position: relative;
  }
  .custom-dropdown .products-dropdown-menu {
    display: none;
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) translateY(0) !important;
    min-width: 540px !important;
    width: 540px !important;
    margin-top: 0 !important;
    z-index: 1060;
  }
  .custom-dropdown:hover > .products-dropdown-menu,
  .custom-dropdown.show > .products-dropdown-menu,
  .custom-dropdown .products-dropdown-menu.show {
    display: block !important;
    animation: dropdownFadeIn 0.22s cubic-bezier(.16, 1, .3, 1) forwards;
  }
  @keyframes dropdownFadeIn {
    from {
      opacity: 0;
      transform: translateX(-50%) translateY(6px);
    }
    to {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
  }
  .products-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px 14px !important;
  }
}

.products-dropdown-menu .product-card {
  color: var(--ink) !important;
  padding: 8px 10px !important;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(.2, .8, .2, 1);
  display: flex !important;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0);
  background: rgba(255, 255, 255, 0);
}

.product-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(167, 101, 61, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.product-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .02em;
  white-space: normal;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.products-dropdown-menu .product-card:hover,
.products-dropdown-menu .product-card:focus {
  background-color: #faf5ee !important;
  border-color: rgba(167, 101, 61, 0.22) !important;
  transform: translateX(3px);
}

.products-dropdown-menu .product-card:hover .product-icon,
.products-dropdown-menu .product-card:focus .product-icon {
  background-color: var(--copper);
  color: #fff;
}

.products-dropdown-menu .product-card:hover .product-name,
.products-dropdown-menu .product-card:focus .product-name {
  color: var(--copper);
  font-weight: 600;
}

.custom-toggler {
  padding: 8px 10px;
  border: 1px solid var(--line) !important;
  border-radius: 4px;
  background-color: transparent;
  transition: all 0.2s ease;
}

.custom-toggler:hover,
.custom-toggler:focus {
  border-color: var(--copper) !important;
  background: rgba(167, 101, 61, 0.06);
}

.custom-toggler .navbar-toggler-icon {
  width: 24px;
  height: 24px;
}

/* Mobile Header Styles */
@media (max-width: 991.98px) {
  .site-header .navbar {
    min-height: 84px;
  }
  .brand-logo {
    width: 70px;
    height: 70px;
  }
  .navbar-collapse {
    background: #fff;
    padding: 16px 12px 24px;
    border: 1px solid var(--line);
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 16px 32px rgba(41, 35, 30, 0.1);
    max-height: calc(100vh - 85px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav-list {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0;
    width: 100%;
  }
  .main-nav-list .nav-link {
    width: 100%;
    padding: 16px 0 !important;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .08em;
    border-bottom: 1px solid var(--line) !important;
    justify-content: space-between;
  }
  .main-nav-list .nav-link::after {
    display: none;
  }
  .custom-dropdown .products-dropdown-menu:not(.show) {
    display: none !important;
  }
  .custom-dropdown .products-dropdown-menu.show {
    display: block !important;
    position: static !important;
    float: none !important;
    box-shadow: none !important;
    border: 1px solid var(--line) !important;
    background: #faf7f2 !important;
    margin: 12px 0 !important;
    padding: 6px !important;
    border-radius: 6px !important;
    width: 100% !important;
    min-width: 100% !important;
    transform: none !important;
  }
  .dropdown-mega-layout {
    padding: 0;
  }
  .products-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px;
  }
  .products-dropdown-menu .product-card {
    padding: 8px 8px !important;
    gap: 10px;
    background: #ffffff !important;
    border: 1px solid rgba(216, 207, 195, 0.5) !important;
  }
  .product-name {
    white-space: normal;
    line-height: 1.35;
    word-break: normal;
    overflow-wrap: break-word;
  }
  .dropdown-footer-strip {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    border-radius: 4px;
    margin-top: 10px;
    padding: 10px;
  }
  .footer-strip-features {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
  }
}


/* --------------------------------------------------------------------------
   3. Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #23160e url(../images/footer-bg.webp) no-repeat center bottom / cover;
  position: relative;
  color: #f5ede4;
  padding-top: 85px;
  padding-bottom: 25px;
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(22, 13, 8, 0.88);
    pointer-events: none;
    z-index: 1;
  }
}

.footer-content-wrap {
  position: relative;
  z-index: 2;
  max-width: 1540px;
  margin: 0 auto;
  padding-left: 30px;
  padding-right: 30px;
}

@media (min-width: 1400px) {
  .footer-content-wrap {
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .footer-content-wrap {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .footer-content-wrap {
    padding-left: 30px;
    padding-right: 30px;
  }
}

.footer-col-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.footer-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e2be8a;
  color: #3d2314;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.footer-col-title .footer-col-heading {
  color: #fff;
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  margin: 0;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  letter-spacing: -.01em;
}

.footer-col-title .footer-col-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 44px;
  height: 2.5px;
  background: #df8538;
  border-radius: 2px;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 0;
}

.footer-nav-list li:last-child {
  border-bottom: none;
}

.footer-nav-list a {
  color: #f1e6da;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.footer-nav-list a .chevron {
  color: #e5a67c;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease;
}

.footer-nav-list a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-nav-list a:hover .chevron {
  color: #ffaa5e;
}

.footer-social-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-social-title {
  color: #fff;
  font-size: 24px;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: 700;
  letter-spacing: .02em;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  margin: 0;
  white-space: nowrap;
}

.footer-social-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 44px;
  height: 2.5px;
  background: #df8538;
  border-radius: 2px;
}

.footer-social-icons {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #593118;
  border: 1px solid rgba(223, 133, 56, 0.45);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  position: relative;
}

.footer-social-btn svg {
  transition: transform 0.3s ease;
}

.footer-social-btn:hover {
  color: #fff;
  transform: translateY(-3px);
}

.footer-social-btn:hover svg {
  transform: scale(1.1);
}

.footer-social-btn.facebook:hover {
  background: #1877f2;
  border-color: #3b82f6;
  box-shadow: 0 6px 18px rgba(24, 119, 242, 0.45);
}

.footer-social-btn.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  border-color: #f472b6;
  box-shadow: 0 6px 18px rgba(214, 36, 159, 0.45);
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer-contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #593118;
  border: 1px solid rgba(223, 133, 56, 0.4);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-text {
  display: flex;
  flex-direction: column;
}

.footer-contact-text .contact-label {
  color: #df9e5c;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 2px;
  letter-spacing: .02em;
}

.footer-contact-text .contact-val {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}

.footer-contact-text .contact-address {
  font-size: 17px;
  font-weight: 500;
  color: #ebdcd0;
  line-height: 1.6;
  text-align: left;
}

.footer-contact-text a.contact-val:hover {
  color: #df9e5c;
}

.footer-columns-row {
  max-width: 1240px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .footer-col-bordered {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    padding-right: 24px !important;
  }
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 60px;
  padding-top: 25px;
  padding-bottom: 5px;
  text-align: center;
}

.footer-powered {
  display: inline-block;
  color: #f7efe6;
  font-size: 17px;
  font-weight: 600;
  margin: 0 auto;
  padding: 10px 28px;
  background: rgba(43, 23, 11, 0.7);
  border: 1px solid rgba(223, 133, 56, 0.45);
  border-radius: 40px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  letter-spacing: .01em;
}

.footer-powered a {
  color: #ffb36b;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.footer-powered a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 179, 107, 0.7);
}

.footer-powered .powered-sep {
  color: #e5a67c;
  margin: 0 10px;
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .footer-bottom {
    display: block;
    line-height: 2;
  }
  .footer-bottom span {
    display: block;
  }
}


/* --------------------------------------------------------------------------
   4. Market Page Hero & Breadcrumb
   -------------------------------------------------------------------------- */
.market-hero {
  position: relative;
  background: linear-gradient(rgba(26, 17, 11, 0.88), rgba(26, 17, 11, 0.94)), url(../images/hero-section-bg.webp) no-repeat center center / cover;
  color: #fff;
  padding: 60px 0 45px;
  border-bottom: 2px solid var(--copper);
  text-align: center;
}

.market-hero h1 {
  font-family: Georgia, serif;
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.market-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #dfcfbf;
  margin: 0;
  padding: 6px 18px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 20px;
  border: 1px solid rgba(223, 133, 56, 0.3);
}

.market-breadcrumb a {
  color: #f5d6be;
  text-decoration: none;
  transition: color 0.2s ease;
}

.market-breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.market-breadcrumb .sep {
  color: var(--copper);
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   5. Market Main Layout & Sticky TOC Sidebar
   -------------------------------------------------------------------------- */
.market-main-wrapper {
  padding: 50px 0 80px;
  background-color: var(--paper);
}

.market-toc-sticky-wrap {
  position: sticky;
  top: 120px;
  z-index: 100;
}

.market-toc-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(41, 35, 30, 0.06);
}

.market-toc-header {
  background: linear-gradient(135deg, #2d1d14 0%, #432a1c 100%);
  color: #ffffff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid var(--copper);
}

.market-toc-header h4 {
  font-family: Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: #fff;
  letter-spacing: 0.02em;
}

.market-toc-body {
  max-height: calc(85vh - 120px);
  overflow-y: auto;
  padding: 12px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--copper) #f1f1f1;
}

.market-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.market-toc-list li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(216, 207, 195, 0.4);
}

.market-toc-list li:last-child {
  border-bottom: none;
}

.market-toc-list a {
  display: flex;
  align-items: center;
  padding: 9px 18px;
  color: #4a3e35;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.market-toc-list a:hover {
  background: #fbf8f4;
  color: var(--copper);
  padding-left: 22px;
}

.market-toc-list a.active {
  background: #f7efe6;
  color: var(--copper);
  font-weight: 700;
  border-left: 3px solid var(--copper);
}

/* --------------------------------------------------------------------------
   6. Market Sections & Content Typography
   -------------------------------------------------------------------------- */
.market-section {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px 30px;
  margin-bottom: 35px;
  box-shadow: 0 6px 20px rgba(41, 35, 30, 0.04);
  scroll-margin-top: 120px;
}

.market-section h2 {
  font-family: Georgia, serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: #23160e;
  margin-top: 0;
  margin-bottom: 18px;
  line-height: 1.3;
  position: relative;
  padding-bottom: 10px;
}

.market-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--copper);
  border-radius: 2px;
}

.market-section h3 {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2b1c13;
  margin-top: 0;
  margin-bottom: 16px;
  line-height: 1.35;
  position: relative;
  padding-bottom: 8px;
}

.market-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2.5px;
  background: var(--copper);
  border-radius: 2px;
}

.market-section p {
  color: #38312b;
  font-size: 16.5px;
  line-height: 1.8;
  margin-bottom: 18px;
  text-align: justify;
}

.market-section p a {
  color: var(--copper);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.market-section p a:hover {
  color: var(--copper-dark);
}

.market-section p:last-child {
  margin-bottom: 0;
}

/* Styled Lists inside content */
.market-bullet-list {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}

.market-bullet-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 16px;
  color: #38312b;
  line-height: 1.65;
}

.market-bullet-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--copper);
  font-weight: bold;
  font-size: 16px;
}

/* Buttons */
.btn-market-action,
.market-review-btn {
  background: linear-gradient(135deg, #a7653d 0%, #8f5330 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 16px;
  padding: 10px 24px;
  border-radius: 6px;
  border: 1px solid #8f5330;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(167, 101, 61, 0.28);
  transition: all 0.25s ease;
  cursor: pointer;
  margin-top: 8px;
}

.btn-market-action:hover,
.market-review-btn:hover {
  background: linear-gradient(135deg, #8f5330 0%, #764122 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(143, 83, 48, 0.38);
}

.btn-market-city {
  background: #fbf7f2;
  color: var(--copper) !important;
  font-size: 16px;
  font-weight: 700;
  padding: 8px 16px;
  border: 1px solid rgba(167, 101, 61, 0.4);
  border-radius: 6px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  margin-top: 10px;
}

.btn-market-city:hover {
  background: var(--copper);
  color: #fff !important;
  border-color: var(--copper);
  transform: translateX(3px);
}

/* Section Image Containers (Ensures doors and photos are never cut off) */
.market-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #fbf8f4 0%, #f4ede3 100%);
  border: 1px solid rgba(167, 101, 61, 0.2);
  border-radius: 12px;
  padding: 16px;
  height: 100%;
  min-height: 380px;
  box-shadow: 0 4px 14px rgba(41, 35, 30, 0.05);
  overflow: hidden;
}

.market-door-img {
  max-width: 100%;
  max-height: 380px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  filter: drop-shadow(0 8px 18px rgba(41, 35, 30, 0.16));
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.market-img-wrap:hover .market-door-img {
  transform: scale(1.04);
}

.market-featured-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(41, 35, 30, 0.08);
  margin-bottom: 22px;
  display: block;
}

.market-landscape-img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(41, 35, 30, 0.06);
  display: block;
}

@media (max-width: 767.98px) {
  .market-img-wrap {
    min-height: 280px;
    padding: 12px;
    margin-bottom: 18px;
  }
  .market-door-img {
    max-height: 280px;
  }
}

/* --------------------------------------------------------------------------
   7. Modern Comparison Tables
   -------------------------------------------------------------------------- */
.market-table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(41, 35, 30, 0.04);
  margin: 22px 0 20px;
}

.market-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 16px;
  text-align: left;
}

.market-table thead th {
  background: linear-gradient(135deg, #2b1c13 0%, #462b1b 100%);
  color: #ffffff;
  padding: 14px 18px;
  font-weight: 700;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.market-table thead th:last-child {
  border-right: none;
}

.market-table tbody td {
  padding: 13px 18px;
  border-bottom: 1px solid #ebdcd0;
  border-right: 1px solid #ebdcd0;
  color: #2b231d;
  vertical-align: middle;
}

.market-table tbody td:last-child {
  border-right: none;
}

.market-table tbody tr:nth-child(even) {
  background-color: #fcf9f5;
}

.market-table tbody tr:hover {
  background-color: #f7ede3;
}

/* --------------------------------------------------------------------------
   8. Highlights, Badges & Specialty Boxes
   -------------------------------------------------------------------------- */
.market-highlight-box {
  background: #fbf7f2;
  border: 1px solid rgba(167, 101, 61, 0.3);
  border-left: 5px solid var(--copper);
  border-radius: 8px;
  padding: 20px 22px;
  margin: 20px 0;
}

.market-badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  margin: 24px 0 10px;
}

.market-badge-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 3px 10px rgba(41, 35, 30, 0.04);
  transition: all 0.25s ease;
}

.market-badge-card:hover {
  border-color: var(--copper);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(167, 101, 61, 0.15);
}

.market-badge-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: #f7efe6;
  color: var(--copper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.market-badge-card:hover .market-badge-icon {
  background: var(--copper);
  color: #ffffff;
}

.market-badge-text {
  font-size: 16px;
  font-weight: 600;
  color: #241d18;
  line-height: 1.4;
  margin: 0;
}

/* Dual Column Supplier / Manufacturer Cards */
.market-dual-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(41, 35, 30, 0.04);
}

.market-dual-card h4 {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: #29231e;
  margin-top: 0;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--copper);
  padding-bottom: 8px;
}

.market-dual-card p {
  flex-grow: 1;
}

/* --------------------------------------------------------------------------
   9. Cities Grid Cards
   -------------------------------------------------------------------------- */
.market-cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.market-city-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 20px 18px;
  box-shadow: 0 4px 12px rgba(41, 35, 30, 0.04);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.market-city-card:hover {
  border-color: var(--copper);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(167, 101, 61, 0.14);
}

.market-city-title {
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: #23160e;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.market-city-title span {
  color: var(--copper);
}

.market-city-text {
  font-size: 16px;
  color: #494037;
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

/* --------------------------------------------------------------------------
   10. People Also Search For Tags
   -------------------------------------------------------------------------- */
.market-tag-cloud,
.market-search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  margin-bottom: 12px;
}

.market-search-tag {
  background: #fbf7f2;
  color: #38312b;
  border: 1px solid #d8cfc3;
  padding: 9px 18px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.market-search-tag:hover {
  background: var(--copper);
  color: #ffffff;
  border-color: var(--copper);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   11. Location & Review Card
   -------------------------------------------------------------------------- */
.market-map-frame {
  width: 100%;
  height: 320px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}

.market-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.market-review-card {
  background: #fbf7f2;
  border: 1px solid rgba(167, 101, 61, 0.25);
  border-radius: 10px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.market-stars {
  color: #e59819;
  font-size: 22px;
  margin-bottom: 6px;
  letter-spacing: 2px;
}

.market-review-text {
  font-size: 16px;
  color: #29231e;
  font-weight: 600;
  margin: 0;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   12. FAQ Accordion
   -------------------------------------------------------------------------- */
.market-accordion .accordion-item {
  border: 1px solid var(--line);
  border-radius: 8px !important;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(41, 35, 30, 0.03);
}

.market-accordion .accordion-button {
  background: #ffffff;
  color: #23160e;
  font-family: Georgia, serif;
  font-size: 16.5px;
  font-weight: 700;
  padding: 16px 20px;
  box-shadow: none;
}

.market-accordion .accordion-button:not(.collapsed) {
  background: #f7efe6;
  color: var(--copper);
  border-bottom: 1px solid var(--line);
}

.market-accordion .accordion-button::after {
  filter: sepia(100%) hue-rotate(340deg);
}

.market-accordion .accordion-body {
  padding: 18px 20px;
  font-size: 16px;
  color: #38312b;
  line-height: 1.75;
  background-color: #ffffff;
}

/* --------------------------------------------------------------------------
   13. Bottom Project CTA Banner
   -------------------------------------------------------------------------- */
.market-cta-banner {
  background: linear-gradient(135deg, #241710 0%, #3e2617 100%);
  border: 2px solid var(--copper);
  border-radius: 12px;
  padding: 40px 36px;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 10px 30px rgba(35, 22, 14, 0.2);
  margin-top: 15px;
}

.market-cta-banner h3 {
  font-family: Georgia, serif;
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 14px;
}

.market-cta-banner h3::after {
  display: none;
}

.market-cta-banner p {
  font-size: 17px;
  color: #ead9cc;
  max-width: 780px;
  margin: 0 auto 24px;
  line-height: 1.7;
  text-align: center;
}

.market-cta-btn {
  background: linear-gradient(135deg, #df8538 0%, #bd611e 100%);
  color: #ffffff !important;
  font-size: 17px;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 6px 22px rgba(223, 133, 56, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  transition: all 0.25s ease;
  cursor: pointer;
}

.market-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(223, 133, 56, 0.55);
  background: linear-gradient(135deg, #bd611e 0%, #a24b10 100%);
  color: #ffffff !important;
}

@media (max-width: 991.98px) {
  .market-hero h1 {
    font-size: 2rem;
  }
  .market-section {
    padding: 24px 18px;
  }
  .market-section h2 {
    font-size: 1.55rem;
  }
  .market-section h3 {
    font-size: 1.3rem;
  }
  .market-cta-banner {
    padding: 30px 20px;
  }
  .market-cta-banner h3 {
    font-size: 1.55rem;
  }
}

/* --------------------------------------------------------------------------
   14. Minimum 16px Font Size Rule for All Screens (including Small Devices)
   -------------------------------------------------------------------------- */
body, p, ul, ol, li, a, span, button, input, textarea, select, td, th {
  font-size: 16px;
}

@media (max-width: 991.98px) {
  body, p, ul, ol, li, a, span, button, input, textarea, select, td, th {
    font-size: 16px !important;
  }
  .market-section p {
    font-size: 16px !important;
  }
  .market-toc-list a {
    font-size: 16px !important;
  }
  .market-city-text {
    font-size: 16px !important;
  }
  .market-search-tag {
    font-size: 16px !important;
  }
  .market-badge-text {
    font-size: 16px !important;
  }
  .market-breadcrumb, .market-breadcrumb a, .market-breadcrumb .sep {
    font-size: 16px !important;
  }
  .market-accordion .accordion-button {
    font-size: 16.5px !important;
  }
  .market-accordion .accordion-body {
    font-size: 16px !important;
  }
  .btn-market-action, .btn-market-city, .market-cta-btn, .market-review-btn {
    font-size: 16px !important;
  }
  .market-table, .market-table thead th, .market-table tbody td {
    font-size: 16px !important;
  }
}

/* --------------------------------------------------------------------------
   15. Mobile Action Hub & Slide-Up TOC Drawer (< 992px)
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  .mobile-action-hub,
  .mobile-toc-sheet {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  #chatBtn {
    display: none !important;
  }

  /* Hide redundant left-side SEND ENQUIRY vertical ribbon on mobile/tablet (< 992px) */
  .inq-btn-home {
    display: none !important;
  }

  /* Completely suppress Zendesk/Zopim floating launcher button on mobile so it NEVER overlaps Quick Actions */
  iframe#launcher,
  #launcher,
  .zEWidget-launcher,
  iframe[id="launcher"],
  iframe[title*="launcher" i],
  iframe[title*="Button to launch" i],
  iframe[title*="chat launcher" i],
  div.zopim > div:first-child:not([style*="100%"]) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
  }

  .market-toc-sticky-wrap {
    display: none !important;
  }

  .mobile-action-hub {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1049;
    display: block;
  }

  .mobile-hub-trigger {
    background: linear-gradient(135deg, #a7653d 0%, #764122 100%);
    color: #ffffff;
    border: 2px solid #e2be8a;
    border-radius: 50px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(41, 35, 30, 0.35);
    cursor: pointer;
    transition: all 0.25s ease;
  }

  .mobile-hub-trigger:active {
    transform: scale(0.96);
  }

  .hub-trigger-icon {
    font-size: 18px;
    line-height: 1;
  }

  .hub-trigger-text {
    font-size: 16px !important;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #ffffff;
  }

  .mobile-hub-menu {
    position: absolute;
    bottom: calc(100% + 12px);
    right: 0;
    min-width: 230px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 12px 35px rgba(41, 35, 30, 0.25);
    display: none;
    flex-direction: column;
    gap: 8px;
    transform-origin: bottom right;
    animation: hubPopup 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .mobile-hub-menu.show {
    display: flex;
  }

  @keyframes hubPopup {
    from {
      opacity: 0;
      transform: scale(0.85) translateY(10px);
    }
    to {
      opacity: 1;
      transform: scale(1) translateY(0);
    }
  }

  .mobile-hub-item {
    background: #fbf8f5;
    border: 1px solid rgba(167, 101, 61, 0.2);
    border-radius: 10px;
    padding: 12px 14px;
    color: #29231e;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
  }

  .mobile-hub-item:hover,
  .mobile-hub-item:active {
    background: #f4ede3;
    border-color: var(--copper);
    color: var(--copper);
  }

  .hub-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
  }

  .hub-item-icon svg {
    width: 18px;
    height: 18px;
    display: block;
  }

  .hub-trigger-icon svg {
    width: 20px;
    height: 20px;
    display: block;
  }

  .mobile-toc-icon svg {
    width: 22px;
    height: 22px;
    display: block;
  }

  .hub-item-label {
    font-size: 16px !important;
    font-weight: 700;
    color: #29231e;
  }

  /* Bottom Slide-up TOC Drawer */
  .mobile-toc-sheet {
    height: 72vh !important;
    max-height: 80vh !important;
    border-radius: 20px 20px 0 0 !important;
    border-top: 2px solid var(--copper) !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3) !important;
    background: #ffffff !important;
  }

  .mobile-toc-header {
    background: linear-gradient(135deg, #2d1d14 0%, #432a1c 100%);
    color: #ffffff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 18px 18px 0 0;
  }

  .mobile-toc-header .offcanvas-title {
    font-family: Georgia, serif;
    font-size: 19px !important;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
  }

  .mobile-toc-icon {
    font-size: 20px;
  }

  .btn-close-toc {
    background: #a7653d;
    color: #ffffff;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px !important;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .btn-close-toc:hover {
    background: #ffffff;
    color: #29231e;
  }

  .mobile-toc-body {
    padding: 12px 16px 35px !important;
    overflow-y: auto !important;
  }

  .mobile-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-toc-list li {
    border-bottom: 1px solid rgba(216, 207, 195, 0.5);
  }

  .mobile-toc-list li:last-child {
    border-bottom: none;
  }

  .mobile-toc-link {
    display: block;
    padding: 13px 12px;
    color: #38312b;
    font-size: 16px !important;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
  }

  .mobile-toc-link:hover,
  .mobile-toc-link:active {
    background: #fbf7f2;
    color: var(--copper);
    padding-left: 18px;
  }
}

/* --------------------------------------------------------------------------
   16. Regional Locations Grid Card (Matches 34 Locations UI)
   -------------------------------------------------------------------------- */
.market-locations-card {
  background: #ffffff;
  border: 1px solid #e7ded9;
  border-radius: 12px;
  padding: 24px 28px;
  margin-top: 24px;
  box-shadow: 0 4px 16px rgba(41, 35, 30, 0.05);
}

.market-locations-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0e7df;
}

.market-locations-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.market-locations-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #f0f7ea;
  border-radius: 10px;
  font-size: 18px;
}

.market-locations-title {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: #23160e;
  margin: 0;
}

.market-locations-count-badge {
  background: #f1f3f5;
  color: #495057;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.market-locations-hub-btn {
  background: #fbf8f0;
  color: #2b2520 !important;
  border: 1px solid #e2dacd;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.market-locations-hub-btn:hover {
  background: var(--copper);
  color: #ffffff !important;
  border-color: var(--copper);
  transform: translateY(-1px);
}

.market-locations-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

@media (max-width: 1200px) {
  .market-locations-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 991.98px) {
  .market-locations-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767.98px) {
  .market-locations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .market-locations-grid {
    grid-template-columns: 1fr;
  }
}

.market-location-btn {
  background: #ffffff;
  border: 1.5px solid #e9ecef;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none !important;
  transition: all 0.2s ease;
  min-height: 48px;
}

.market-location-btn:hover {
  background: #fdfaf6;
  border-color: var(--copper);
  box-shadow: 0 4px 12px rgba(167, 101, 61, 0.12);
  transform: translateY(-2px);
}

.market-location-btn.active {
  background: #f8efe8;
  border-color: var(--copper);
  font-weight: 700;
}

.market-location-btn-name {
  color: #212529;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.market-location-btn:hover .market-location-btn-name {
  color: var(--copper);
}

.market-location-btn-arrow {
  color: #adb5bd;
  font-size: 14px;
  font-weight: bold;
  transition: transform 0.2s ease, color 0.2s ease;
  margin-left: 6px;
  flex-shrink: 0;
}

.market-location-btn:hover .market-location-btn-arrow {
  color: var(--copper);
  transform: translateX(3px);
}

