/*
Theme Name: mild-astro
*/

@font-face {
  font-family: 'TikTok Sans';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('assets/fonts/tiktok-sans-variable.woff2') format('woff2')
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/fraunces-variable.woff2') format('woff2')
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  color-scheme: dark;
}

:root {
  --bg: #292828;
  --surface: #333131;
  --surface-2: #3d3b3b;
  --border: #454242;
  --border-light: #524f4f;
  --text: #e8e6e1;
  --text-muted: #8a8785;
  --accent: #798777;
  --accent-hover: #A2B29F;
  --accent-light: rgba(212, 188, 138, .1);
  --accent-border: rgba(212, 188, 138, .25);
  --green: #5a6b58;
  --blue: #60a5fa;
  --radius: 0px;
  --radius-sm: 0px;
}

html[data-scheme="light"] {
  color-scheme: light;
  --bg: #EEF0F2;
  --surface: #ffffff;
  --surface-2: #EEF0F2;
  --border: #BFC5CB;
  --border-light: #d6dadd;
  --text: #000000;
  --text-muted: #5B646E;
  --accent: #858E97;
  --accent-hover: #5B646E;
  --accent-light: rgba(133, 142, 151, .1);
  --accent-border: rgba(133, 142, 151, .25);
  --green: #858E97;
  --blue: #5B646E;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

.theme-arrow {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-top: 2px;
  opacity: .6;
}

.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--text-muted);
  transition: color .2s;
  flex-shrink: 0;
}

.nav-cart:hover {
  color: var(--text);
}

.nav-cart svg {
  width: 18px;
  height: 18px;
}

.nav-cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--accent);
  color: var(--text);
  font-size: .65rem;
  font-weight: 700;
  line-height: 1;
  padding: 2px 5px;
  border-radius: 100px;
  min-width: 16px;
  text-align: center;
}

.nav-account-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-account-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  padding: 0;
  transition: color .2s;
  flex-shrink: 0;
}

.nav-account-btn:hover {
  color: var(--text);
}

.nav-account-btn svg {
  width: 18px;
  height: 18px;
}

.nav-account-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px;
  min-width: 160px;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s, transform .18s, visibility .18s;
  pointer-events: none;
  z-index: 1000;
}

.nav-account-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-account-dropdown:hover .nav-account-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-account-menu a {
  display: block;
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s, color .15s;
  white-space: nowrap;
}

.nav-account-menu a:hover {
  background: var(--surface-2);
  color: var(--text);
}

.nav-account-menu-logout {
  margin-top: 4px;
  border-top: 1px solid var(--border);
  padding-top: 10px !important;
}

body {
  font-family: 'TikTok Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100dvh
}

#page {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

#content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#content > .container,
#content > section.container,
#content > .section.container {
  flex: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif
}

a {
  color: inherit;
  text-decoration: none
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

#masthead {
  position: sticky;
  top: 0;
  z-index: 201;
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  background: rgba(41, 40, 40, .92);
}

html[data-scheme="light"] #masthead {
  background: rgba(238, 240, 242, .92);
}

.nav-inner.container {
  padding: 18px 24px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-right {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 28px;
}

.nav-logo {
  display: block;
  line-height: 0;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo svg path {
  fill: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-links a {
  padding: 0 14px;
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-size: .95rem;
  font-weight: 500;
  transition: color .2s;
  white-space: nowrap;
  text-decoration: none;
}

.nav-links a:last-child {
  padding-right: 0;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px;
  min-width: 180px;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s, transform .18s, visibility .18s;
  pointer-events: none;
  z-index: 1000;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown-menu a {
  display: block;
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, color .15s;
}

.nav-dropdown-menu a:hover {
  background: var(--surface-2);
  color: var(--text);
}

.nav-dropdown-menu .nav-dropdown-separator {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a {
  color: var(--text);
}

.nav-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 36px;
  height: 36px;
  color: var(--text-muted);
  transition: color .2s;
}

.nav-hamburger:hover {
  color: var(--text);
}

.offcanvas-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  z-index: 300;
  opacity: 0;
  transition: opacity .3s;
}

.offcanvas-overlay.open {
  display: block;
  opacity: 1;
}

.offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 260px;
  background: var(--bg);
  border-left: 1px solid var(--border);
  z-index: 301;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.25, .46, .45, .94);
  display: flex;
  flex-direction: column;
  padding: 20px 24px;
}

.offcanvas.open {
  transform: translateX(0);
}

.offcanvas-close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  line-height: 0;
  transition: color .2s;
}

.offcanvas-close:hover {
  color: var(--text);
}

.offcanvas-links {
  display: flex;
  flex-direction: column;
  margin-top: 32px;
  gap: 0;
}

.offcanvas-links a {
  padding: 11px 0;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
  border: none;
}

