.stradale-size-page {
  color: #1c1c1c;
  font-family: Jost, sans-serif;
}

.stradale-size-page,
.stradale-size-page * {
  box-sizing: border-box;
}

.stradale-size-hero {
  max-width: 760px;
  margin: 0 auto 48px;
  padding: 48px 24px;
  text-align: center;
}

.stradale-size-kicker {
  margin: 0 0 12px;
  color: #b99a5b;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.stradale-size-hero h1,
.stradale-size-section h2,
.stradale-size-tool h2,
.stradale-size-example h3 {
  color: #1c1c1c;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  line-height: 1.08;
}

.stradale-size-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(42px, 7vw, 68px);
}

.stradale-size-hero > p:not(.stradale-size-kicker) {
  max-width: 650px;
  margin: 0 auto 24px;
  color: #555;
  font-size: 17px;
  line-height: 1.65;
}

.stradale-size-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid #1c1c1c;
  border-radius: 0;
  background: #1c1c1c;
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none !important;
  text-transform: uppercase;
}

.stradale-size-button:hover,
.stradale-size-button:focus {
  border-color: #b99a5b;
  background: #b99a5b;
  color: #1c1c1c !important;
}

body button.stradale-size-button {
  border-color: #1c1c1c !important;
  background: #1c1c1c !important;
  color: #fff !important;
}

body button.stradale-size-button:hover,
body button.stradale-size-button:focus {
  border-color: #b99a5b !important;
  background: #b99a5b !important;
  color: #1c1c1c !important;
}

.stradale-size-button:focus,
.stradale-size-page select:focus,
.stradale-size-page input:focus,
.stradale-size-jump a:focus {
  outline: 2px solid #1c1c1c;
  outline-offset: 3px;
}

.stradale-size-notice {
  max-width: 960px;
  margin: 0 auto 32px;
  padding: 18px 24px;
  border-top: 1px solid #b99a5b;
  border-bottom: 1px solid #b99a5b;
  background: #faf8f4;
  color: #555;
  line-height: 1.65;
}

.stradale-size-notice strong {
  color: #1c1c1c;
}

.stradale-size-jump {
  display: flex;
  max-width: 960px;
  margin: 0 auto 24px;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 0 24px 24px;
  border-bottom: 1px solid rgba(185, 154, 91, 0.3);
}

.stradale-size-jump a,
.stradale-size-source a {
  color: #1c1c1c;
  text-decoration-color: #b99a5b;
  text-underline-offset: 4px;
}

.stradale-size-section,
.stradale-size-tool {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px;
  border-bottom: 1px solid rgba(185, 154, 91, 0.3);
}

.stradale-size-section h2,
.stradale-size-tool h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 44px);
}

.stradale-size-section > p,
.stradale-size-tool > p,
.stradale-size-example > p {
  max-width: 720px;
  color: #555;
  font-size: 16px;
  line-height: 1.7;
}

.stradale-size-example {
  margin: 32px 0 0;
  padding-top: 28px;
  border-top: 1px solid rgba(185, 154, 91, 0.3);
}

.stradale-size-example h3 {
  margin: 0 0 12px;
  font-size: 30px;
}

.stradale-size-table-wrap {
  margin: 24px 0 8px;
  overflow-x: auto;
  border: 1px solid rgba(185, 154, 91, 0.3);
  background: #fff;
}

.stradale-size-scroll-hint {
  display: none;
}

.stradale-size-table {
  width: 100%;
  min-width: 680px;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  color: #1c1c1c;
  font-size: 14px;
}

.stradale-size-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.stradale-size-table th,
.stradale-size-table td {
  padding: 14px 12px;
  border: 0;
  border-right: 1px solid rgba(185, 154, 91, 0.16);
  border-bottom: 1px solid rgba(185, 154, 91, 0.16);
  text-align: center;
  white-space: nowrap;
}

.stradale-size-table thead th {
  background: #1c1c1c;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.stradale-size-table tbody th {
  background: #faf8f4;
  font-weight: 600;
}

.stradale-size-table tr:last-child th,
.stradale-size-table tr:last-child td {
  border-bottom: 0;
}

.stradale-size-table th:last-child,
.stradale-size-table td:last-child {
  border-right: 0;
}

.stradale-size-source {
  margin-top: 12px;
  font-size: 13px !important;
}

.stradale-size-steps {
  display: grid;
  margin: 24px 0 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  list-style: none;
  counter-reset: stradale-size-step;
}

.stradale-size-steps li {
  padding: 16px 0;
  border-top: 1px solid rgba(185, 154, 91, 0.3);
  color: #555;
  counter-increment: stradale-size-step;
}

.stradale-size-steps li::before {
  margin-right: 10px;
  color: #b99a5b;
  content: counter(stradale-size-step, decimal-leading-zero);
  font-weight: 600;
}

.stradale-size-final {
  margin-bottom: 48px;
  border-bottom: 0;
  text-align: center;
}

.stradale-size-final > p {
  margin-right: auto;
  margin-left: auto;
}

.stradale-size-calculator {
  max-width: 1100px;
  margin: 0 auto;
}

.stradale-size-tool {
  max-width: 900px;
  background: #fff;
}

.stradale-size-tool form {
  margin-top: 24px;
}

.stradale-size-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stradale-size-field {
  margin-bottom: 20px;
}

.stradale-size-field label {
  display: block;
  margin-bottom: 8px;
  color: #1c1c1c;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.stradale-size-field select,
.stradale-size-field input {
  width: 100%;
  max-width: none;
  height: 48px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid #555;
  border-radius: 0;
  background: #fff;
  color: #1c1c1c;
  font: inherit;
}

body .stradale-size-field input[type="number"] {
  width: 100% !important;
  max-width: none !important;
}

.stradale-size-result {
  min-height: 76px;
  margin-top: 24px;
  padding: 20px;
  border-left: 3px solid #b99a5b;
  background: #faf8f4;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

.stradale-size-result strong {
  color: #1c1c1c;
}

@media (max-width: 767px) {
  .stradale-size-hero {
    margin-bottom: 24px;
    padding: 32px 16px;
  }

  .stradale-size-hero h1 {
    font-size: 42px;
  }

  .stradale-size-notice {
    margin-right: 16px;
    margin-left: 16px;
  }

  .stradale-size-jump,
  .stradale-size-section,
  .stradale-size-tool {
    padding-right: 16px;
    padding-left: 16px;
  }

  .stradale-size-steps,
  .stradale-size-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .stradale-size-button {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .stradale-size-table {
    min-width: 620px;
  }

  .stradale-size-scroll-hint {
    display: block;
    margin: 20px 0 -12px;
    color: #555;
    font-size: 13px;
  }
}
