:root{
  --brand-dark:#0f3442;
  --glass-bg: rgba(255,255,255,.55);
  --mk-text:#2b2b2b;
  --mk-muted:#7a7a7a;
  --mk-border:#dedede;
  --mk-soft:#f3f3f3;
  --mk-accent:#ff2a17;
}

/* ================================
   SITE HEADER / LOGO ALIGNMENT
================================ */

.site-header {
  background:#ffffff;
  border-bottom:1px solid rgba(0,0,0,.06);
}

.site-header .navbar {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.site-header .navbar-brand {
  display: flex;
  align-items: center;
  padding: 0;
  margin-right: 1.5rem;
}

.header-brand-wrap {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.tbt-logo-wrap,
.mk-logo-wrap {
  display: flex;
}

.tbt-logo-wrap {
  align-items: center;
}

.mk-logo-wrap {
  align-items: flex-end;
  padding-bottom: 6px;
}

.tbt-logo {
  max-height: 86px;
  width: auto;
  display: block;
}

.mk-logo {
  max-height: 56px;
  width: auto;
  display: block;
}

.brand-divider {
  width: 1px;
  height: 65px;
  background: #c7c7c7;
  display: block;
  align-self: center;
}

/* Old fallback logo rule */
.brand-stack img {
  max-height: 46px;
}

@media (min-width: 992px){
  .brand-stack img {
    max-height: 54px;
  }
}

@media (max-width: 991.98px) {
  .site-header .navbar-brand {
    margin-right: 0.75rem;
  }

  .header-brand-wrap {
    gap: 12px;
  }

  .tbt-logo {
    max-height: 58px;
  }

  .mk-logo {
    max-height: 38px;
  }

  .brand-divider {
    height: 44px;
  }

  .mk-logo-wrap {
    padding-bottom: 3px;
  }
}

@media (max-width: 575.98px) {
  .header-brand-wrap {
    gap: 9px;
  }

  .tbt-logo {
    max-height: 50px;
  }

  .mk-logo {
    max-height: 32px;
  }

  .brand-divider {
    height: 38px;
  }

  .mk-logo-wrap {
    padding-bottom: 2px;
  }
}

/* ================================
   MAIN NAVIGATION
================================ */

.navbar-nav .nav-link{
  font-weight:600;
  color:#0d0d0d;
  padding:.75rem 1rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus{
  color:var(--brand-dark);
}

/* ================================
   GLOBAL / HERO
================================ */

body{
  background:#f7f7f7;
}

.hero {
  position:relative;
  min-height:100vh;
  background:#f8fafc;
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to bottom, rgba(0,0,0,.04), rgba(0,0,0,0) 30%);
  pointer-events:none;
}

.glass-card{
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-radius:.5rem;
  box-shadow:0 10px 30px rgba(0,0,0,.12);
  border:1px solid rgba(255,255,255,.35);
}

.hero h1{
  color:#0e3146;
  font-weight:800;
  line-height:1.2;
  letter-spacing:.2px;
}

.hero p{
  color:#173b4a;
  font-weight:500;
  margin-bottom:0;
}

.hero .glass-wrap{
  padding-top:min(8vh,5rem);
  padding-bottom:min(8vh,5rem);
}

.hover-zoom {
  transition: transform .4s ease;
}

.hover-zoom:hover {
  transform: scale(1.08);
}

.product-card {
  transition: transform .3s ease, box-shadow .3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow:0 .75rem 1.25rem rgba(0,0,0,.08);
}

/* ================================
   BRAND HERO
================================ */

.brand-hero{
  min-height: 80vh;
  width:100%;
  position:relative;
}

.brand-hero-bg{
  position:absolute;
  inset:0;
  background:url("/images/hero/herman-miller-brand.jpg") center/cover no-repeat;
}

.brand-hero-overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.48);
}

.brand-hero-title{
  letter-spacing:.12em;
  font-size: clamp(2rem, 6vw, 4.25rem);
}

/* ================================
   FOOTER
================================ */

.footer-dark{
  background:#000;
}

.footer-logo{
  height:64px;
  width:auto;
}

.footer-title{
  color:#f1d79a;
  font-weight:800;
  letter-spacing:.02em;
}