.offcanvas-links a:hover,
.offcanvas-links a.active,
.offcanvas-links .current-menu-item > a,
.offcanvas-links .current_page_item > a {
  color: var(--text);
}

.container {
  width: min(1440px, calc(100% - 116px));
  margin: 0 auto;
  padding: 0 24px;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

@media (max-width: 720px) {
  .container {
    width: 100%;
  }
}

section.section.hero {
  padding: 0;
}

.hero-content {
  padding: 72px 36px 44px;
}

.hero {
  text-align: center;
  padding: 88px 0 0;
  margin: 0 auto;
  overflow: hidden;
}

.hero.hero--no-mockup {
  padding-bottom: 72px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.12;
  margin-bottom: 20px;
  font-optical-sizing: auto
}

.hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7
}

.hero-cta {
  display: inline-block;
  padding: 14px 32px;
  background: #5a6b58;
  color: #e8e6e1;
  font-family: 'TikTok Sans', sans-serif;
  font-size: .92rem;
  font-weight: 600;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: background .2s, transform .2s
}

.hero-cta:hover {
  background: #4a5a48;
  transform: translateY(-1px)
}

.product-mockup {
  margin: 0 auto 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative
}

.product-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.nb-trio {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
}

.nb-device {
  border-radius: 18px;
  flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .12), 0 2px 8px rgba(0, 0, 0, .08);
  transition: transform .4s cubic-bezier(.25, .46, .45, .94), box-shadow .4s ease, opacity .4s ease
}

html[data-scheme="light"] .nb-device {
  box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
  border: 1px solid var(--border);
}

.nb-device--center {
  width: clamp(260px, 42vw, 400px);
  z-index: 3;
  position: relative
}

.nb-device--side {
  width: clamp(200px, 34vw, 320px);
  opacity: .88
}

.nb-device--left {
  z-index: 1;
  margin-right: -40px;
  transform: translateY(0) rotate(-3deg);
}

.nb-device--right {
  z-index: 2;
  margin-left: -40px;
  transform: translateY(0px) rotate(3deg);
}

.nb-trio:hover .nb-device--center {
  transform: translateY(-8px);
}

.nb-trio:hover .nb-device--left {
  transform: translateY(-8px) rotate(-1deg);
  opacity: 1
}

.nb-trio:hover .nb-device--right {
  transform: translateY(-8px) rotate(1deg);
  opacity: 1
}

a.nb-device {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.nb-device:hover {
  z-index: 4;
}

.nb-trio:hover .nb-device--left:hover {
  transform: translateY(-14px) rotate(0deg) scale(1.04);
  opacity: 1;
}

.nb-trio:hover .nb-device--center:hover {
  transform: translateY(-14px) scale(1.04);
}

.nb-trio:hover .nb-device--right:hover {
  transform: translateY(-14px) rotate(0deg) scale(1.04);
  opacity: 1;
}

.nb-screen {
  background: #e8e4df;
  border-radius: 6px;
  overflow: hidden;
}

.nb-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.section {
  padding: 48px 36px;
}

.home .section {
  border-bottom: 1px solid var(--border);
  margin-left: -24px;
  margin-right: -24px;
}

.section-header {
  margin-bottom: 56px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2
}

.section-desc {
  color: var(--text-muted);
  font-size: .95rem;
  margin-top: 8px;
  line-height: 1.7;
}

.features-alt {
  align-items: flex-start;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(325px, 1fr));
  gap: 40px;
}

.feature-row {
  /* padding: 56px 0; */
}

.feature-row:first-child {
  /* padding: 0; */
}

.feature-row:last-child {
  padding-bottom: 0;
}

.feature-row--flip .feature-visual {
  order: 2
}

.feature-row--flip .feature-text {
  order: 1
}

.feature-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  min-height: 220px
}

.feature-visual svg {
  max-width: 180px;
  width: 100%;
  height: auto;
  display: block
}

.feature-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px
}

.feature-text h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.25;
  margin-bottom: 14px;
  font-family: 'TikTok Sans';
}

.feature-text p {
  color: var(--text-muted);
  font-size: .93rem;
  line-height: 1.8
}

.single-product .faq-list {
    margin: 0;
}

.faq-list {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden
}

.faq-item:first-child {
    border-radius: 12px 12px 0 0;
}

.faq-item:last-child {
    border-radius: 0 0 12px 12px;
}


.faq-item + .faq-item {
  border-top: none
}

.faq-item summary {
  padding: 20px 24px;
  font-size: .93rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background .2s;
  color: var(--text)
}

.faq-item summary:hover {
  background: var(--surface)
}

.faq-item summary::after {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%237a7a86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  flex-shrink: 0;
  transition: transform .2s
}

