/*
Theme Name: Letra26
Author: Kemie G
Description: A clean, minimal WordPress theme for type foundry specimen pages. Built around Easy Digital Downloads.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.7
License: GPL-2.0-or-later
Text Domain: letra26
*/
:root {
  --color-primary: #e05a5a;
  --color-fg: #1a1a1a;
  --color-bg: #ffffff;
  --color-border: #1a1a1a;
  --color-muted: #888888;
  --color-fog: #f4f4f4;
  --font-ui: 'Inter', system-ui, sans-serif;
  --radius: 0.25em;
  --container-max: 1420px;
  --container-pad: 4vmin;
}

@font-face {
  font-family: "TrinketSans";
  font-style: normal;
  font-weight: 100 900;
  src: url("assets/fonts/TrinketSans-Variable.woff2") format("woff2");
}
@font-face {
  font-family: "TrinketSans";
  font-style: italic;
  font-weight: 100 900;
  src: url("assets/fonts/Trinket Sans-Variable Italic.woff2") format("woff2");
}
:root {
  --font-ui: 'TrinketSans', sans-serif;
  --color-primary: #e05a5a;
  --color-fg: #1a1a1a;
  --color-bg: #ffffff;
  --color-border: #1a1a1a;
  --color-muted: #888888;
  --color-fog: #f4f4f4;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ui);
  font-weight: 400;
  color: var(--color-fg);
  background: var(--color-bg);
  line-height: 1.5;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-ui);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: 3.75rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 2.25rem;
}

h4 {
  font-size: 1.75rem;
}

h5 {
  font-size: 1.375rem;
}

h6 {
  font-size: 1.125rem;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-fg);
  text-decoration: underline;
}
a:hover {
  color: var(--color-primary);
}

img, svg {
  max-width: 100%;
  display: block;
}

button,
.btn, .button,
input[type=submit],
.edd-submit {
  display: inline-block;
  padding: 0.75em 1.75em;
  background: var(--color-border);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 1em;
  font-weight: 700;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  min-width: 8em;
  transition: all 0.2s ease;
  text-align: center;
}
button:hover,
.btn:hover, .button:hover,
input[type=submit]:hover,
.edd-submit:hover {
  background: var(--color-bg);
  color: var(--color-border);
  transform: translate(-0.1em, -0.1em);
  box-shadow: 0.35em 0.35em var(--color-border);
}
button:active,
.btn:active, .button:active,
input[type=submit]:active,
.edd-submit:active {
  background: var(--color-primary) !important;
  color: #fff !important;
  transform: translate(0.1em, 0.1em);
  box-shadow: none;
}
button:focus-visible,
.btn:focus-visible, .button:focus-visible,
input[type=submit]:focus-visible,
.edd-submit:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
button:disabled, button.is-disabled,
.btn:disabled,
.btn.is-disabled, .button:disabled, .button.is-disabled,
input[type=submit]:disabled,
input[type=submit].is-disabled,
.edd-submit:disabled,
.edd-submit.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-light {
  background: var(--color-bg);
  color: var(--color-fg);
  border-color: var(--color-border);
}
.btn-light:hover {
  background: var(--color-fog);
  color: var(--color-fg);
  box-shadow: 0.35em 0.35em var(--color-border);
  transform: translate(-0.1em, -0.1em);
}
.btn-light:active {
  background: var(--color-primary) !important;
  color: #fff !important;
}

input[type=text],
input[type=email],
input[type=number],
input[type=search],
input[type=password],
input[type=url],
textarea,
select,
.form-control {
  font-family: var(--font-ui);
  font-size: 1em;
  color: var(--color-fg);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.75em;
  outline: 0;
  box-shadow: inset 0.25em 0.25em rgba(0, 0, 0, 0.07);
  transition: all 0.2s ease;
  width: 100%;
}
input[type=text]:focus, input[type=text]:active,
input[type=email]:focus,
input[type=email]:active,
input[type=number]:focus,
input[type=number]:active,
input[type=search]:focus,
input[type=search]:active,
input[type=password]:focus,
input[type=password]:active,
input[type=url]:focus,
input[type=url]:active,
textarea:focus,
textarea:active,
select:focus,
select:active,
.form-control:focus,
.form-control:active {
  border-color: var(--color-fg);
  box-shadow: 0.25em 0.25em var(--color-fg);
  transform: translate(-0.1em, -0.1em);
  outline: none;
}

