:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #232b27;
  background: #fafaf7;
  font-synthesis: none;
  --ink: #232b27;
  --muted: #68756e;
  --green: #176c4f;
  --line: #dfe4dd;
  --paper: #fafaf7;
  --mint: #d5e8a8;
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  outline-offset: 4px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #176c4f;
  outline-offset: 4px;
}
::selection {
  background: var(--mint);
  color: var(--ink);
}
h1,
h2,
h3,
p {
  margin: 0;
}
p {
  color: var(--muted);
  line-height: 1.75;
}
h1,
h2,
h3 {
  font-weight: 500;
}
svg {
  flex-shrink: 0;
}
.shell {
  width: min(1140px, calc(100% - 64px));
  margin-inline: auto;
}
.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;
}
.skip-link {
  position: fixed;
  z-index: 99;
  left: 16px;
  top: -100px;
  padding: 15px;
  background: var(--ink);
  color: white;
}
.skip-link:focus {
  top: 10px;
}
.demo-strip {
  background: var(--ink);
  color: #ecf0e8;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  padding: 10px 24px;
  font: 10px/1.5 monospace;
  letter-spacing: 0.035em;
}
.demo-strip p {
  color: #c7d1c7;
  font: 11px/1.5 Arial;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: #fafaf7f5;
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}
.brand {
  display: inline-flex;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -1.1px;
  white-space: nowrap;
}
.brand-suffix {
  color: var(--green);
}
.brand-mark {
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--mint);
  width: 34px;
  height: 36px;
  border-radius: 10px;
  margin-right: 10px;
}
.navigation {
  display: flex;
  gap: 27px;
  font-size: 12px;
}
.navigation a:hover,
.footer a:hover {
  color: var(--green);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.button {
  border: 1px solid var(--green);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 15px 21px;
  background: var(--green);
  color: white;
  font-size: 13px;
  font-weight: 600;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover:not(:disabled) {
  background: #115139;
  transform: translateY(-2px);
}
.button.small {
  padding: 11px 14px;
  font-size: 11px;
  gap: 13px;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 7px;
  min-width: 42px;
  min-height: 42px;
}
.favorite-nav {
  border: 0;
  gap: 6px;
  font-size: 11px;
}
.favorite-nav.active {
  color: var(--green);
}
.menu-button {
  display: none;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--green);
  font: 10px/1.6 monospace;
  letter-spacing: 0.11em;
  margin-bottom: 23px;
}
.eyebrow > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.hero {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 60px;
  align-items: center;
  padding-block: 76px 74px;
}
h1 {
  font-size: clamp(48px, 5.7vw, 76px);
  letter-spacing: -0.065em;
  line-height: 1.02;
}
h1 em,
h2 em {
  font-family: Georgia, serif;
  color: var(--green);
  font-weight: 400;
}
h2 {
  font-size: clamp(35px, 3.6vw, 47px);
  letter-spacing: -0.055em;
  line-height: 1.13;
}
.lead {
  max-width: 41ch;
  font-size: 15px;
  line-height: 1.9;
  margin-top: 26px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  padding: 8px 0;
  font-size: 12px;
  color: var(--ink);
}
.text-link:hover {
  color: var(--green);
}
.hero-points {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
  margin-top: 30px;
  font-size: 10px;
  color: var(--muted);
}
.hero-points > span {
  display: flex;
  gap: 5px;
  align-items: center;
}
.hero-points svg {
  color: var(--green);
}
.hero-showcase {
  position: relative;
  border-radius: 18px;
  background: #e8ece5;
  border: 1px solid #d9e1d7;
  min-width: 0;
}
.showcase-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  padding: 22px 24px;
  font: 9px monospace;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.showcase-bottom {
  border-top: 1px solid #d5ded3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  background: #f0f3ec;
  border-radius: 0 0 18px 18px;
}
.showcase-bottom small {
  font: 8px monospace;
  letter-spacing: 0.1em;
  color: var(--muted);
  display: block;
  margin-bottom: 9px;
}
.showcase-bottom strong {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.showcase-bottom strong > span {
  font-size: 11px;
  color: var(--muted);
  margin-left: 9px;
}
.round-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #c3cfc0;
  border-radius: 50%;
  background: none;
  transition: background 0.2s;
}
.round-button:hover {
  background: var(--mint);
}
.floating-tag {
  position: absolute;
  left: -27px;
  top: 70%;
  z-index: 2;
  padding: 14px 17px;
  border: 1px solid var(--line);
  background: #fffef8;
  border-radius: 8px;
  box-shadow: 0 10px 30px #232b270c;
  display: flex;
  align-items: center;
  gap: 11px;
  transform: rotate(-5deg);
}
.floating-tag strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
}
.floating-tag small {
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-top: 5px;
}
.status-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 5px #e2edda;
}
.brand-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-block: 1px solid var(--line);
  padding-block: 27px;
}
.brand-strip > span {
  font: 8px monospace;
  color: var(--muted);
  max-width: 100px;
  line-height: 1.8;
  letter-spacing: 0.08em;
}
.brand-strip > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex: 1;
  max-width: 610px;
}
.brand-strip b {
  font-size: 19px;
  letter-spacing: -0.06em;
  font-weight: 600;
  color: #68726c;
}
.brand-strip b:nth-child(2),
.brand-strip b:nth-child(4) {
  font-size: 14px;
  letter-spacing: 0.03em;
}
.brand-strip small {
  font-size: 9px;
  color: var(--muted);
  max-width: 100px;
  line-height: 1.6;
}
.section {
  padding-block: 83px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 35px;
}
.section-heading .eyebrow {
  margin-bottom: 13px;
}
.section-heading > p {
  font-size: 12px;
  max-width: 36ch;
}
.catalog-toolbar {
  display: flex;
  gap: 17px;
  margin-bottom: 21px;
}
.search-field {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 14px 17px;
  flex: 1;
  background: white;
  border-radius: 7px;
  color: var(--muted);
}
.search-field input {
  border: 0;
  background: none;
  width: 100%;
  min-width: 0;
  color: var(--ink);
  font-size: 13px;
}
.search-field:focus-within {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.search-field input:focus-visible {
  outline: 0;
}
.sort-field {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  padding: 0 14px;
  border-radius: 7px;
  background: white;
}
.sort-field select {
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 12px;
  padding: 14px 3px;
}
.catalog-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.category-tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.category-tabs button {
  padding: 9px 16px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 25px;
  font-size: 11px;
}
.category-tabs button.selected {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.catalog-toggles {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 11px;
}
.catalog-toggles label {
  display: flex;
  gap: 7px;
  align-items: center;
}
.catalog-toggles input {
  accent-color: var(--green);
  width: 14px;
  height: 14px;
}
.filter-favorite {
  display: flex;
  gap: 7px;
  align-items: center;
  border: 0;
  border-radius: 5px;
  background: none;
  padding: 9px 5px;
  font-size: 11px;
}
.filter-favorite.selected {
  color: var(--green);
  font-weight: 700;
}
.result-count {
  font-size: 11px;
  padding-block: 21px 18px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.product-card {
  min-width: 0;
  border-radius: 12px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px #232b270a;
}
.product-media {
  position: relative;
  background: #eef0e9;
}
.product-card:nth-child(2n) .product-media {
  background: #edf0f2;
}
.product-card:nth-child(3n) .product-media {
  background: #f0ece5;
}
.product-image-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
}
.product-grade {
  position: absolute;
  top: 16px;
  left: 16px;
  border: 1px solid #d3dbce;
  background: #ffffffb3;
  border-radius: 4px;
  padding: 5px 7px;
  font: 9px monospace;
  pointer-events: none;
}
.favorite-button {
  position: absolute;
  top: 11px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: white;
  color: var(--muted);
}
.favorite-button.saved {
  color: var(--green);
}
.favorite-button.saved svg {
  fill: #176c4f18;
}
.sold-badge {
  position: absolute;
  left: 16px;
  bottom: 15px;
  font-size: 10px;
  background: var(--ink);
  color: white;
  padding: 5px 8px;
  border-radius: 4px;
}
.product-info {
  padding: 20px 21px;
}
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 13px;
}
.stock {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.stock i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #969d98;
}
.stock.available {
  color: var(--green);
}
.stock.available i {
  background: var(--green);
}
.product-info h3 {
  font-size: 20px;
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin-bottom: 8px;
}
.product-info h3 button {
  font: inherit;
  border: 0;
  padding: 0;
  text-align: left;
  background: none;
}
.product-info > p {
  font-size: 11px;
}
.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.product-price-row strong {
  font-size: 17px;
  letter-spacing: -0.04em;
  font-weight: 500;
}
.product-detail-button {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: none;
}
.product-detail-button:hover {
  background: var(--mint);
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.pagination button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: none;
  border-radius: 6px;
  font-size: 12px;
}
.pagination button[aria-current="page"] {
  background: var(--ink);
  color: white;
}
.catalog-note {
  font-size: 10px;
  margin-top: 25px;
  max-width: 90ch;
}
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 60px 20px;
}
.empty-state > p {
  font-size: 13px;
}
.empty-state h3 {
  font-size: 22px;
}
.condition-section {
  background: #eaf0e3;
  border-block: 1px solid #d7e0cf;
  padding-block: 70px;
}
.condition-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 85px;
  align-items: center;
}
.condition-layout h2 {
  margin-bottom: 23px;
}
.condition-layout > div > p:not(.eyebrow) {
  font-size: 13px;
  max-width: 41ch;
}
.condition-layout .text-link {
  margin-top: 22px;
}
.condition-cards > article {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fafcf6;
  border: 1px solid #d6dfce;
  border-radius: 10px;
  padding: 22px;
  margin-bottom: 13px;
}
.condition-cards > article > span {
  display: grid;
  place-items: center;
  width: 45px;
  height: 50px;
  flex-shrink: 0;
  background: #e3edd7;
  border-radius: 7px;
  color: var(--green);
  font: 25px Georgia;
}
.condition-cards > article > div {
  flex: 1;
}
.condition-cards h3 {
  font-size: 18px;
  letter-spacing: -0.035em;
  margin-bottom: 5px;
}
.condition-cards p {
  font-size: 12px;
  line-height: 1.7;
}
.condition-cards svg {
  color: var(--green);
}
.condition-note {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.condition-note p {
  font-size: 11px;
}
.order-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.order-steps > article {
  border-top: 1px solid var(--line);
  padding-top: 21px;
}
.order-steps > article > span {
  font: 11px monospace;
  color: var(--green);
  display: flex;
  justify-content: space-between;
  margin-bottom: 26px;
}
.order-steps h3 {
  font-size: 21px;
  letter-spacing: -0.035em;
  margin-bottom: 13px;
}
.order-steps p {
  font-size: 13px;
  max-width: 32ch;
}
.closing-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  background: var(--ink);
  color: var(--paper);
  padding: 47px 50px;
  border-radius: 15px;
  margin-bottom: 65px;
}
.closing-section h2 {
  font-size: 33px;
}
.closing-section h2 em {
  color: var(--mint);
}
.closing-section .eyebrow {
  color: #b9cba8;
  margin-bottom: 16px;
}
.closing-section .button {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--ink);
  flex-shrink: 0;
}
.closing-section .button:hover {
  background: #b8d881;
}
.footer {
  padding-block: 30px 40px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
.footer .brand {
  font-size: 21px;
}
.footer .brand-mark {
  width: 29px;
  height: 31px;
}
.footer p {
  font-size: 11px;
  margin-top: 16px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 12px;
}
.footer-note > span {
  font: 9px monospace;
  color: var(--green);
  letter-spacing: 0.05em;
}
/* Code-native product illustrations. Deliberately not photographs of actual units. */
.gadget-art {
  height: 270px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  --device: #343b43;
}
.art-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 205px;
  height: 205px;
  border: 1px solid #bdc8bc80;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}
.art-orbit:after {
  content: "";
  position: absolute;
  inset: 15px;
  border: 1px solid #bdc8bc40;
  border-radius: 50%;
}
.art-label {
  position: absolute;
  bottom: 13px;
  right: 15px;
  color: #737e73;
  font: 7px monospace;
  letter-spacing: 0.12em;
}
.phone-back,
.phone-front {
  position: absolute;
  width: 98px;
  height: 192px;
  border: 3px solid #3b4644;
  border-radius: 19px;
  top: 34px;
  box-shadow: 8px 15px 22px #24342d20;
  transition: transform 0.45s;
}
.phone-back {
  background: var(--device);
  left: calc(50% - 85px);
  transform: rotate(-14deg);
}
.phone-back > span {
  position: absolute;
  top: 50%;
  left: 40%;
  color: #ffffff66;
  font-size: 24px;
}
.camera-cluster {
  position: absolute;
  left: 8px;
  top: 9px;
  background: #ffffff19;
  border: 1px solid #ffffff22;
  width: 37px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 5px;
}
.camera-cluster i {
  display: block;
  background: #131918;
  border: 2px solid #65716f;
  border-radius: 50%;
  width: 11px;
  height: 11px;
}
.phone-front {
  background: #172b29;
  left: calc(50% - 15px);
  transform: rotate(12deg);
  overflow: hidden;
  border-color: #27322f;
}
.phone-notch {
  position: absolute;
  top: 0;
  left: 27%;
  width: 46%;
  height: 11px;
  border-radius: 0 0 9px 9px;
  background: #27322f;
  z-index: 2;
}
.phone-wallpaper {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 100% 100%, #d2e7a1, transparent 60%),
    radial-gradient(ellipse at 30% 70%, #4d9480, transparent 70%), #1d4942;
}
.phone-wallpaper:after {
  content: "";
  position: absolute;
  border: 1px solid #ebffcb50;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  left: -20px;
  top: 88px;
}
.phone-clock {
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  text-align: center;
  color: #eef6e8;
  font-size: 23px;
  font-weight: 300;
  letter-spacing: -1px;
}
.phone-clock small {
  font: 5px monospace;
  display: block;
  margin-top: 5px;
  letter-spacing: 0;
}
.product-image-button:hover .phone-front {
  transform: rotate(5deg) translateY(-4px);
}
.product-image-button:hover .phone-back {
  transform: rotate(-18deg);
}
.gadget-art.large {
  height: 338px;
}
.large .phone-back,
.large .phone-front {
  width: 133px;
  height: 258px;
  top: 25px;
  border-radius: 26px;
}
.large .phone-back {
  left: calc(50% - 116px);
}
.large .phone-front {
  left: calc(50% - 18px);
}
.large .camera-cluster {
  width: 47px;
  height: 50px;
  padding: 7px;
}
.large .camera-cluster i {
  width: 13px;
  height: 13px;
}
.large .phone-clock {
  font-size: 32px;
  top: 38px;
}
.large .phone-clock small {
  font-size: 6px;
}
.large .art-orbit {
  width: 290px;
  height: 290px;
}
.headphones {
  position: absolute;
  width: 160px;
  height: 172px;
  left: calc(50% - 80px);
  top: 46px;
  transform: rotate(-13deg);
}
.headband {
  position: absolute;
  inset: 0 10px 25px;
  border: 19px solid var(--device);
  border-bottom: 0;
  border-radius: 80px 80px 0 0;
  box-shadow: inset 0 5px 0 #ffffff50;
}
.headphones > i {
  position: absolute;
  top: 82px;
  width: 42px;
  height: 83px;
  border-radius: 20px;
  background: var(--device);
  border: 8px solid #65635c;
  box-shadow: 4px 8px 15px #232b2720;
}
.headphones > i:nth-of-type(1) {
  left: 0;
}
.headphones > i:nth-of-type(2) {
  right: 0;
}
.powerbank {
  position: absolute;
  left: calc(50% - 53px);
  top: 39px;
  width: 106px;
  height: 184px;
  background: var(--device);
  border: 2px solid #71807a;
  border-radius: 16px;
  box-shadow: 8px 15px 22px #24342d20;
  transform: rotate(-16deg);
  padding: 30px 13px;
  color: #eff4e6;
}
.powerbank > span {
  display: block;
  font-size: 30px;
  letter-spacing: -2px;
  margin-top: 15px;
}
.powerbank small {
  font: 5px monospace;
  display: block;
  letter-spacing: 1px;
  margin: 3px 0 25px;
}
.powerbank > i {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--mint);
  border-radius: 50%;
  margin-right: 5px;
}
.powerbank-ports {
  position: absolute;
  top: 9px;
  left: 36px;
  background: #172b26;
  width: 33px;
  height: 6px;
  border-radius: 2px;
}
.charger {
  position: absolute;
  left: calc(50% - 58px);
  top: 89px;
  background: var(--device);
  width: 116px;
  height: 106px;
  border-radius: 18px;
  box-shadow: 5px 13px 20px #232b2720;
  transform: rotate(-13deg);
  border: 2px solid #d1cbbb;
}
.charger > i {
  position: absolute;
  top: -38px;
  width: 12px;
  height: 40px;
  background: linear-gradient(90deg, #8c9392, #d2d6d5, #939c98);
  border-radius: 3px;
}
.charger > i:first-child {
  left: 28px;
}
.charger > i:nth-child(2) {
  right: 28px;
}
.charger > div {
  position: absolute;
  left: 45px;
  top: 15px;
  width: 24px;
  height: 8px;
  border: 3px solid #46514d;
  border-radius: 5px;
}
.charger > span {
  position: absolute;
  bottom: 25px;
  left: 42px;
  font: 13px monospace;
  color: #8f9389;
}
.earbud-case {
  position: absolute;
  left: calc(50% - 79px);
  top: 108px;
  width: 158px;
  height: 98px;
  background: var(--device);
  border: 2px solid #6b746e;
  border-radius: 22px 22px 40px 40px;
  box-shadow: 8px 15px 22px #24342d20;
  transform: rotate(-12deg);
}
.earbud-lid {
  position: absolute;
  top: -61px;
  left: 0;
  width: 154px;
  height: 72px;
  background: #5d6761;
  border: 8px solid var(--device);
  border-radius: 55px 55px 14px 14px;
}
.earbud-case > i {
  position: absolute;
  top: 7px;
  width: 32px;
  height: 39px;
  border-radius: 20px;
  background: #2a3330;
  border: 5px solid #79837a;
}
.earbud-case > i:nth-of-type(1) {
  left: 32px;
}
.earbud-case > i:nth-of-type(2) {
  right: 32px;
}
.earbud-case > span {
  position: absolute;
  bottom: 17px;
  left: 76px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mint);
}
/* Native dialog keeps focus trapped and supports Escape without another UI library. */
.product-dialog {
  width: min(900px, calc(100% - 36px));
  max-height: calc(100dvh - 40px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
}
.product-dialog::backdrop {
  background: #18251dcc;
  backdrop-filter: blur(5px);
}
.dialog-close {
  position: absolute;
  right: 13px;
  top: 13px;
  z-index: 3;
  background: #fffdf9;
}
.dialog-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}
.dialog-visual {
  background: #e9eee3;
  padding: 65px 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.dialog-visual > p {
  text-align: center;
  font: 9px monospace;
  margin-top: 20px;
}
.dialog-content {
  padding: 50px 35px 32px;
  min-width: 0;
}
.dialog-content .eyebrow {
  margin-bottom: 13px;
}
.dialog-content h2 {
  font-size: 35px;
  margin-bottom: 8px;
}
.dialog-content > p {
  font-size: 13px;
}
.dialog-price {
  display: block;
  font-weight: 500;
  font-size: 25px;
  letter-spacing: -1px;
  margin-top: 19px;
}
.detail-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-block: 17px;
}
.detail-badges > span {
  font-size: 10px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.spec-list {
  list-style: none;
  padding: 17px 0;
  margin: 0;
  border-block: 1px solid var(--line);
  display: grid;
  gap: 10px;
  font-size: 12px;
}
.spec-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.spec-list svg {
  color: var(--green);
}
.detail-block {
  margin-top: 20px;
}
.detail-block h3,
.order-preview h3 {
  font-size: 15px;
  margin-bottom: 8px;
}
.detail-block p,
.order-preview p {
  font-size: 12px;
}
.demo-notice {
  font-size: 10px !important;
  background: #ecf0e6;
  border-radius: 6px;
  padding: 11px;
  margin-block: 20px !important;
}
.dialog-content > .button,
.order-preview > .button {
  width: 100%;
  gap: 12px;
}
.order-preview {
  padding-top: 5px;
}
.order-preview textarea {
  width: 100%;
  min-height: 205px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  padding: 14px;
  line-height: 1.7;
  font-size: 12px;
  margin-block: 15px;
  color: var(--ink);
}
.copy-status {
  margin-block: 12px;
  min-height: 20px;
}
.reveal {
  opacity: 1;
}
.motion-ready .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 1000px) {
  .navigation {
    gap: 15px;
  }
  .hero {
    gap: 35px;
  }
  .hero-points {
    gap: 10px;
  }
  .brand-strip > div {
    gap: 20px;
  }
  .product-grid {
    gap: 18px;
  }
  .product-meta {
    font-size: 8px;
  }
  .condition-layout {
    gap: 45px;
  }
  .header-cta {
    display: none;
  }
  .closing-section {
    padding: 38px;
  }
  .floating-tag {
    left: -15px;
  }
  .dialog-content {
    padding-inline: 25px;
  }
}
@media (max-width: 760px) {
  .shell {
    width: calc(100% - 36px);
  }
  .demo-strip {
    gap: 8px;
    flex-direction: column;
    padding: 9px 16px;
    text-align: center;
  }
  .demo-strip > span {
    font-size: 8px;
  }
  .demo-strip p {
    font-size: 9px;
  }
  .header-inner {
    min-height: 70px;
  }
  .brand {
    font-size: 22px;
  }
  .menu-button {
    display: flex;
  }
  .navigation {
    display: none;
    position: absolute;
    top: 70px;
    left: 18px;
    right: 18px;
    padding: 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 10px 20px #232b270c;
  }
  .navigation.open {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .navigation a {
    padding: 12px;
    font-size: 14px;
  }
  .header-actions {
    gap: 5px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 44px;
  }
  .hero h1 {
    font-size: clamp(49px, 10.8vw, 70px);
  }
  .hero .lead {
    font-size: 14px;
    max-width: 48ch;
  }
  .hero-showcase {
    max-width: 510px;
    width: 100%;
    margin: auto;
  }
  .floating-tag {
    left: 12px;
    top: 68%;
    transform: rotate(-4deg);
  }
  .hero .eyebrow {
    font-size: 9px;
  }
  .hero-points {
    font-size: 9px;
    gap: 13px;
  }
  .hero-actions {
    gap: 17px;
  }
  .hero-actions .button {
    font-size: 12px;
  }
  .brand-strip {
    flex-wrap: wrap;
    gap: 15px;
    padding-block: 22px;
  }
  .brand-strip > span {
    max-width: none;
    width: 100%;
    font-size: 8px;
  }
  .brand-strip > div {
    gap: 18px;
    flex-basis: 100%;
  }
  .brand-strip small {
    max-width: none;
  }
  .brand-strip b {
    font-size: 18px;
  }
  .section {
    padding-block: 52px;
  }
  .section-heading {
    display: block;
    margin-bottom: 27px;
  }
  .section-heading > p {
    margin-top: 17px;
    font-size: 12px;
  }
  .catalog-toolbar {
    gap: 10px;
  }
  .sort-field {
    padding-inline: 9px;
    gap: 5px;
  }
  .sort-field svg {
    display: none;
  }
  .sort-field select {
    font-size: 11px;
    max-width: 130px;
  }
  .search-field {
    padding: 12px 10px;
    gap: 7px;
  }
  .search-field input {
    font-size: 12px;
  }
  .search-field input::placeholder {
    font-size: 11px;
  }
  .catalog-toggles {
    gap: 15px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .product-info {
    padding: 17px 13px;
  }
  .product-info h3 {
    font-size: 17px;
  }
  .product-meta {
    flex-wrap: wrap;
    gap: 7px;
  }
  .product-price-row strong {
    font-size: 15px;
  }
  .product-detail-button {
    width: 30px;
    height: 30px;
  }
  .gadget-art {
    height: 235px;
  }
  .phone-back,
  .phone-front {
    width: 81px;
    height: 159px;
    top: 36px;
    border-radius: 16px;
  }
  .phone-back {
    left: calc(50% - 68px);
  }
  .phone-front {
    left: calc(50% - 9px);
  }
  .camera-cluster {
    left: 5px;
    top: 7px;
  }
  .phone-clock {
    font-size: 20px;
  }
  .art-orbit {
    width: 180px;
    height: 180px;
  }
  .product-grade {
    top: 12px;
    left: 10px;
    font-size: 8px;
  }
  .favorite-button {
    right: 7px;
    top: 8px;
    width: 32px;
    height: 32px;
  }
  .art-label {
    font-size: 6px;
    right: 9px;
  }
  .condition-section {
    padding-block: 50px;
  }
  .condition-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .condition-layout > div > p:not(.eyebrow) {
    max-width: none;
  }
  .condition-cards > article {
    padding: 18px;
    gap: 15px;
  }
  .order-steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .order-steps > article > span {
    margin-bottom: 15px;
  }
  .order-steps p {
    max-width: none;
  }
  .closing-section {
    flex-direction: column;
    align-items: start;
    gap: 24px;
    padding: 30px;
    margin-bottom: 40px;
  }
  .closing-section h2 {
    font-size: 30px;
  }
  .footer {
    gap: 30px;
    flex-wrap: wrap;
  }
  .footer-note {
    flex-basis: 100%;
  }
  .dialog-layout {
    grid-template-columns: 1fr;
  }
  .dialog-visual {
    padding: 22px 4px 16px;
  }
  .dialog-visual .gadget-art.large {
    height: 230px;
  }
  .dialog-visual .large .phone-back,
  .dialog-visual .large .phone-front {
    width: 95px;
    height: 181px;
    top: 15px;
    border-radius: 20px;
  }
  .dialog-visual .large .phone-back {
    left: calc(50% - 86px);
  }
  .dialog-visual .large .phone-front {
    left: calc(50% - 10px);
  }
  .dialog-visual .large .art-orbit {
    width: 210px;
    height: 210px;
  }
  .dialog-content {
    padding: 26px 23px;
  }
  .dialog-content h2 {
    font-size: 30px;
  }
  .product-dialog {
    max-height: calc(100dvh - 24px);
  }
  .dialog-visual > p {
    margin-top: 0;
  }
  .dialog-close {
    min-width: 36px;
    min-height: 36px;
  }
  .large .phone-clock {
    font-size: 25px;
  }
  .large .camera-cluster {
    width: 37px;
    height: 40px;
    padding: 5px;
  }
  .large .camera-cluster i {
    width: 11px;
    height: 11px;
  }
}
@media (max-width: 430px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .gadget-art {
    height: 270px;
  }
  .phone-back,
  .phone-front {
    width: 100px;
    height: 193px;
    top: 35px;
  }
  .phone-back {
    left: calc(50% - 87px);
  }
  .phone-front {
    left: calc(50% - 10px);
  }
  .product-info h3 {
    font-size: 20px;
  }
  .product-meta {
    font-size: 10px;
  }
  .product-price-row strong {
    font-size: 19px;
  }
  .catalog-toolbar {
    flex-wrap: wrap;
  }
  .search-field {
    flex-basis: 100%;
  }
  .sort-field {
    margin-left: auto;
  }
  .sort-field select {
    max-width: none;
  }
  .category-tabs button {
    padding: 8px 12px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero .gadget-art.large {
    height: 305px;
  }
  .hero .large .phone-back,
  .hero .large .phone-front {
    width: 116px;
    height: 228px;
  }
  .hero .large .phone-back {
    left: calc(50% - 101px);
  }
  .brand-strip b {
    font-size: 15px;
  }
  .brand-strip b:nth-child(2),
  .brand-strip b:nth-child(4) {
    font-size: 12px;
  }
  .brand-strip > div {
    gap: 10px;
  }
  .header-actions {
    gap: 0;
  }
  .brand-mark {
    margin-right: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