.faq-item[open] summary::after {
  transform: rotate(180deg)
}

.faq-item summary::-webkit-details-marker {
  display: none
}

.faq-answer {
  padding: 24px 20px;
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.75;
  border-top: 1px solid var(--border);
}

.faq-answer p {
  margin-bottom: 8px
}

.faq-answer p:last-child {
  margin-bottom: 0
}

.newsletter {
  padding: 72px 24px
}

.newsletter-box {
  display: flex;
  flex-direction: column;
  gap: 4px
}

.newsletter-box h3 {
  font-family: 'TikTok Sans', sans-serif;
  font-size: .92rem;
  font-weight: 600;
  margin-bottom: 12px
}

.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 380px
}

.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: 'TikTok Sans', sans-serif;
  font-size: .88rem;
  outline: none;
  transition: border-color .2s
}

.newsletter-form input:focus {
  border-color: var(--accent)
}

.newsletter-form input::placeholder {
  color: var(--text-muted)
}

.newsletter-form button {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: 'TikTok Sans', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap
}

.newsletter-form button:hover {
  border-color: var(--accent);
  color: var(--accent)
}

#colophon {
  border-top: 1px solid var(--border);
  margin-top: -1px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1.4fr;
  gap: 28px;
  padding: 36px;
}

.footer-col h4 {
  font-family: 'TikTok Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text)
}

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

.footer-col ul li {
  margin-bottom: 6px
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: .95rem;
  transition: color .2s
}

.footer-col ul li a:hover {
  color: var(--text)
}

.footer-col--newsletter .newsletter-form {
  max-width: none
}

.footer-bottom {
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: .82rem;
  color: var(--text-muted)
}

.footer-bottom .container {
  padding: 19px 36px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .90rem;
  color: var(--text-muted);
  flex-wrap: wrap
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s
}

.breadcrumb a:hover {
  color: var(--accent)
}

.breadcrumb .sep {
  opacity: .35
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px
}

.products-grid--cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
  .products-grid--cols-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .products-grid--cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .products-grid--cols-4 {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  transition: border-color .3s, transform .3s, box-shadow .3s;
  position: relative;
  border-radius: 6px;
}

.product-card:hover {
  transform: translateY(-4px);
}

.by-brand .product-card {
    background: #fff;
    padding: 2rem;
    min-height: 120px;

}

.product-card-image {
  background: #e8e4df;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden
}

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

.product-card-body {
  padding: 22px 22px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1
}

.product-card-body h3 {
  font-size: 1.05rem;
  font-weight: 500;
  font-family: 'TikTok Sans';
}

.product-card-body p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px 18px
}

.product-card-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent)
}

.product-card-category,
.product-card-device {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 100px
}

.product-card-category {
  color: var(--text-muted);
  background: var(--surface-2)
}

.product-card-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end
}

.product-card-device {
  color: var(--text-muted);
  background: var(--surface-2);
}

.product-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: 'TikTok Sans', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em
}

.product-card--coming-soon .product-card-image {
  opacity: .65
}

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px
}

.shop-filter {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-family: 'TikTok Sans', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s
}

.shop-filter:hover {
  border-color: var(--accent);
  color: var(--text)
}

.shop-filter.active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--text);
}

.cat-device-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px
}

.cat-device-filter {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s
}

.cat-device-filter:hover {
  border-color: var(--accent);
  color: var(--text)
}

.cat-device-filter.active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--text)
}

.product-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 34px;
  padding: 32px 24px;
  align-items: start
}

.product-gallery {
  position: sticky;
  top: 80px
}

.gallery-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
}

.gallery-main {
  position: relative;
  /* background: #e8e4df; */
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 14:9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  border-radius: 6px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  min-height: 472px;
}

.gallery-thumbs {
  display: flex;
  flex-direction: row;
  gap: 7px;
  overflow-x: auto;
  overflow-y: hidden;
  max-height: none;
  padding-bottom: 4px
}

.gallery-thumb {
  flex: 0 0 auto;
  width: 74px;
  height: 56px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #e8e4df;
  padding: 0;
  cursor: pointer;
  opacity: .5;
  transition: opacity .2s, border-color .2s;
  border-radius: 3px;
}

.gallery-thumb.active {
  /* border-color: var(--accent); */
  opacity: 1
}

.gallery-thumb:hover {
  opacity: 1
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #2b2928;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}

.gallery-nav:hover {
  background: rgba(245, 242, 236, .92);
}

.gallery-nav-prev { left: 12px; }
.gallery-nav-next { right: 12px; }

.product-details {
  padding-top: 6px;
  font-size: .93rem;
  line-height: 1.55;
}

.product-details h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: 20px
}

.product-details h2 {
  font-size: 1.28rem;
  margin-top: 1.4rem;
  margin-bottom: .55rem;
}