select {
  appearance: none;
  cursor: pointer;
  padding-right: 3.5em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.75em center/1.1em, linear-gradient(to left, var(--color-fog) 2.75em, var(--color-border) 1px, var(--color-bg) 1px);
}
select::-ms-expand {
  display: none;
}
select option {
  color: var(--color-fg);
  background: var(--color-bg);
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.site-wrap {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  overflow-x: clip;
}

.container {
  width: 100%;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.block--padded {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (min-width: 768px) {
  .block--padded {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.label-caps {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.site-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 var(--container-pad);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 56px;
  background: var(--color-bg);
}

.site-logo {
  display: block;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 0;
}
.site-logo svg {
  display: block;
  height: 2.25rem;
  width: auto;
}

.site-nav-wrap {
  flex: 1;
}
@media (max-width: 768px) {
  .site-nav-wrap {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    z-index: 99;
    flex: none;
  }
  .site-nav-wrap.is-open {
    display: block;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  text-transform: uppercase;
}
.nav-list a {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--color-fg);
  white-space: nowrap;
}
.nav-list a:hover {
  color: var(--color-primary);
}
.nav-list .current-menu-item a {
  font-weight: bold;
}

.site-nav {
  align-items: stretch;
  gap: 1rem;
}
@media (max-width: 768px) {
  .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
}
.site-nav > li {
  display: flex;
  align-items: center;
  position: relative;
}
@media (max-width: 768px) {
  .site-nav > li {
    flex-wrap: wrap;
    border-bottom: 1px solid var(--color-border);
  }
}
.site-nav a {
  padding: 0 0.25rem;
  height: 56px;
}
@media (max-width: 768px) {
  .site-nav a {
    height: auto;
    padding: 0.75rem var(--container-pad);
    flex: 1;
  }
}

.footer-nav {
  flex-wrap: wrap;
  gap: 0;
}
.footer-nav a {
  padding: 0.25em 0.5rem;
  font-weight: 500;
  color: var(--color-muted);
}
.footer-nav a:hover {
  color: var(--color-fg);
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0 0.25rem 0 0.1rem;
  min-width: 0;
  height: 56px;
  cursor: pointer;
  color: var(--color-fg);
}
.dropdown-toggle:hover, .dropdown-toggle:active, .dropdown-toggle:focus {
  background: none;
  box-shadow: none;
  transform: none;
  color: var(--color-primary);
}
.dropdown-toggle svg {
  width: 16px;
  height: 16px;
  display: block;
}
@media (max-width: 768px) {
  .dropdown-toggle {
    height: auto;
    padding: 0.75rem var(--container-pad);
    border-left: 1px solid var(--color-border);
  }
}

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 200;
}
.sub-menu li {
  display: block;
}
.sub-menu a {
  height: auto;
  padding: 0.6rem 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
}
.sub-menu a:last-child {
  border-bottom: none;
}
.sub-menu a:hover {
  background: var(--color-fog);
}
@media (max-width: 768px) {
  .sub-menu {
    position: static;
    border: none;
    border-top: 1px solid var(--color-border);
    width: 100%;
  }
  .sub-menu a {
    padding-left: calc(var(--container-pad) + 1rem);
  }
}

.menu-item-has-children.is-open > .sub-menu {
  display: block;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0.25rem;
  min-width: 0;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle:hover, .nav-toggle:active {
  background: none;
  box-shadow: none;
  transform: none;
}
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
}
.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-fg);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-origin: center;
}
.nav-toggle.is-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-topright {
  margin-left: auto;
  gap: 0.5rem;
  text-transform: none;
}
.nav-topright a {
  font-size: 0.75rem;
  padding: 0 0.5rem;
  color: var(--color-muted);
}
.nav-topright a:hover {
  color: var(--color-fg);
}
@media (max-width: 768px) {
  .nav-topright {
    display: none;
  }
}

.nav-cart {
  margin-left: 0;
}
@media (max-width: 768px) {
  .nav-cart {
    margin-left: 0;
  }
}
.nav-cart__link {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--color-fg);
  text-decoration: none;
}
.nav-cart__link svg {
  width: 20px;
  height: 20px;
}
.nav-cart__link:hover {
  color: var(--color-primary);
}
.nav-cart__count {
  position: absolute;
  top: 8px;
  right: -8px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 2em;
  min-width: 1.2em;
  text-align: center;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 2rem var(--container-pad);
  font-size: 0.875rem;
  color: var(--color-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-main {
  min-height: 60vh;
}

.block-carousel {
  overflow: hidden;
}

.carousel-wrap {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 83.3333333333%;
  scroll-snap-align: start;
  margin: 0;
  overflow: hidden;
}
@media (min-width: 768px) {
  .carousel-slide {
    flex: 0 0 40%;
  }
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-btn {
  background: var(--color-bg);
  color: var(--color-fg);
  border-color: var(--color-border);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  min-width: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  padding: 0;
}
.carousel-btn:hover {
  background: var(--color-fog);
  color: var(--color-fg);
  box-shadow: 0.35em 0.35em var(--color-border);
  transform: translate(-0.1em, calc(-50% - 0.1em));
  padding: 0;
}
.carousel-btn--prev {
  left: 1rem;
}
.carousel-btn--next {
  right: 1rem;
}
.carousel-btn svg {
  width: 20px;
  height: 20px;
}

.page-header {
  padding: 2rem var(--container-pad);
  border-bottom: 1px solid var(--color-border);
}
.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

.footer-cta {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
@media (min-width: 768px) {
  .footer-cta {
    grid-template-columns: 3fr 2fr;
    align-items: center;
  }
}
.footer-cta__custom, .footer-cta__newsletter {
  padding: 2.5rem var(--container-pad);
}
.footer-cta__custom {
  border-bottom: 1px solid var(--color-border);
}
@media (min-width: 768px) {
  .footer-cta__custom {
    border-bottom: none;
    border-right: 1px solid var(--color-border);
  }
}
.footer-cta__custom h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.4em;
}
.footer-cta__custom p {
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}
.footer-cta__custom .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-width: 0;
}
.footer-cta__custom .btn svg {
  width: 16px;
  height: 16px;
}
.footer-cta__badge {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2em 0.75em;
  border-radius: 2em;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.footer-cta__newsletter h2 {
  font-size: 1.5rem;
  margin-bottom: 0.4em;
}
.footer-cta__newsletter p {
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

.newsletter-form__row {
  display: flex;
}
.newsletter-form__row input[type=email] {
  flex: 1;
  border-radius: var(--radius) 0 0 var(--radius);
  border-right: none;
  width: auto;
}
.newsletter-form__row input[type=submit] {
  border-radius: 0 var(--radius) var(--radius) 0;
  min-width: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.page-content {
  padding: 3rem var(--container-pad);
}
.page-content article > p,
.page-content article > h1,
.page-content article > h2,
.page-content article > h3,
.page-content article > h4,
.page-content article > h5,
.page-content article > h6,
.page-content article > ul,
.page-content article > ol,
.page-content article > blockquote,
.page-content article > .wp-block-paragraph,
.page-content article > .wp-block-heading,
.page-content article > .wp-block-list,
.page-content article > .wp-block-quote {
  max-width: 860px;
}

.home-hero {
  padding: 0rem var(--container-pad);
  border-bottom: 1px solid var(--color-border);
}
.home-hero > * {
  max-width: 100%;
}
.home-hero h1, .home-hero .wp-block-heading {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  padding: 0.25em 0;
}

.font-filter-bar {
  padding: 8px var(--container-pad);
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cat-item {
  padding: 0.25rem 1rem;
  border-radius: 2em;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s, color 0.15s;
  color: var(--color-fg);
}
.cat-item:hover {
  background: var(--color-fog);
}
.cat-item.is-active {
  background: var(--color-fg);
  color: var(--color-bg);
}

.font-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  padding-right: 1px;
}
.font-grid--related {
  display: flex;
  flex-wrap: wrap;
}
.font-grid--related .font-card {
  flex: 1 1 180px;
  max-width: 300px;
}

.font-card {
  position: relative;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  margin: 0 -1px -1px 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
  transition: box-shadow 0.2s ease;
}
.font-card.is-hidden {
  display: none;
}
.font-card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.font-card__preview {
  aspect-ratio: 1;
  background: var(--color-bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  color: var(--color-fg);
  transition: color 0.2s ease;
}
.font-card__preview svg, .font-card__preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.font-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6em 0.75em;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
  gap: 0.5em;
}

.font-card__title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
.font-card__title a {
  text-decoration: none;
  color: var(--color-fg);
  position: relative;
  z-index: 2;
}

.font-card__arrow {
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--color-fg);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  position: relative;
  z-index: 2;
}

@media (hover: hover) {
  .font-card:hover {
    z-index: 10;
    box-shadow: 6px 6px 0 0 var(--color-border);
  }
  .font-card:hover .font-card__preview {
    color: var(--accent-fg, var(--color-fg));
  }
  .font-card:hover .font-card__preview svg, .font-card:hover .font-card__preview img {
    transform: scale(1.2);
  }
  .font-card:hover .font-card__arrow {
    opacity: 1;
    transform: translateX(0);
  }
}
.badge {
  position: absolute;
  top: 0.75em;
  left: 0.75em;
  z-index: 3;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.25em 0.75em;
  border-radius: 2em;
  color: #fff;
  line-height: 1.4;
}
.badge--sale {
  background: var(--color-primary);
}
.badge--new {
  background: var(--color-fg);
  left: auto;
  right: 0.75em;
}

.block {
  border-top: 1px solid var(--color-border);
  scroll-margin-top: 110px;
}
.block:first-of-type {
  border-top: none;
}

.block-hero {
  padding: 72px var(--container-pad);
  text-align: center;
  border-top: none;
}
.block-hero .hero-font-name {
  max-width: 920px;
  margin: 0 auto;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  font-feature-settings: normal;
}
.block-hero .hero-tagline {
  max-width: 860px;
  margin: 0.6em auto 0;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  line-height: 1.35;
  font-weight: 400;
}
.block-hero .sale-badge {
  display: inline-block;
  margin-top: 1em;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--color-primary);
  color: #fff;
  padding: 0.25em 0.75em;
  border-radius: 2em;
}

.block-subnav {
  position: sticky;
  top: 56px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin: 0;
}
.block-subnav .subnav-links {
  display: none;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .block-subnav .subnav-links {
    display: flex;
  }
}
.block-subnav .subnav-links a {
  padding: 0.25em 0;
}
.block-subnav .subnav-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  width: 100%;
}
@media (min-width: 1100px) {
  .block-subnav .subnav-buy {
    width: auto;
  }
}

.pkg-info-wrap {
  position: relative;
}

.pkg-info-btn {
  background: none;
  border: none;
  min-width: 0;
  font-weight: normal;
  font-size: 1.1rem;
  color: var(--color-muted);
  padding: 0.25rem 0.4rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.15s ease;
}
.pkg-info-btn:hover, .pkg-info-btn[aria-expanded=true] {
  color: var(--color-fg);
  transform: none;
  box-shadow: none;
  background: none;
  border: none;
  padding: 0.25rem 0.4rem;
}

.pkg-info-popover {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  box-shadow: 4px 4px 0 var(--color-border);
  width: clamp(240px, 30vw, 360px);
  z-index: 200;
  padding: 0;
}
.pkg-info-popover[hidden] {
  display: none;
}

.pkg-info-item {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-muted);
}
.pkg-info-item:last-child {
  border-bottom: none;
}
.pkg-info-item.is-active {
  background: var(--color-fog);
}
.pkg-info-item__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 4px;
}
.pkg-info-item__name {
  font-weight: 700;
  font-size: 0.875rem;
}
.pkg-info-item__price {
  font-size: 0.875rem;
  color: var(--color-muted);
  white-space: nowrap;
}
.pkg-info-item__desc {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.5;
}

.block-type-tester,
.block-glyph-browser,
.block-ot-features,
.block-weight-viewer,
.block-related {
  padding: 48px var(--container-pad);
}

.tester-controls {
  border: 1px solid var(--color-muted);
  background: var(--color-fog);
  margin-bottom: 24px;
  overflow: hidden;
}

.tester-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
  padding: 12px 16px;
}
.tester-toolbar button {
  min-width: 0;
  font-weight: normal;
  background: var(--color-bg);
  color: var(--color-fg);
  border: 1px solid var(--color-muted);
  padding: 0.3rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tester-toolbar button:hover {
  transform: none;
  box-shadow: none;
  background: var(--color-fog);
  padding: 0.3rem;
  color: var(--color-fg);
  border-color: var(--color-fg);
}
.tester-toolbar button:active {
  transform: none;
  box-shadow: none;
  background: var(--color-fg) !important;
  color: var(--color-bg) !important;
}
.tester-toolbar button.is-active, .tester-toolbar button[aria-pressed=true] {
  background: var(--color-fg);
  border-color: var(--color-fg);
  color: var(--color-bg);
}
.tester-toolbar button.is-active img, .tester-toolbar button[aria-pressed=true] img {
  filter: invert(1);
}
.tester-toolbar button:disabled, .tester-toolbar button.is-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.tester-ctrl {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.tester-ctrl--select select {
  padding: 0.35em 3.5em 0.35em 0.65em;
  font-size: 0.8em;
  height: 2rem;
  border: 1px solid var(--color-muted);
  border-radius: var(--radius);
  background-color: var(--color-bg);
  width: auto;
}
.tester-ctrl--select select:focus, .tester-ctrl--select select:active {
  transform: none;
  box-shadow: none;
  border-color: var(--color-fg);
}
.tester-ctrl--align {
  gap: 2px;
}
.tester-ctrl--slider {
  gap: 0.5rem;
}

.tester-label {
  font-size: 0.8em;
  color: var(--color-muted);
  white-space: nowrap;
  display: block;
  margin-bottom: 0;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: uppercase;
}

.tester-range {
  -webkit-appearance: none;
  appearance: none;
  width: 90px;
  height: 1px;
  background: var(--color-muted);
  border-radius: 2px;
  outline: none;
  border: none;
  box-shadow: none;
  padding: 0;
}
.tester-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-fg);
  cursor: pointer;
}
.tester-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-fg);
  cursor: pointer;
  border: none;
}
.tester-range:focus, .tester-range:active {
  transform: none;
  box-shadow: none;
  border: none;
  outline: none;
}
@media (min-width: 768px) {
  .tester-range {
    width: 120px;
  }
}

