@font-face {
  font-family: Editorial;
  src: url("../assets/editorial-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("../assets/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Editorial;
  src: url("../assets/editorial.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  font-family: Manrope, Arial, sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}
button {
  color: inherit;
}
svg {
  width: 22px;
  height: 22px;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
:focus-visible {
  outline: 3px solid var(--accent, #789bff);
  outline-offset: 5px;
}
::selection {
  background: var(--accent, #a9baff);
  color: #171719;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
button {
  border: 0;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
.wrap {
  width: min(1400px, 90%);
  margin: auto;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 700;
}
.section {
  padding: 100px 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  margin-bottom: 35px;
}
.section-heading h2 {
  font-size: clamp(32px, 4.3vw, 65px);
  line-height: 1.05;
  margin: 10px 0 0;
  font-weight: 500;
  letter-spacing: -0.05em;
}
.section-heading p {
  max-width: 330px;
  line-height: 1.8;
  font-size: 13px;
  margin: 0;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.nav-links {
  display: flex;
  gap: 30px;
  font-size: 12px;
}
.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.icon-btn {
  background: transparent;
  padding: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.count {
  font-size: 10px;
}
.menu-btn {
  display: none;
  background: transparent;
  font-size: 21px;
  padding: 8px;
}
.btn {
  display: inline-flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  padding: 17px 25px;
  font-size: 12px;
  font-weight: 700;
  transition:
    transform 0.25s,
    background 0.25s;
  border: 1px solid transparent;
}
.btn:hover {
  transform: translateY(-3px);
}
.btn span {
  font-size: 20px;
  line-height: 1;
}
.demo-link {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.demo-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 12px 5%;
  font-size: 10px;
  border-bottom: 1px solid currentColor;
}
.demo-bar span {
  opacity: 0.65;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 28px;
}
.filter {
  background: transparent;
  border: 1px solid var(--line, #ccc);
  border-radius: 30px;
  padding: 10px 19px;
  font-size: 11px;
}
.filter.active {
  background: var(--ink, #171719);
  color: var(--paper, #fff);
  border-color: var(--ink, #171719);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 23px;
}
.product-card {
  min-width: 0;
}
.product-visual {
  position: relative;
  overflow: hidden;
}
.product-visual > a,
.product-open {
  display: block;
  width: 100%;
  padding: 0;
  background: transparent;
  text-align: left;
}
.product-visual img {
  width: 100%;
  height: 340px;
  transition: transform 0.8s cubic-bezier(0.2, 0.65, 0.3, 1);
}
.product-card:hover .product-visual img {
  transform: scale(1.06);
}
.product-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 9px;
  padding: 6px 9px;
  background: var(--paper, #fff);
  color: var(--ink, #171719);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  pointer-events: none;
}
.favorite {
  position: absolute;
  right: 10px;
  top: 10px;
  background: var(--paper, #fff);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
}
.favorite svg {
  width: 16px;
}
.favorite[aria-pressed="true"] svg {
  fill: currentColor;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
  padding: 17px 0;
}
.product-meta h3 {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 6px;
}
.product-meta p {
  font-size: 10px;
  opacity: 0.6;
  margin: 0;
}
.product-meta strong {
  font-size: 12px;
  white-space: nowrap;
}
.empty {
  grid-column: 1/-1;
  padding: 50px;
  text-align: center;
  border: 1px dashed var(--line, #ccc);
  font-size: 14px;
}
.dialog {
  background: var(--paper, #fff);
  color: var(--ink, #111);
  border: 1px solid var(--line, #ddd);
  width: min(880px, 94vw);
  padding: 0;
  max-height: 90dvh;
  overflow: auto;
}
.dialog::backdrop {
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(7px);
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid var(--line, #ddd);
}
.dialog-top h2 {
  font-size: 17px;
  margin: 0;
}
.close {
  background: transparent;
  font-size: 26px;
  padding: 0 7px;
}
.detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.detail-content > img {
  width: 100%;
  height: 100%;
  max-height: 570px;
  min-height: 350px;
}
.detail-copy {
  padding: 36px;
}
.detail-copy h3 {
  font-family: var(--display, inherit);
  font-size: 35px;
  font-weight: 500;
  line-height: 1.1;
  margin: 12px 0;
}
.detail-copy p {
  font-size: 12px;
  line-height: 1.9;
  opacity: 0.75;
}
.detail-price {
  font-size: 20px;
  margin: 20px 0;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 11px;
}
.field select,
.field input {
  background: transparent;
  color: inherit;
  border: 1px solid var(--line, #ccc);
  border-radius: 0;
  padding: 13px;
  width: 100%;
  min-width: 0;
}
.field option {
  background: var(--paper, #fff);
  color: var(--ink, #171719);
}
.error {
  color: var(--error, #a52234);
  min-height: 1.5em;
  font-size: 12px;
}
.cart-dialog {
  margin: 0 0 0 auto;
  height: 100dvh;
  max-height: 100dvh;
  width: min(470px, 100%);
}
.cart-body {
  padding: 25px;
}
.cart-line {
  padding: 20px 0;
  border-bottom: 1px solid var(--line, #ddd);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.cart-line h3 {
  font-size: 13px;
  margin-bottom: 6px;
}
.cart-line p {
  font-size: 10px;
  opacity: 0.7;
}
.qty {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
}
.qty button {
  padding: 5px 10px;
  background: transparent;
  border: 1px solid var(--line, #ccc);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  margin: 25px 0;
  font-size: 18px;
}
.cart-note {
  font-size: 10px;
  line-height: 1.8;
  opacity: 0.65;
}
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 30px);
  background: var(--ink, #111);
  color: var(--paper, #fff);
  padding: 14px 23px;
  font-size: 12px;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s,
    transform 0.3s;
  max-width: 90vw;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.site-footer {
  padding: 45px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  line-height: 1.8;
}
.will-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.2, 0.65, 0.3, 1);
}
.will-reveal.is-visible {
  opacity: 1;
  transform: none;
}
.modal-open {
  overflow: hidden;
}
.split-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.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;
}
@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-visual img {
    height: 310px;
  }
  .nav-links {
    gap: 16px;
  }
  .section {
    padding: 70px 0;
  }
  .section-heading h2 {
    font-size: 42px;
  }
}
@media (max-width: 600px) {
  .wrap {
    width: 90%;
  }
  .section {
    padding: 58px 0;
  }
  .section-heading {
    display: block;
  }
  .section-heading p {
    margin-top: 18px;
  }
  .section-heading h2 {
    font-size: 36px;
  }
  .menu-btn {
    display: block;
  }
  .nav {
    position: relative;
    gap: 10px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    padding: 25px;
    background: var(--paper, #fff);
    color: var(--ink, #111);
    border: 1px solid var(--line, #ccc);
    z-index: 12;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
  }
  .product-grid {
    gap: 14px;
  }
  .product-visual img {
    height: 235px;
  }
  .product-meta {
    display: block;
  }
  .product-meta strong {
    display: block;
    margin-top: 8px;
  }
  .product-meta h3 {
    font-size: 12px;
  }
  .favorite {
    width: 30px;
    height: 30px;
    right: 6px;
    top: 6px;
  }
  .product-tag {
    left: 8px;
    top: 8px;
    font-size: 8px;
    max-width: 65%;
  }
  .detail-content {
    grid-template-columns: 1fr;
  }
  .detail-content > img {
    height: 250px;
    min-height: 0;
  }
  .detail-copy {
    padding: 25px;
  }
  .footer-inner {
    flex-direction: column;
  }
  .demo-bar {
    font-size: 8px;
    padding: 9px 5%;
  }
  .demo-bar span {
    max-width: 60%;
    text-align: right;
  }
  .split-form {
    grid-template-columns: 1fr;
  }
  .btn {
    padding: 15px 20px;
  }
  .dialog-top {
    padding: 16px 20px;
  }
  .icon-btn {
    padding: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .will-reveal {
    opacity: 1;
    transform: none;
  }
}

[hidden] {
  display: none !important;
}
@view-transition {
  navigation: auto;
}