.product-details p,
.product-details li {
  font-size: .94rem;
}

.product-status-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-family: 'TikTok Sans', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px
}

.product-status-badge.coming-soon {
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  color: var(--accent)
}

.device-selector {
  margin-bottom: 16px
}

.device-selector-label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 10px
}

.device-select {
  width: 100%;
  padding: 12px 40px 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: 'TikTok Sans', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: border-color .2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a7a86' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center
}

.device-select:hover,
.device-select:focus {
  border-color: var(--accent)
}

.buy-btn {
  display: block;
  width: 100%;
  padding: 16px 24px;
  background: var(--accent);
  color: var(--text);
  font-family: 'TikTok Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  text-align: center;
  transition: background .2s, transform .2s;
  text-decoration: none
}

.buy-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px)
}

.product-price {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1.25rem;
}

.buy-subtext {
  text-align: center;
  color: var(--text-muted);
  font-size: .82rem;
  margin-top: 10px;
  margin-bottom: 15px;
}

.product-highlights {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: .9rem
}

.product-highlight-item {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  align-items: start;
  gap: 10px;
}

.product-highlight-icon {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: .15rem;
  color: var(--text)
}

.product-body {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.8;
  margin-bottom: 32px
}

.product-body.container {
    margin-bottom: 0;
    padding-bottom: 32px;
}

.product-body h2 {
  font-family: 'TikTok Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
  margin: 32px 0 12px
}

.product-body h2:first-child {
  margin-top: 0
}


.product-body h3 {
   font-family: 'TikTok Sans', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
  margin: 32px 0 12px
}

.product-body p {
  margin-bottom: 14px
}

.product-body ul,
.product-body ol {
  margin: 0 0 14px 20px
}

.product-body ul li {
  margin-bottom: 6px
}

.product-body .disclaimer {
  text-decoration: underline;
  font-size: .85rem;
  font-style: italic;
  margin-top: 1rem
}

.share-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  margin-top: 32px;
  font-size: .88rem;
  color: var(--text-muted)
}

.share-row a {
  color: var(--text-muted);
  transition: color .2s
}

.share-row a:hover {
  color: var(--text)
}

.template-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 14px
}

.template-card {
  margin: 0
}

.template-card-img {
  aspect-ratio: 3/4;
  background: var(--surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid var(--border)
}

.template-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.template-card figcaption h3 {
  font-family: 'TikTok Sans', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 3px
}

.template-card figcaption p {
  font-size: .78rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5
}

.notify-me-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 28px;
  margin-bottom: 24px
}

.notify-me-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px
}

.notify-me-text {
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.6;
  margin-bottom: 16px
}

.notify-me-form {
  display: flex;
  gap: 8px
}

.notify-me-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: 'TikTok Sans', sans-serif;
  font-size: .9rem;
  outline: none;
  transition: border-color .2s
}

.notify-me-form input:focus {
  border-color: var(--accent)
}

.notify-me-form button {
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--accent);
  color: #292828;
  font-family: 'TikTok Sans', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap
}

.notify-me-form button:hover {
  background: var(--accent-hover)
}

.notify-me-disclaimer {
  color: var(--text-muted);
  font-size: .75rem;
  margin-top: 10px;
  font-style: italic
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  user-select: none;
  border-radius: 6px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .1);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: background .2s;
  z-index: 1
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, .2)
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .1);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: background .2s
}

.lightbox-prev { left: 20px }
.lightbox-next { right: 20px }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, .2)
}

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'TikTok Sans', sans-serif;
  font-size: .82rem;
  color: rgba(255, 255, 255, .6)
}

.about-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px;
}

.about-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.15;
  margin-bottom: 24px
}

.about-content p {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.8;
  margin-bottom: 16px
}

.contact-content {
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 24px 80px
}

.contact-content h1 {
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 12px
}

.contact-content p {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 24px
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.contact-form label {
  font-size: .85rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 6px
}

.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: 'TikTok Sans', sans-serif;
  font-size: .9rem;
  outline: none;
  transition: border-color .2s;
  resize: vertical
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent)
}

.contact-form textarea {
  min-height: 140px
}

.contact-form button {
  align-self: flex-start;
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--accent);
  color: #292828;
  font-family: 'TikTok Sans', sans-serif;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s
}

.contact-form button:hover {
  background: var(--accent-hover)
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px
}

.legal-content h1 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 24px
}

.legal-content h2 {
  font-family: 'TikTok Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 28px 0 10px;
  color: var(--text)
}

.legal-content p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.8;
  margin-bottom: 12px
}

.legal-content ul {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.8;
  margin: 0 0 12px 20px
}

.legal-content ul li {
  margin-bottom: 4px
}