.tester-value {
  font-size: 0.8em;
  color: var(--color-muted);
  min-width: 3em;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.tester-axes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
  padding: 10px 16px;
  border-top: 1px solid var(--color-muted);
  background: var(--color-bg);
}

.tester-preview-wrap {
  border: 1px solid var(--color-fog);
  background: var(--color-fog);
  padding: 0 24px 12px;
  margin-top: 4px;
}
.tester-preview-wrap .glyph-browser-note {
  text-align: left;
  margin: 0;
}

.tester-preview {
  font-size: clamp(2rem, 8vw, 5rem);
  line-height: 1.2;
  padding: 32px 0;
  outline: none;
  min-height: 1.5em;
  cursor: text;
  word-break: break-word;
  font-feature-settings: normal;
  letter-spacing: normal;
}
.tester-preview:focus {
  outline: none;
}
.tester-preview:empty::before {
  content: attr(data-placeholder);
  color: var(--color-muted);
}

.block-showcase {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 0;
  width: 100%;
  overflow: hidden;
  max-height: 28rem;
}
@media (max-width: 768px) {
  .block-showcase {
    grid-template-columns: 1fr;
    max-height: none;
  }
}

.showcase-waterfall {
  border-right: 1px solid var(--color-border);
  padding: 2rem;
  min-width: 0;
  position: relative;
}
.showcase-waterfall::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 5rem;
  height: 100%;
  background: linear-gradient(to right, transparent, var(--color-bg));
  pointer-events: none;
}
.showcase-waterfall__row {
  white-space: nowrap;
  overflow: hidden;
  color: var(--color-fg);
  line-height: 1.25;
  padding: 0.2em 0;
}

