@font-face {
  font-family: "Typeright";
  src: url("https://www.xcab.xyz/fonts/TypeRight.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --bg: #000000;
  --text: #f5f5f5;
  --green: #18ff00;
  --green-hover: #31ff1b;
  --shadow: rgba(0, 0, 0, 0.25);
  --title-font: "Typeright", "American Typewriter", "Courier New", monospace;
  --button-font: "Typeright", "American Typewriter", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
}

body {
  min-height: 100vh;
  font-family: var(--title-font);
}

.page {
  min-height: 100vh;
  width: 100%;
  padding: 4.2vw 4.6vw;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  background: #000;
}

.site-title {
  margin: 0;
  font-family: var(--title-font);
  font-weight: 400;
  font-size: clamp(2.4rem, 4.2vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
  color: #f3f3f3;
  white-space: nowrap;
  padding-top: 0.1em;
}

.button-row {
  display: flex;
  align-items: flex-start;
  gap: clamp(0.75rem, 2vw, 2rem);
  padding-top: 0.3vw;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--green);
  color: #111;
  text-decoration: none;
  font-family: var(--button-font);
  font-size: clamp(1.85rem, 3.2vw, 3.5rem);
  line-height: 1;
  padding: 0.22em 0.35em 0.18em;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.15), 0 1px 0 var(--shadow);
  transition: transform 120ms ease, background-color 120ms ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.nav-button:hover,
.nav-button:focus-visible {
  background: var(--green-hover);
  transform: translateY(-1px);
  outline: none;
}

.nav-button:active {
  transform: translateY(0);
}

@media (max-width: 700px) {
  .page {
    min-height: 100vh;
    padding: 1.5rem 1rem;

    /* KEEP horizontal layout */
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
  }

  .site-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    line-height: 1;
    margin: 0;
    white-space: nowrap;
  }

  .button-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-wrap: nowrap;
  }

  .nav-button {
    font-size: clamp(1rem, 4.5vw, 1.5rem);
    padding: 0.25em 0.4em 0.2em;
    line-height: 1;
    white-space: nowrap;
  }
}

.page {
  flex-wrap: wrap;
}

.product-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  margin-top: 4.5rem;
  margin-left: 0.5rem;
}

.product-image {
  display: block;
  width: 320px;
  max-width: 80vw;
  height: auto;
}

.product-card {
  background: #dcdcdc;
  color: #111;
  border: 2px dashed #8a8a8a;
  padding: 1.4rem 1.6rem 1.2rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  max-width: 460px;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.product-title {
  margin: 0;
  font-family: var(--button-font);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: normal;
  line-height: 0.95;
  color: #111;
}

.product-price {
  margin: 0;
  font-family: var(--button-font);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1;
  color: #111;
}

.product-buy {
  display: flex;
  align-items: flex-end;
}

.payhip-buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #7dc95e;
  color: #ffffff;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.95em 1.35em;
  border-radius: 2px;
  white-space: nowrap;
}

.payhip-buy-button:hover,
.payhip-buy-button:focus-visible {
  filter: brightness(1.03);
  outline: none;
}

.product-details {
  background: #e6e6e6;
  color: #111;
  padding: 1.6rem;
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.product-details p {
  margin: 0;
  font-family: var(--button-font);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
}

.left-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