.not-found {
  text-align: center;
  padding: 120px 24px;
  max-width: 550px;
  margin: 0 auto
}

.not-found h1 {
  font-size: 5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 16px
}

.not-found p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 24px
}

.not-found a {
  color: var(--accent);
  font-weight: 600
}

.not-found a:hover {
  text-decoration: underline
}

.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-muted)
}

.empty-state h2 {
  font-family: 'TikTok Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text)
}

.empty-state p {
  font-size: .92rem
}

.archive-header {
  padding: 48px 0 0;
  margin-bottom: 0;
}

.archive-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 10px;
}

.archive-header p {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero {
    padding: 64px 20px 32px
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 32px
  }

  .product-gallery {
    position: relative;
    top: auto;
    max-width: 400px;
    margin: 0 auto;
    width: 100%
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px
  }

  .footer-col--newsletter {
    grid-column: 1/-1
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 24px;
    /* padding: 40px 0; */
  }

  .feature-row .feature-visual {
    order: -1
  }

  .feature-row--flip .feature-visual,
  .feature-row--flip .feature-text {
    order: 0
  }

  .feature-row--flip .feature-visual {
    order: -1
  }

  .feature-visual {
    min-height: 160px;
    padding: 32px
  }

  .section {
    padding: 48px 20px
  }

  .products-grid {
    grid-template-columns: 1fr
  }

  .notify-me-form {
    flex-direction: column
  }

  .template-gallery-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width: 900px) {
  .nb-device--center {
    width: min(300px, 44vw)
  }

  .nb-device--side {
    width: min(230px, 33vw)
  }

  .nb-device--left {
    margin-right: -32px
  }

  .nb-device--right {
    margin-left: -32px
  }
}

@media (max-width: 580px) {
  .nb-device--side {
    display: none
  }

  .nb-device--center {
    width: min(300px, 90vw)
  }
}

@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px
  }

  .newsletter-form {
    flex-direction: column
  }

  .container {
    /* width: calc(100% - 32px); */
  }

}

.entry-content p,
.entry-content ul,
.entry-content ol {
  margin-bottom: 1.25rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.entry-content p:last-child,
.entry-content ul:last-child,
.entry-content ol:last-child {
  margin-bottom: 0;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text);
  font-family: var(--font-serif);
}

.entry-content h1:first-child,
.entry-content h2:first-child {
  margin-top: 0;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.5rem;
}

.entry-content li {
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.entry-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content details {
  border-bottom: 1px solid var(--border);
}

.entry-content summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--text);
  list-style: none;
}

.entry-content details p {
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.compare-hero {
  padding: 2.5rem 0 2rem;
  text-align: center;
}

.compare-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.02em;
}

.compare-tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.compare-tool-inputs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 1rem;
  width: 100%;
}

.compare-tool-vs {
  font-size: .8rem;
  color: var(--text-muted);
  padding-bottom: .65rem;
  text-align: center;
}

.compare-tool-label {
  display: block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .4rem;
}

.compare-tool-input-wrap {
  position: relative;
}

.compare-tool-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: .85rem;
  padding: .65rem 2.2rem .65rem .85rem;
  outline: none;
  transition: border-color .2s;
  font-family: inherit;
}

.compare-tool-input:focus {
  border-color: var(--border-light);
}

.compare-tool-icon {
  position: absolute;
  right: .75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.compare-dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  z-index: 100;
  display: none;
  flex-direction: column;
}

.compare-dropdown.open {
  display: flex;
}

.compare-dropdown-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem .75rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background .15s;
  border-bottom: 1px solid var(--border);
}

.compare-dropdown-item:last-child {
  border-bottom: none;
}

.compare-dropdown-item:hover {
  background: var(--surface-2);
}

.compare-dropdown-item img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--bg);
}

.compare-dd-placeholder {
  width: 32px;
  height: 32px;
  background: var(--bg);
  flex-shrink: 0;
}

.compare-dd-label {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  font-size: .8rem;
  color: var(--text);
}

.compare-dd-brand {
  font-size: .65rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.compare-tool-btn {
  padding: .65rem 2.5rem;
  background: var(--accent);
  color: var(--bg);
  border: none;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
}

.compare-tool-btn:hover:not(:disabled) {
  background: var(--accent-hover);
}

.compare-tool-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.compare-suggestions {
  margin-top: 1rem;
}

.compare-suggestions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.compare-suggestion-card {
  background: var(--bg);
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  transition: background .2s;
  overflow: hidden;
}

.compare-suggestion-card:hover {
  background: var(--surface);
}

.compare-suggestion-thumb {
  width: 60px;
  height: 56px;
  flex-shrink: 0;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .35rem;
}

.compare-suggestion-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.compare-thumb-placeholder {
  color: var(--border-light);
}

.compare-suggestion-label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  padding: .5rem .75rem;
  font-size: .75rem;
  color: var(--text);
  text-align: center;
  flex-wrap: wrap;
  line-height: 1.3;
}