.showcase-body {
  padding: 2rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-fg);
  position: relative;
  overflow: hidden;
}
.showcase-body::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2rem;
  background: linear-gradient(to bottom, transparent, var(--color-bg));
  pointer-events: none;
}
.showcase-body p, .showcase-body ul, .showcase-body ol {
  margin-bottom: 1em;
  font-feature-settings: normal;
}
.showcase-body p:last-child {
  margin-bottom: 0;
}

.block-weight-viewer {
  padding: 48px var(--container-pad) 64px;
}

.weight-viewer {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.weight-row {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding-bottom: 2em;
}
.weight-row__label {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  white-space: nowrap;
  width: 4.5rem;
  flex-shrink: 0;
  text-align: right;
  padding-right: 0.75em;
  border-right: 1px solid var(--color-muted);
}

.weight-glyphs {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.25em;
  flex: 1;
  justify-content: center;
}

.weight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  transform-origin: bottom center;
  transition: transform 0.25s ease;
  cursor: default;
  position: relative;
}
@media (hover: hover) {
  .weight-item:hover {
    transform: scale(1.5);
    z-index: 10;
  }
  .weight-item:hover .weight-glyph {
    opacity: 1;
    color: var(--accent-fg, var(--color-primary));
  }
  .weight-item:hover .weight-label {
    opacity: 1;
  }
}

