:root {
  --ink: #213d34;
  --forest: #173b32;
  --deep: #102b24;
  --green: #356a48;
  --lime: #d4e5ae;
  --paper: #f8f8f2;
  --muted: #65736b;
  --line: #dfe5db;
  --font-primary:
    "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --serif: var(--font-primary);
  --sans: var(--font-primary);
}
html {
  font-family: var(--font-primary);
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
  font-family: var(--font-primary);
}
button {
  cursor: pointer;
}
a {
  text-decoration: none;
  color: inherit;
}
.wrap {
  width: min(1260px, calc(100% - 64px));
  margin: auto;
}
.catalog-hero {
  background: linear-gradient(112deg, #f7f8f2 4%, #f0f4ea 64%, #e4eee1 100%);
  padding: 42px 0 36px;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}
.catalog-hero h1 {
  font-family: var(--font-primary);
  font-size: clamp(45px, 5vw, 72px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
  max-width: 770px;
  margin: 20px 0 20px;
}
.catalog-hero p {
  font-size: 17px;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.75;
}
.hero-meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 32px;
  font-size: 12px;
  color: #42634c;
}
.hero-meta span:before {
  content: "✓";
  margin-right: 8px;
  color: #3e7b50;
}
.catalog-main {
  padding: 28px 0 20px;
}
.category-bar {
  margin-bottom: 24px;
}
.category-title {
  font-family: var(--font-primary);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
}
.filters {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.category-bar .filters {
  margin-bottom: 0;
}
.filter-chip {
  border: 1px solid #dfe7dc;
  background: #fff;
  color: #405e4b;
  border-radius: 100px;
  padding: 12px 17px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.filter-chip:hover {
  border-color: #8ba891;
}
.filter-chip.active {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}
.filter-chip-sublime {
  border-color: #9c7743;
  background: #211b17;
  color: #e5bf7c;
}
.filter-chip-sublime:hover,
.filter-chip-sublime.active {
  border-color: #d7ad64;
  background: #4a3020;
  color: #fff0c9;
}
.chip-icon {
  font-size: 17px;
  line-height: 1;
}
.sublime-series {
  position: relative;
  overflow: hidden;
  margin: 0 0 48px;
  padding: 52px 58px;
  border: 1px solid #6f4a2d;
  border-radius: 10px;
  background:
    radial-gradient(circle at 78% 45%, #6a452d 0, transparent 30%),
    linear-gradient(118deg, #171310 0%, #2b1d17 55%, #120f0d 100%);
  color: #f3e5c4;
  box-shadow: 0 20px 50px #27170e26;
}
.sublime-series::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid #b8894b80;
  border-radius: 6px;
  pointer-events: none;
}
.sublime-series-heading {
  position: relative;
  z-index: 1;
}
.sublime-eyebrow {
  color: #d3a85e;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.sublime-series h2 {
  margin: 17px 0 4px;
  color: #f6e8c9;
  font-family: var(--font-primary);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.sublime-series p {
  margin: 0;
  color: #cdbda2;
  font-size: 14px;
}
.sublime-products {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 18px;
  margin-top: 40px;
}
.sublime-product {
  min-width: 0;
}
.sublime-product-tile {
  overflow: hidden;
  height: 180px;
  border: 1px solid #a87a3d;
  border-radius: 4px;
  box-shadow:
    0 14px 28px #00000055,
    inset 0 0 0 7px #211914;
}
.sublime-product-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sublime-tile-small {
  width: 72%;
  margin: 0 auto;
}
.sublime-tile-tall {
  width: 68%;
  height: 205px;
  margin: 0 auto;
}
.sublime-tile-max {
  height: 190px;
}
.sublime-tile-ultra {
  height: 205px;
}
.sublime-tile-slider {
  height: 135px;
  margin: 22px 0;
}
.sublime-tile-bedside {
  height: 120px;
  margin: 30px 0;
}
.sublime-tile-line {
  height: 62px;
  margin: 59px 0;
}
.sublime-product h3 {
  margin: 14px 0 3px;
  color: #f5e8ca;
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.sublime-product p,
.sublime-product span {
  display: block;
  margin: 0;
  color: #d3b77f;
  font-size: 11px;
}
.sublime-product span {
  margin-top: 5px;
  color: #aa997d;
  line-height: 1.45;
}
.list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 24px;
}
.list-head h2 {
  font-family: var(--font-primary);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0;
}
.list-head p {
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0 0;
}
#listing-description {
  max-width: 620px;
  line-height: 1.5;
}
.search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 0 18px;
  min-width: min(300px, 100%);
}
.search-wrap span {
  font-size: 18px;
  color: #617d67;
}
.search-wrap input {
  border: 0;
  outline: 0;
  background: none;
  min-width: 0;
  width: 100%;
  height: 48px;
  font-size: 13px;
  color: var(--ink);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.product-section-heading {
  grid-column: 1 / -1;
  padding: 28px 0 2px;
  border-top: 1px solid var(--line);
}
.product-section-heading h2 {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.product-section-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.product-section-heading .category-description {
  max-width: 620px;
  line-height: 1.5;
}
.product-section-heading .category-count {
  margin-top: 6px;
}
.product-section-heading[hidden] {
  display: none;
}
.product-card {
  background: #fff;
  border: 1px solid #e6eae3;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px #183e2b12;
}
.product-card[hidden] {
  display: none !important;
}
.product-art {
  height: 240px;
  background: linear-gradient(145deg, #f7f9f5, #e9efe7);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 26px;
  overflow: hidden;
}
.product-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 13px #172c251a);
  border-radius: 3px;
}
.image-pending {
  display: grid;
  place-items: center;
  gap: 8px;
  color: #a1afa2;
  text-align: center;
}
.line-icon {
  font-family: var(--font-primary);
  font-size: 66px;
  font-weight: 300;
  line-height: 1;
}
.image-pending small {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.product-info {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-category {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #718577;
  font-weight: 600;
}
.product-info h3 {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 550;
  letter-spacing: -0.02em;
  margin: 9px 0 8px;
}
.product-info p {
  font-size: 12px;
  color: #6b7b70;
  line-height: 1.6;
  flex: 1;
  margin: 0 0 24px;
}
.details-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: 0;
  border-top: 1px solid #e8ede5;
  padding: 15px 0 0;
  color: var(--forest);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
}
.details-btn span {
  display: grid;
  place-items: center;
  background: var(--forest);
  color: #fff;
  border-radius: 50%;
  width: 27px;
  height: 27px;
}
.empty {
  padding: 55px;
  text-align: center;
  color: var(--muted);
}
.empty[hidden] {
  display: none;
}
.consult {
  background: #eaf1e7;
  border-top: 1px solid #dae5d7;
  margin-top: 32px;
  margin-bottom: 16px;
  padding: 56px 0;
}
.consult .eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #4e7a57;
  margin-bottom: 8px;
}
.consult h2 {
  font-family: var(--font-primary);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #173b32;
  margin: 0 0 12px;
}
.consult .consult-description {
  font-size: 15px;
  color: #526757;
  max-width: 680px;
  line-height: 1.6;
  margin: 0 0 24px;
}
.consult-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  padding: 14px 26px;
  border-radius: 4px;
  background: #173b32;
  color: #ffffff;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.consult-cta:hover {
  background: #255848;
  transform: translateY(-1px);
}
.consult .disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: #728475;
  max-width: 780px;
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid #d5e0d1;
}
.site-footer {
  background: #0a2922;
  padding: 48px 0 27px;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 45px;
  padding-bottom: 35px;
  border-bottom: 1px solid #1e4a3a;
}
.footer-brand img {
  width: 88px;
  height: 72px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer-top > p {
  font-size: 11px;
  color: #8ab89e;
  line-height: 1.9;
  margin: 0;
  padding-left: 33px;
  border-left: 1px solid #1e4a3a;
}
.footer-top em {
  font-size: 20px;
  color: #c8e6d4;
  letter-spacing: -0.02em;
}
.back-top {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 8px;
  letter-spacing: 0.13em;
  color: #6aab85;
}
.back-top .icon {
  height: 17px;
  width: 17px;
  stroke: currentColor;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #7aab8e;
  font-size: 12px;
  padding-top: 22px;
}
.footer-bottom > div {
  display: flex;
  gap: 25px;
}
.footer-bottom .inline-button {
  text-decoration: none;
  color: inherit;
}
.footer-bottom a {
  color: inherit;
}
.footer-bottom a:hover,
.footer-bottom .inline-button:hover {
  text-decoration: underline;
}
.footer-disclaimer {
  font-size: 11px;
  color: #4e7a62;
  line-height: 1.9;
  margin: 18px 0 0;
  max-width: 1060px;
}
dialog {
  border: 0;
  border-radius: 12px;
  padding: 0;
  width: min(920px, calc(100% - 32px));
  max-height: 90vh;
  box-shadow: 0 25px 90px rgba(10, 32, 27, 0.4);
  overflow: hidden;
}
dialog::backdrop {
  background: rgba(7, 27, 23, 0.65);
  backdrop-filter: blur(4px);
}
.modal-inner {
  padding: 28px 32px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.modal-top h2 {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 4px 0 0;
}
.modal-close {
  background: #edf2eb;
  border: 0;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--ink);
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.modal-close:hover {
  background: #dce5d8;
}

/* Split 2-Column Body */
.modal-body-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: start;
  overflow-y: auto;
  padding-right: 4px;
}

.modal-col-main {
  display: flex;
  flex-direction: column;
}

.modal-photo {
  max-height: 240px;
  max-width: 100%;
  display: block;
  margin: 0 auto 16px;
  object-fit: contain;
}

.modal-col-main p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 20px;
}

.modal-links {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: auto;
}
.modal-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 4px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.modal-links .modal-btn-primary {
  background: var(--forest);
  color: #fff;
  border: 1px solid var(--forest);
}
.modal-links .modal-btn-primary:hover {
  background: var(--deep);
  border-color: var(--deep);
}
.modal-links .modal-btn-accent {
  background: #edf3e9;
  color: var(--forest);
  border: 1px solid #c9d8c3;
}
.modal-links .modal-btn-accent:hover {
  background: #dfe9da;
  border-color: #b7cbaf;
}

/* Sidebar Specifications */
.modal-col-sidebar {
  background: #f7f9f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
}

.modal-specifications {
  margin: 0;
  padding: 0;
  border: 0;
}

.spec-sidebar-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.spec-sidebar-header h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-primary);
}

.modal-spec-scroll {
  max-height: 350px;
  overflow-y: auto;
  padding-right: 8px;
}

.modal-spec-scroll::-webkit-scrollbar {
  width: 5px;
}
.modal-spec-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.modal-spec-scroll::-webkit-scrollbar-thumb {
  background: #c8d3c4;
  border-radius: 4px;
}

.modal-specifications dl {
  display: grid;
  grid-template-columns: minmax(110px, 0.9fr) minmax(0, 1.4fr);
  margin: 0;
  font-size: 12px;
}

.modal-specifications dt,
.modal-specifications dd {
  padding: 8px 0;
  border-bottom: 1px solid #e5ebe1;
}

.modal-specifications dt {
  color: var(--forest);
  font-weight: 600;
}

.modal-specifications dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.modal-specifications dl > dd:last-of-type,
.modal-specifications dl > dt:last-of-type {
  border-bottom: none;
}

@media (max-width: 768px) {
  dialog {
    width: min(540px, calc(100% - 24px));
  }
  .modal-inner {
    padding: 20px;
    max-height: 85vh;
  }
  .modal-body-split {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .modal-spec-scroll {
    max-height: 220px;
  }
}
@media (max-width: 1050px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .product-art {
    height: 215px;
  }
}
@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .catalog-hero {
    padding: 32px 0 26px;
  }
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .product-art {
    height: 160px;
    padding: 12px;
  }
  .product-info {
    padding: 14px;
  }
  .product-info h3 {
    font-size: 15px;
  }
  .product-info p {
    font-size: 11px;
  }
  .list-head {
    align-items: stretch;
    flex-direction: column;
  }
  .sublime-series {
    padding: 38px 28px 30px;
  }
  .sublime-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 14px;
    margin-top: 30px;
  }
  .sublime-product-tile {
    height: 145px;
  }
  .sublime-tile-slider {
    height: 105px;
    margin: 20px 0;
  }
  .sublime-tile-bedside {
    height: 90px;
    margin: 28px 0;
  }
  .sublime-tile-line {
    height: 48px;
    margin: 48px 0;
  }
  .footer-inner {
    display: block;
  }
  .footer a {
    margin: 0 15px 0 0;
  }
}
@media (max-width: 420px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .product-art {
    height: 230px;
  }
  .filter-chip {
    padding: 10px 13px;
  }
}