.compare-suggestion-vs {
  font-size: .65rem;
  color: var(--text-muted);
  font-style: italic;
  flex-shrink: 0;
}

.compare-suggestion-name {
  font-weight: 500;
}

@media (max-width: 640px) {
  .compare-archive {
    padding: 1.5rem 0 4rem;
  }

  .compare-tool-inputs {
    grid-template-columns: 1fr;
  }

  .compare-tool-vs {
    text-align: left;
    padding-bottom: 0;
  }

  .compare-suggestions-grid {
    grid-template-columns: 1fr;
  }
}

.device-single {
  padding: 2rem 36px 5rem;
}

.device-single-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.device-single-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 2rem;
}

.device-sidebar-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  overflow: hidden;
}

.device-sidebar-brand {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .35rem;
}

.device-sidebar-name {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -.01em;
}

.device-sidebar-image-wrap {
  padding: 20px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.device-sidebar-img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  display: block;
}

.device-sidebar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 180px;
  color: var(--border-light);
}

.device-quick-specs {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1.25rem;
}

.device-quick-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: .45rem 0;
  border-bottom: 1px solid var(--border);
  gap: .5rem;
}

.device-quick-row:first-child {
  padding-top: 0;
}

.device-quick-row dt {
  font-size: .75rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.device-quick-row dd {
  font-size: .8rem;
  color: var(--text);
  text-align: right;
}

.device-quick-price {
  font-weight: 600;
  color: var(--accent-hover) !important;
}

.device-sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: .25rem;
}

.device-btn-buy {
  display: block;
  text-align: center;
  padding: .6rem 1rem;
  background: var(--accent);
  color: var(--bg);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background .2s;
}

.device-btn-buy:hover {
  background: var(--accent-hover);
}

.device-btn-compare {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .55rem 1rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .75rem;
  text-decoration: none;
  transition: color .2s, border-color .2s;
}

.device-btn-compare:hover {
  color: var(--text);
  border-color: var(--border-light);
}

.device-sidebar-templates {
  background: var(--surface);
}

.device-templates-label {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: .4rem;
}

.device-templates-dim {
  font-size: .7rem;
  color: var(--text-muted);
  margin-bottom: .9rem;
}

.device-single-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.device-section {
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 0;
}

.device-section:first-child {
  padding-top: 0;
}

.device-intro p {
  font-size: .9rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.device-section-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.device-section-title svg {
  flex-shrink: 0;
  opacity: .6;
}

.device-specs-table {
  width: 100%;
  border-collapse: collapse;
}

.device-specs-table tr {
  border-bottom: 1px solid var(--border);
}

.device-specs-table tr:last-child {
  border-bottom: none;
}

.device-specs-table th {
  font-size: .75rem;
  font-weight: 400;
  color: var(--text-muted);
  text-align: left;
  padding: .5rem 1rem .5rem 0;
  width: 180px;
  vertical-align: top;
}

.device-specs-table td {
  font-size: .8rem;
  color: var(--text);
  padding: .5rem 0;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .device-single-layout {
    grid-template-columns: 1fr;
  }

  .device-single-sidebar {
    position: static;
  }
}

@media (max-width: 600px) {
  .device-single {
    padding: 1.5rem 0 4rem;
  }

  .device-specs-table th {
    width: 130px;
  }
}

.brand-archive {
  padding: 2rem 36px 5rem;
}

.brand-breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .90rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.brand-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
}

.brand-breadcrumb a:hover {
  color: var(--text);
}

.brand-breadcrumb-sep {
  opacity: .4;
}

.brand-archive-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.brand-archive-intro {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
}

.brand-archive-logo {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface, #fff);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
}

.brand-archive-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.brand-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-card-logo img {
  max-height: 100%;
  max-width: 70%;
  object-fit: contain;
  display: block;
}

.brand-lineup-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.brand-lineup-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.brand-lineup-card--soon {
  opacity: .6;
}