.weight-glyph {
  font-size: clamp(60px, 14vw, 220px);
  line-height: 1;
  display: block;
  opacity: 0.3;
  font-feature-settings: normal;
  transition: opacity 0.25s ease, color 0.25s ease;
}
@media (hover: none) {
  .weight-glyph {
    opacity: 1;
  }
}

.weight-label {
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.5em;
  white-space: nowrap;
  color: var(--color-fg);
  opacity: 0.75;
  transition: opacity 0.25s ease;
}
@media (hover: none) {
  .weight-label {
    opacity: 1;
  }
}

.block-glyph-browser {
  padding: 48px var(--container-pad);
}

.glyph-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--color-muted);
  margin-bottom: 32px;
}
.glyph-tabs .glyph-tab {
  min-width: 0;
  font-weight: 500;
  font-size: 0.875rem;
  background: transparent;
  color: var(--color-muted);
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 0.5em 1em;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.glyph-tabs .glyph-tab:hover {
  transform: none;
  box-shadow: none;
  background: transparent;
  color: var(--color-fg);
  padding: 0.5em 1em;
  border-bottom: 2px solid var(--color-muted);
}
.glyph-tabs .glyph-tab.is-active {
  color: var(--color-fg);
  border-bottom-color: var(--color-fg);
  background: transparent;
}
.glyph-tabs .glyph-tab:active {
  transform: none;
  box-shadow: none;
  background: transparent !important;
  color: var(--color-fg) !important;
}

.glyph-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  align-items: start;
  padding: 0 2em;
}
@media (max-width: 768px) {
  .glyph-layout {
    grid-template-columns: 1fr;
    padding: 0 0.5rem;
  }
}