.text-white-70{
  color:rgba(255,255,255,.75)!important;
}

.footer-list li{
  margin-bottom:.4rem;
}

.footer-link{
  color:rgba(255,255,255,.85);
  text-decoration:none;
}

.footer-link:hover{
  color:#fff;
  text-decoration:underline;
}

.social-btn{
  width:48px;
  height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  color:#fff;
  text-decoration:none;
  transition:.2s ease;
}

.social-btn:hover{
  background:rgba(255,255,255,.18);
  transform: translateY(-2px);
}

@media (min-width: 992px){
  .ratio-lg-4x3{
    --bs-aspect-ratio: 75%;
  }
}

.red-underline{
  width:8rem;
  height:2px;
  background:#dc3545;
  margin:0 auto;
}

/* ================================
   MILLERKNOLL CATEGORY HEADER
================================ */

.mk-category-header{
  background:#f7f7f7;
}

.mk-category-title{
  font-size:2.4rem;
  font-weight:700;
  color:var(--mk-text);
  letter-spacing:-0.02em;
}

.mk-breadcrumb{
  display:flex;
  flex-wrap:wrap;
  gap:.45rem;
  font-size:.92rem;
  color:#7a7a7a;
}

.mk-breadcrumb a{
  color:#7a7a7a;
  text-decoration:none;
}

.mk-breadcrumb a:hover{
  color:#111;
  text-decoration:underline;
}

.mk-breadcrumb .current{
  color:#111;
  font-weight:600;
}

.mk-breadcrumb-sep{
  color:#b0b0b0;
}

/* ================================
   MILLERKNOLL CHILD NAV
================================ */

.mk-child-nav-wrap{
  position:relative;
  background:#efefef;
  border-top:1px solid rgba(0,0,0,.08);
  border-bottom:1px solid rgba(0,0,0,.08);
  z-index:100;
  scrollbar-width:none;
}

.mk-child-nav-wrap ::-webkit-scrollbar{
  display:none;
}

.mk-child-nav-inner{
  position:relative;
  overflow:visible;
}

.mk-child-nav{
  display:flex;
  align-items:stretch;
  justify-content:center;
  flex-wrap:wrap;
  gap:0;
  margin:0;
  padding:0 1.5rem;
  overflow:visible;
}

.mk-child-nav-item{
  position:relative;
  flex:0 0 auto;
}

.mk-child-nav-link{
  display:flex;
  align-items:center;
  gap:.45rem;
  padding:1.15rem 1.05rem;
  color:#1f2430;
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:1rem;
  font-weight:600;
  white-space:nowrap;
  transition:all .2s ease;
}

.mk-child-nav-link:hover{
  color:#000;
  background:rgba(255,255,255,.55);
}

.mk-child-nav-item.is-active > .mk-child-nav-link{
  color:#000;
  background:rgba(255,255,255,.75);
}

.mk-child-nav-arrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  opacity:.8;
}

.mk-child-dropdown{
  position:absolute;
  left:0;
  top:calc(100% - 1px);
  min-width:320px;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 18px 40px rgba(0,0,0,.12);
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
  transition:all .22s ease;
  z-index:200;
}