.brand-lineup-name {
  font-family: 'TikTok Sans';
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.brand-lineup-status {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.brand-lineup-status--live {
  color: var(--accent);
}

@media (max-width: 900px) {
  .brand-lineup-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.brand-archive-meta h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.02em;
  margin-bottom: .6rem;
}

.brand-archive-desc {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: .9rem;
}

.brand-archive-tags {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}

.brand-archive-count {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.brand-templates-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  transition: color .2s;
}

.brand-templates-link:hover {
  color: var(--accent-hover);
}

@media (max-width: 600px) {
  .brand-archive {
    padding: 1.5rem 0 4rem;
  }

  .brand-archive-header {
    flex-direction: column;
    gap: 1rem;
  }

  .brand-archive-logo {
    width: 56px;
    height: 56px;
  }
}

.devices-archive {
  padding: 2rem 36px 5rem;
}

.devices-hero {
  padding: 0 0 3.5rem;
}

.devices-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: .75rem;
  letter-spacing: -.02em;
}

.devices-hero p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 480px;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.devices-hero-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.btn-device-action {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem 1rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .8rem;
  text-decoration: none;
  letter-spacing: .02em;
  transition: color .2s, border-color .2s;
}

.btn-device-action:hover {
  color: var(--text);
  border-color: var(--border-light);
}

.devices-section {
  margin-bottom: 4rem;
}

.devices-section-header {
  margin-bottom: 1.5rem;
}

.devices-section-header h2 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .6rem;
  font-family: 'TikTok Sans';
}

.devices-section-header hr {
  border: none;
  border-top: 1px solid var(--border);
}

.product-card--compact .product-card-body {
  padding: 20px 22px;
}

.product-card--compact .product-card-footer {
  padding: 0 22px 18px;
}

.device-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border-light);
}

.device-templates-badge {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--accent);
  text-transform: uppercase;
}

.empty-state {
  padding: 4rem 2rem;
  text-align: center;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.empty-state h2 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: .5rem;
  color: var(--text);
}

@media (max-width: 768px) {

  .devices-hero {
    padding: 2.5rem 0 2rem;
  }
}

.compare-single, .compare-archive {
  padding: 2rem 36px 5rem;
  
}

.compare-tool--inline {
  margin-bottom: 2.5rem;
}

.compare-headers {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-bottom: none;
  background: var(--surface);
}

.compare-header-spacer {
  border-right: 1px solid var(--border);
}

.compare-device-header {
  padding: 1.5rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  border-right: 1px solid var(--border);
  text-align: center;
}

.compare-device-header:last-child {
  border-right: none;
}

.compare-device-brand {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  text-decoration: none;
}

.compare-device-brand:hover {
  color: var(--accent);
}

.compare-device-title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  line-height: 1.3;
}

.compare-device-title:hover {
  color: var(--accent);
}

.compare-device-image {
  width: 100%;
  max-width: 140px;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: .5rem 0;
}

.compare-device-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.compare-device-image--placeholder {
  background: var(--surface-2);
  border: 1px dashed var(--border);
  border-radius: 4px;
  color: var(--border);
}

.compare-device-price {
  font-size: .9rem;
  font-weight: 700;
  color: var(--accent);
}

.compare-device-actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.compare-device-view-btn {
  font-size: .72rem;
  padding: .3rem .75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  text-decoration: none;
  background: var(--bg);
}

.compare-device-view-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.compare-device-buy-btn {
  font-size: .72rem;
  padding: .3rem .75rem;
  border: 1px solid var(--accent);
  border-radius: 4px;
  color: var(--accent);
  text-decoration: none;
  background: var(--accent-light);
}

.compare-device-buy-btn:hover {
  background: var(--accent);
  color: #fff;
}