.glyph-selected-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
@media (min-width: 768px) {
  .glyph-selected-col {
    position: sticky;
    top: 60px;
  }
}

.glyph-display {
  font-size: clamp(150px, 22vw, 384px);
  line-height: 1;
  text-align: center;
  padding: 0 0 0.05em 0;
}
@media (max-width: 768px) {
  .glyph-display {
    font-size: clamp(120px, 40vw, 220px);
    padding: 0;
  }
}

.glyph-notes {
  padding: 1em;
  margin: 0 1em;
  border-top: 1px solid var(--color-muted);
}

.glyph-count-label {
  margin: 0;
  text-align: center;
}

.glyph-browser-note {
  font-size: 0.7rem;
  color: var(--color-muted);
  line-height: 1.5;
  text-align: center;
  margin: 12px 0 0;
}
.glyph-browser-note a {
  color: var(--color-muted);
}
.glyph-browser-note a:hover {
  color: var(--color-fg);
}

.glyph-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.glyph-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  font-size: 26px;
  line-height: 1;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.35;
  position: relative;
  transition: transform 0.15s ease, opacity 0.15s ease, color 0.15s ease;
}
@media (max-width: 768px) {
  .glyph-cell {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
}
@media (hover: hover) {
  .glyph-cell:hover {
    transform: scale(1.2);
    opacity: 1;
    z-index: 5;
  }
}
.glyph-cell.is-active {
  color: var(--accent-fg, var(--color-primary));
  opacity: 1;
}

.block-ot-features {
  padding: 48px var(--container-pad) 64px;
}

.ot-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.ot-card {
  border: 1px solid var(--color-muted);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ot-card__example {
  flex: 1;
  padding: 48px 16px;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.2;
  text-align: center;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-muted);
}
.ot-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--color-fog);
}
.ot-card__label {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}
.ot-card.ot-off .ot-highlight {
  color: inherit;
}