/* Premium studio product photography, preserving Techisland's original palette. */
.catalog-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg, #f8f8f2 0%, #f3f5ef 58%, #e5eee1 100%);
  padding: 42px 0 36px;
}
.catalog-hero .wrap {
  position: relative;
  z-index: 2;
}
.catalog-hero .hero-meta {
  margin-top: 30px;
}
.catalog-hero h1 {
  max-width: 680px;
}
.catalog-hero p {
  max-width: 620px;
}
.hero-device {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: min(31vw, 390px);
  height: 85%;
  object-fit: contain;
  filter: drop-shadow(0 28px 28px #112d2426);
  opacity: 0.96;
}
.product-art {
  height: 245px;
  background: linear-gradient(155deg, #fff 0%, #fbfcf9 62%, #f1f5ee 100%);
  padding: 26px;
}
.product-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 12px rgba(17, 38, 30, 0.12));
  border-radius: 0;
  mix-blend-mode: normal;
}
.product-card {
  border: 1px solid #e8ece6;
  border-radius: 7px;
  background: #fff;
  box-shadow: none;
}
.product-info {
  padding: 18px 21px 20px;
}
.product-info h3 {
  font-size: 17px;
  margin: 7px 0;
}
.product-info p {
  font-size: 12px;
  margin-bottom: 18px;
}
.image-pending {
  color: #a7b6a8;
}
.image-pending small {
  font-size: 10px;
}
.filters {
  gap: 11px;
}
.filter-chip {
  background: #fff;
  border-color: #e0e7dc;
}
@media (max-width: 1000px) {
  .hero-device {
    right: -6%;
    width: 32vw;
    opacity: 0.24;
  }
}
@media (max-width: 680px) {
  .hero-device {
    display: none !important;
  }
  .product-art {
    height: 175px;
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .brand-descriptor {
    display: none !important;
  }
  .nav-shell {
    gap: 10px;
  }
  .nav-cta {
    font-size: 9px;
    padding: 8px 11px;
    min-height: 34px;
    gap: 8px;
  }
}


.modal-links .modal-btn-accent {
  background: var(--lime);
  color: var(--deep);
  font-weight: 600;
  border: 1px solid #b8c99d;
}
.modal-links .modal-btn-accent:hover {
  background: #c5db9a;
}