.compare-table-wrap {
  border: 1px solid var(--border);
  border-top: none;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.compare-table thead tr {
  background: var(--surface-2);
}

.compare-table th.compare-table-group {
  width: 180px;
  text-align: left;
  padding: .6rem 1rem;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.compare-table thead th:not(.compare-table-group) {
  padding: .6rem 1rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.compare-table tbody tr {
  border-bottom: 1px solid var(--border-light);
}

.compare-table tbody tr:last-child {
  border-bottom: none;
}

.compare-table tbody tr.compare-row-diff td {
  background: color-mix(in srgb, var(--accent) 5%, transparent);
}

.compare-row-label {
  padding: .55rem 1rem;
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: left;
  white-space: nowrap;
  border-right: 1px solid var(--border);
  background: var(--surface);
}

.compare-table tbody td {
  padding: .55rem 1rem;
  font-size: .82rem;
  color: var(--text);
  border-right: 1px solid var(--border-light);
}

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

.compare-na {
  color: var(--border);
}

.compare-templates-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-top: none;
}

.compare-templates-cell {
  padding: 1.25rem 1.5rem;
  border-right: 1px solid var(--border);
}

.compare-templates-cell:last-child {
  border-right: none;
}

.compare-templates-cta {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.compare-templates-cta-label {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
}

.compare-templates-cta-label svg {
  flex-shrink: 0;
  color: var(--accent);
}

.compare-templates-dim {
  font-size: .72rem;
  color: var(--text-muted);
}

.compare-templates-cta-btn {
  display: inline-block;
  margin-top: .25rem;
  padding: .4rem .9rem;
  font-size: .78rem;
  font-weight: 500;
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  width: fit-content;
}

.compare-templates-cta-btn:hover {
  background: var(--accent-hover);
}

.compare-templates-none {
  font-size: .78rem;
  color: var(--text-muted);
  padding: .25rem 0;
}

@media (max-width: 768px) {
  .compare-single {
    padding: 1.5rem 0 3rem;
  }

  .compare-headers {
    grid-template-columns: 100px 1fr 1fr;
  }

  .compare-header-spacer {
    display: none;
  }

  .compare-headers {
    grid-template-columns: 1fr 1fr;
  }

  .compare-device-image {
    max-width: 100px;
  }

  .compare-table th.compare-table-group,
  .compare-row-label {
    width: 100px;
    font-size: .68rem;
    padding: .45rem .6rem;
  }

  .compare-table thead th:not(.compare-table-group),
  .compare-table tbody td {
    padding: .45rem .6rem;
    font-size: .75rem;
  }

  .compare-templates-row {
    grid-template-columns: 1fr;
  }

  .compare-templates-cell {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .compare-templates-cell:last-child {
    border-bottom: none;
  }
}

.shop-brands-page {
  padding-top: 48px;
  padding-bottom: 80px;
}

.shop-brands-hero {
  text-align: center;
  margin-bottom: 48px;
}

.shop-brands-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 10px;
}

.shop-brands-hero p {
  color: var(--text-muted);
  font-size: .95rem;
  max-width: 480px;
  margin: 0 auto;
}

.shop-brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.shop-brand-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color .2s, transform .2s;
}

.shop-brand-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.shop-brand-card-image {
  aspect-ratio: 4/3;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.shop-brand-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-brand-card-placeholder {
  color: var(--border-light);
}

.shop-brand-card-body {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.shop-brand-card-name {
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Fraunces', serif;
  letter-spacing: -.01em;
}

.shop-brand-card-count {
  font-size: .75rem;
  color: var(--text-muted);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .shop-brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.blog-archive-header {
  padding: 40px 0 48px;
}

.blog-archive-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.15;
  margin-bottom: 10px;
}

.blog-archive-header p {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.7;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  transition: border-color .25s, transform .25s;
  border-radius: 12px;
}

.blog-card:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
}

.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  /* background: var(--surface-2); */
}

.blog-card-image--empty {
  /* background: var(--surface-2); */
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.03);
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.blog-card-cat {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
}

.blog-card-body h2 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.3;
}

.blog-card-excerpt {
  color: var(--text-muted);
  font-size: .87rem;
  line-height: 1.65;
  flex: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.blog-card-date {
  font-size: .78rem;
  color: var(--text-muted);
}

.blog-card-read {
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
}

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}

.blog-pagination .nav-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  border-color: var(--accent);
  color: var(--text);
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-single-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
  margin-top: 32px;
}

.blog-post-header {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.blog-post-header h1 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.15;
}

.blog-post-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  font-style: italic;
}

.blog-post-byline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.blog-byline-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-byline-name {
  font-weight: 600;
  color: var(--text);
}

.blog-byline-sep {
  opacity: .4;
}

.blog-post-hero {
  margin-bottom: 36px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.blog-post-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-post-body {
  font-size: .95rem;
  line-height: 1.8;
}

.blog-post-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.blog-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-tag {
  padding: 5px 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}

.blog-tag:hover {
  border-color: var(--accent);
  color: var(--text);
}

.blog-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.blog-post-nav-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  color: var(--text);
  transition: border-color .2s;
}

.blog-post-nav-item:hover {
  border-color: var(--border-light);
}

.blog-post-nav-item--next {
  text-align: right;
}

.blog-post-nav-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
}

.blog-post-nav-title {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.4;
}

.blog-single-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
}

.blog-widget-title {
  font-family: 'TikTok Sans', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.blog-widget-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.blog-widget-list li {
  border-bottom: 1px solid var(--border);
}

.blog-widget-list li:last-child {
  border-bottom: none;
}

.blog-widget-list a {
  display: block;
  padding: 9px 0;
  font-size: .87rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
  line-height: 1.4;
}

.blog-widget-list a:hover {
  color: var(--text);
}

.blog-widget-footer-link {
  display: inline-block;
  margin-top: 14px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color .2s;
}

.blog-widget-footer-link:hover {
  color: var(--accent-hover);
}

.blog-widget--newsletter .blog-widget-lede {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.newsletter-form--compact {
  flex-direction: column;
  max-width: none;
  gap: 8px;
}

.newsletter-form--compact input,
.newsletter-form--compact button {
  width: 100%;
}

@media (max-width: 960px) {
  .blog-single-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .blog-single-sidebar {
    position: relative;
    top: auto;
  }
}

@media (max-width: 768px) {
  .blog-post-nav {
    grid-template-columns: 1fr;
  }
}