.ot-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: var(--color-fg);
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
  min-width: 0;
  box-shadow: none;
  color: transparent;
}
.ot-toggle:hover, .ot-toggle:active {
  transform: none;
  box-shadow: none;
  padding: 0;
  background: var(--color-fg);
  border: none;
}
.ot-toggle[aria-checked=false] {
  background: var(--color-muted);
}
.ot-toggle__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
  pointer-events: none;
}
.ot-toggle[aria-checked=true] .ot-toggle__thumb {
  transform: translateX(20px);
}

.block-details {
  padding: 48px 32px;
}
@media (min-width: 768px) {
  .block-details {
    padding: 48px 64px;
  }
}

.details-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 768px) {
  .details-layout {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.details-description {
  font-size: 1rem;
  line-height: 1.6;
}
.details-description p {
  margin-bottom: 1em;
}
.details-description p:last-child {
  margin-bottom: 0;
}

.details-specs {
  display: flex;
  flex-direction: column;
}

.spec-row {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  align-items: center;
  column-gap: 0.75rem;
  padding: 14px 0;
  border-top: 1px solid var(--color-muted);
}
.spec-row:last-child {
  border-bottom: 1px solid var(--color-muted);
}
.spec-row .spec-detail {
  grid-column: 1/-1;
  padding-top: 10px;
  padding-bottom: 4px;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--color-muted);
}

.spec-count {
  font-size: clamp(0.85rem, 1.5vw, 1.35rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-fg);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.spec-icon-wrap {
  justify-self: end;
  display: flex;
  align-items: center;
}

.spec-label {
  font-size: 0.9rem;
}

.spec-tag {
  color: var(--color-muted);
}

.spec-arrow,
.spec-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  width: 28px;
  height: 28px;
}
.spec-arrow svg,
.spec-toggle svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.spec-arrow,
.spec-toggle {
  padding: 0;
  background: none;
  border: none;
  min-width: 0;
  font-weight: normal;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s ease;
  flex-shrink: 0;
}
.spec-arrow:hover,
.spec-toggle:hover {
  color: var(--color-fg);
  transform: none;
  box-shadow: none;
  background: none;
  border: none;
  padding: 0;
}

.related-heading {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

#edd_checkout_wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem var(--container-pad);
  border: none !important;
  box-shadow: none !important;
}

#edd_checkout_cart {
  width: 100%;
  border: none;
  border-collapse: collapse;
}
#edd_checkout_cart th {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-border);
  padding: 0.5rem 0.75rem;
  text-align: left;
}
#edd_checkout_cart td {
  border-bottom: 1px solid var(--color-border);
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  padding: 1rem 0.75rem;
  vertical-align: middle;
}
#edd_checkout_cart tr:last-child td {
  border-bottom: none;
}
#edd_checkout_cart thead th:last-child {
  visibility: hidden;
}

.edd_cart_item_image {
  float: none;
  display: inline-block;
  width: 56px;
  height: 56px;
  border: 1px solid var(--color-border);
  vertical-align: middle;
  margin-right: 0.75rem;
  overflow: hidden;
}
.edd_cart_item_image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.edd_checkout_cart_item_title {
  font-weight: 700;
  display: inline;
  vertical-align: middle;
}

.edd_cart_item_price s,
.edd_cart_item_price del {
  color: var(--color-muted);
  font-weight: 400;
}

.edd_cart_total {
  text-align: right !important;
  visibility: visible !important;
}