.mk-child-nav-item:hover .mk-child-dropdown,
.mk-child-nav-item:focus-within .mk-child-dropdown{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.mk-child-dropdown-inner{
  padding:1.25rem 1.25rem 1rem;
}

.mk-child-dropdown-title{
  font-size:.78rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#6b7280;
  margin-bottom:.85rem;
}

.mk-child-dropdown ul li + li{
  margin-top:.55rem;
}

.mk-child-dropdown a{
  color:#1f2430;
  text-decoration:none;
  font-size:.95rem;
  line-height:1.45;
}

.mk-child-dropdown a:hover{
  color:#000;
  text-decoration:underline;
}

.mk-child-dropdown li.is-active > a{
  color:#000;
  font-weight:700;
  text-decoration:underline;
}

@media (max-width: 991.98px){
  .mk-category-title{
    font-size:2rem;
  }

  .mk-child-nav{
    justify-content:flex-start;
    flex-wrap:nowrap;
    overflow-x:auto;
    overflow-y:hidden;
    padding:0 .75rem;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }

  .mk-child-nav::-webkit-scrollbar{
    display:none;
  }

  .mk-child-nav-link{
    padding:1rem .95rem;
    font-size:.92rem;
    letter-spacing:.06em;
  }

  .mk-child-dropdown{
    display:none;
  }
}

/* ================================
   CATEGORY TOOLBAR / FILTER
================================ */

.mk-category-toolbar{
  gap:1rem;
  border-top:1px solid #e7e7e7;
  padding-top:1.4rem;
}

.mk-results-count{
  color:#6b7280;
  font-size:.95rem;
  font-weight:500;
}

.mk-filter-trigger button{
  color:#1f2430;
  font-size:.95rem;
  font-weight:600;
}

.mk-filter-trigger button:hover{
  color:#111;
}

.mk-filter-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

/* ================================
   PRODUCT CARDS
================================ */

.mk-product-card{
  background:#fff;
  border:1px solid var(--mk-border);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.mk-product-card:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 24px rgba(0,0,0,.06);
  border-color:#d4d4d4;
}

.mk-product-card-link{
  display:block;
  height:100%;
  text-decoration:none;
  color:inherit;
}

.mk-product-image-wrap{
  aspect-ratio: 1 / 1;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:2rem;
  border-bottom:1px dashed #d9d9d9;
}

.mk-product-image{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  display:block;
}

.mk-product-card-body{
  padding:1rem 1rem 1.1rem;
}

.mk-product-title{
  font-size:1.1rem;
  font-weight:700;
  color:var(--mk-text);
  margin:0 0 .35rem;
  line-height:1.35;
}

.mk-product-meta{
  font-size:.9rem;
  color:#8a8a8a;
  line-height:1.4;
}

.mk-empty-state{
  background:#fff;
  border:1px solid var(--mk-border);
}

@media (min-width: 1200px){
  .mk-product-image-wrap{
    padding:2.25rem;
  }
}

@media (max-width: 991.98px){
  .mk-product-image-wrap{
    padding:1.5rem;
  }
}

/* ================================
   PAGINATION
================================ */

.mk-pagination-wrap{
  display:flex;
  justify-content:center;
  margin-top:3rem;
}

.mk-pagination-wrap .pagination{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  margin:0;
  padding:0;
  list-style:none;
}

.mk-pagination-wrap .page-item{
  margin:0;
}

.mk-pagination-wrap .page-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  height:44px;
  padding:0 14px;
  border:1px solid rgba(0,0,0,.12);
  border-radius:10px;
  background:#fff;
  color:#1f2430;
  font-weight:600;
  text-decoration:none;
  box-shadow:0 2px 8px rgba(0,0,0,.04);
  transition:all .2s ease;
}

.mk-pagination-wrap .page-link:hover{
  background:#f8f9fa;
  color:#000;
  border-color:rgba(0,0,0,.2);
}

.mk-pagination-wrap .page-item.active .page-link{
  background:#dc3545;
  border-color:#dc3545;
  color:#fff;
  box-shadow:0 6px 18px rgba(220,53,69,.22);
}

.mk-pagination-wrap .page-item.disabled .page-link{
  opacity:.45;
  pointer-events:none;
  background:#f3f3f3;
}

.mk-pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:.55rem;
}

.mk-page-link{
  min-width:42px;
  height:42px;
  padding:0 .85rem;
  border:1px solid #ff7d73;
  color:var(--mk-accent);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border-radius:999px;
  font-size:.95rem;
  font-weight:600;
  background:#fff;
  transition:all .2s ease;
}

.mk-page-link:hover,
.mk-page-link.active{
  background:var(--mk-accent);
  color:#fff;
  border-color:var(--mk-accent);
}

.mk-page-link.prev,
.mk-page-link.next{
  font-size:1rem;
  line-height:1;
}

.mk-page-dots{
  min-width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#999;
  font-size:1rem;
  font-weight:600;
  padding:0 .2rem;
}

@media (max-width: 575.98px){
  .mk-pagination-wrap .pagination{
    gap:.4rem;
  }

  .mk-pagination-wrap .page-link{
    min-width:40px;
    height:40px;
    padding:0 12px;
    font-size:.92rem;
    border-radius:8px;
  }
}