#edd_checkout_cart td.edd_cart_actions a {
  display: inline-block;
  padding-left: 22px;
  text-decoration: none;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
  border: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3C/svg%3E") no-repeat left center/16px 16px;
}
#edd_checkout_cart td.edd_cart_actions a:hover {
  color: var(--color-fg);
}

td:has(.edd-continue-shopping-button) {
  padding: 1.25rem 0.75rem !important;
}

a.edd-continue-shopping-button,
input.edd-continue-shopping-button,
a.edd-cart-saving-button,
input.edd-cart-saving-button {
  background: var(--color-bg) !important;
  color: var(--color-fg) !important;
  border: 1px solid var(--color-border) !important;
  box-shadow: none !important;
  transform: none !important;
}
a.edd-continue-shopping-button:hover,
input.edd-continue-shopping-button:hover,
a.edd-cart-saving-button:hover,
input.edd-cart-saving-button:hover {
  background: var(--color-fog) !important;
  box-shadow: 0.35em 0.35em var(--color-border) !important;
  transform: translate(-0.1em, -0.1em) !important;
  color: var(--color-fg) !important;
}

a.edd-continue-shopping-button,
input.edd-continue-shopping-button {
  margin-right: 0.5rem !important;
}

.edd-payment-icons {
  display: flex;
  align-items: center !important;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
  padding: 1.25rem 0;
}
.edd-payment-icons img, .edd-payment-icons svg {
  height: 24px;
  width: auto;
  display: block;
}

#edd_checkout_form_wrap fieldset {
  border: none;
  padding: 0;
  margin: 2rem 0 1rem;
}
#edd_checkout_form_wrap fieldset legend {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 0 0 0.5rem;
  margin-bottom: 1.25rem;
  margin-top: 1.5rem;
  display: block;
  width: 100%;
  border-bottom: 1px solid var(--color-border);
}
#edd_checkout_form_wrap label {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
#edd_checkout_form_wrap .edd-description {
  font-size: 0.78rem;
  color: var(--color-muted);
  margin-top: 0.15rem;
  margin-bottom: 0.75rem;
}
#edd_checkout_form_wrap input[type=text],
#edd_checkout_form_wrap input[type=email],
#edd_checkout_form_wrap input[type=password],
#edd_checkout_form_wrap input[type=tel] {
  width: 100%;
  margin-bottom: 1rem;
}
#edd_checkout_form_wrap input[type=checkbox] {
  width: auto;
}
#edd_checkout_form_wrap #edd-login-account-wrap,
#edd_checkout_form_wrap #edd-new-account-wrap,
#edd_checkout_form_wrap #edd_show_discount,
#edd_checkout_form_wrap .edd-cart-adjustment {
  background: var(--color-fog);
  color: var(--color-muted);
  padding: 0.75rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.edd_download_purchase_form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.edd_price_options {
  flex: 1 1 auto;
  min-width: 0;
}
.edd_price_options select {
  width: 100%;
}
.edd_price_options ul {
  display: none;
}

.edd_purchase_submit_wrapper {
  flex-shrink: 0;
}

#edd_checkout_user_info,
#edd_purchase_submit {
  border-left: none !important;
  border-right: none !important;
  border-bottom: none !important;
}

#edd_final_total_wrap,
#edd_checkout_form_wrap #edd_final_total_wrap {
  background: none !important;
  border: none !important;
  padding: 1rem 0;
  font-size: 1rem;
  font-weight: 700;
}
#edd_final_total_wrap *,
#edd_checkout_form_wrap #edd_final_total_wrap * {
  display: inline !important;
}

.edd_cart_amount {
  font-weight: 700;
  margin-left: 0.3em;
}

#edd_purchase_submit {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#edd_purchase_submit .edd-submit,
#edd_purchase_submit [type=submit].edd-submit,
#edd_purchase_submit input[type=submit] {
  max-width: 280px;
}
#edd_purchase_submit .paypal-button-container,
#edd_purchase_submit #paypal-button-container,
#edd_purchase_submit .paypal-buttons {
  max-width: 330px !important;
  min-height: 55px !important;
  width: 100% !important;
}

/*# sourceMappingURL=style.css.map */
