@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #1a202c;
  background-color: #f7fafc;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #2b6cb0;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

ul,
ol {
  list-style-position: inside;
}

table {
  border-collapse: collapse;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
  color: #1a365d;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.125rem;
  }
}
@media (max-width: 576px) {
  h1 {
    font-size: 1.2rem;
  }
  h2 {
    font-size: 1.125rem;
  }
  h3 {
    font-size: 1rem;
  }
}
p {
  margin-bottom: 1rem;
}

.text-muted {
  color: #718096;
  font-size: 0.875rem;
}

.text-center {
  text-align: center;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

small {
  font-size: 0.875rem;
  color: #718096;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
}

.container--narrow {
  max-width: 720px;
}

.container--wide {
  max-width: 960px;
}

section {
  padding: 4rem 0;
}
@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
}
@media (max-width: 576px) {
  section {
    padding: 2rem 0;
  }
}

.messages {
  padding-top: 1rem;
}

.alert {
  padding: 1rem 1.5rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}
.alert--error, .alert--danger {
  background: #fff5f5;
  color: #e53e3e;
  border: 1px solid #feb2b2;
}
.alert--success {
  background: #f0fff4;
  color: #38a169;
  border: 1px solid #9ae6b4;
}
.alert--info {
  background: #ebf8ff;
  color: #3182ce;
  border: 1px solid #90cdf4;
}
.alert--warning {
  background: #fffff0;
  color: #d69e2e;
  border: 1px solid #fefcbf;
}
.alert ul {
  margin-top: 0.5rem;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.1s;
  line-height: 1.5;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn--primary {
  background-color: #38a169;
  color: #fff;
}
.btn--primary:hover {
  background-color: #2f855a;
}
.btn--secondary {
  background-color: #ffffff;
  color: #1a365d;
  border: 2px solid #e2e8f0;
}
.btn--secondary:hover {
  border-color: #2b6cb0;
  color: #2b6cb0;
}
.btn--success {
  background-color: #38a169;
  color: #fff;
}
.btn--success:hover {
  background-color: rgb(45.4709677419, 130.7290322581, 85.2580645161);
}
.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}
.btn--sm {
  padding: 0.25rem 1rem;
  font-size: 0.875rem;
}
.btn--block {
  display: block;
  width: 100%;
}
.btn--accent {
  background-color: #1a365d;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.btn--accent:hover {
  background-color: #2b6cb0;
}

.main-form {
  max-width: 100%;
}

fieldset {
  border: none;
  margin-bottom: 1rem;
}
fieldset legend {
  font-size: 1rem;
  font-weight: 700;
  color: #1a365d;
  margin-bottom: 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #e2e8f0;
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.form-row--3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.form-row--4 {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
@media (max-width: 768px) {
  .form-row--3, .form-row--4 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-row--3, .form-row--4 {
    grid-template-columns: 1fr;
  }
}

ul.errorlist {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
}
ul.errorlist li {
  font-size: 0.875rem;
  color: #e53e3e;
}

.form-field:has(ul.errorlist) input[type=text],
.form-field:has(ul.errorlist) input[type=email],
.form-field:has(ul.errorlist) input[type=tel],
.form-field:has(ul.errorlist) input[type=number],
.form-field:has(ul.errorlist) input[type=password],
.form-field:has(ul.errorlist) input[type=url],
.form-field:has(ul.errorlist) textarea,
.form-field:has(ul.errorlist) select {
  border-color: #e53e3e;
}
.form-field:has(ul.errorlist) input[type=text]:focus,
.form-field:has(ul.errorlist) input[type=email]:focus,
.form-field:has(ul.errorlist) input[type=tel]:focus,
.form-field:has(ul.errorlist) input[type=number]:focus,
.form-field:has(ul.errorlist) input[type=password]:focus,
.form-field:has(ul.errorlist) input[type=url]:focus,
.form-field:has(ul.errorlist) textarea:focus,
.form-field:has(ul.errorlist) select:focus {
  box-shadow: 0 0 0 2px rgba(229, 62, 62, 0.15);
}

.form-field {
  margin-bottom: 0.25rem;
}
.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
  font-size: 0.875rem;
  color: #4a5568;
}
.form-field__help {
  font-size: 0.875rem;
  color: #718096;
  margin-top: 0.25rem;
  line-height: 1.5;
}
.form-field input[type=text],
.form-field input[type=email],
.form-field input[type=tel],
.form-field input[type=number],
.form-field input[type=password],
.form-field input[type=url],
.form-field select {
  width: 100%;
  height: 38px;
  padding: 0 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.875rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  box-sizing: border-box;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  background-color: #ffffff;
}
.form-field input[type=text]:focus,
.form-field input[type=email]:focus,
.form-field input[type=tel]:focus,
.form-field input[type=number]:focus,
.form-field input[type=password]:focus,
.form-field input[type=url]:focus,
.form-field select:focus {
  outline: none;
  border-color: #2b6cb0;
  box-shadow: 0 0 0 2px rgba(43, 108, 176, 0.15);
}
.form-field input[type=text]::placeholder,
.form-field input[type=email]::placeholder,
.form-field input[type=tel]::placeholder,
.form-field input[type=number]::placeholder,
.form-field input[type=password]::placeholder,
.form-field input[type=url]::placeholder,
.form-field select::placeholder {
  color: #a0aec0;
}
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23718096' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 2rem;
}
.form-field textarea {
  width: 100%;
  padding: 0.25rem 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.875rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.form-field textarea:focus {
  outline: none;
  border-color: #2b6cb0;
  box-shadow: 0 0 0 2px rgba(43, 108, 176, 0.15);
}
.form-field textarea::placeholder {
  color: #a0aec0;
}
.form-field textarea {
  resize: vertical;
}
.form-field input[type=checkbox] {
  margin-right: 0.25rem;
  accent-color: #38a169;
}
.form-field input[type=file] {
  padding: 0.25rem 0;
  font-size: 0.875rem;
}

.form-actions {
  margin-top: 1rem;
  text-align: center;
}
.form-actions--split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.form-field--checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  justify-content: center;
}

.tooltip-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #3182ce;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-decoration: none;
  margin-left: 0.25rem;
  cursor: help;
}
.tooltip-link:hover {
  background: rgb(39.2, 104, 164.8);
  text-decoration: none;
}

.form-page {
  padding: 2rem 0 3rem;
}
.form-page__intro {
  color: #718096;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.device-form-block {
  padding: 0.25rem 0;
  border-bottom: 1px solid #e2e8f0;
}
.device-form-block:last-child {
  border-bottom: none;
}
.device-form-block__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
  gap: 0.25rem;
}
.device-form-block__header h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #4a5568;
  margin: 0;
}
.device-form-block__actions {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.device-form-block__summary {
  font-size: 0.78rem;
  color: #718096;
  margin-top: 2px;
}
.device-form-block.is-collapsed {
  padding: 0.25rem 0;
}
.device-form-block.is-collapsed .device-form-block__content {
  display: none;
}
.device-form-block.is-collapsed .device-form-block__header {
  margin-bottom: 0;
}

.listing-form-v2 .form-section {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0.5rem;
}
.listing-form-v2 .form-stack {
  display: grid;
  gap: 0.25rem;
  grid-template-columns: 1fr;
}
.listing-form-v2 .device-form-block {
  border: 0;
  border-top: 1px solid #e2e8f0;
  border-radius: 0;
  padding: 0.5rem 0;
  margin-bottom: 0.5rem;
  background: transparent;
}
.listing-form-v2 .device-form-block__header {
  margin-bottom: 0.5rem;
}
.listing-form-v2 .form-field:not(.form-field--checkboxes) {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 0.5rem;
}
.listing-form-v2 .form-field:not(.form-field--checkboxes) label {
  margin-bottom: 0;
}
.listing-form-v2 .form-field textarea {
  min-height: 120px;
}
.listing-form-v2 .form-field--textarea:not(.form-field--checkboxes) {
  grid-template-columns: 1fr;
  align-items: start;
}
.listing-form-v2 .form-field--textarea:not(.form-field--checkboxes) label {
  margin-bottom: 4px;
}
.listing-form-v2 .form-field__help {
  grid-column: 1;
}
.listing-form-v2 .form-field--checkboxes {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0.5rem;
  flex-direction: unset;
}
.listing-form-v2 .form-field--checkboxes label {
  grid-column: 2;
  margin: 0;
}
@media (max-width: 576px) {
  .listing-form-v2 .form-field:not(.form-field--checkboxes) {
    grid-template-columns: 1fr;
  }
  .listing-form-v2 .form-field:not(.form-field--checkboxes) label {
    margin-bottom: 2px;
  }
  .listing-form-v2 .form-field--checkboxes {
    grid-template-columns: 1fr;
  }
  .listing-form-v2 .form-field--checkboxes label {
    grid-column: 1;
  }
}

.submit-summary {
  margin-top: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.5rem;
  background: #f8fafb;
}
.submit-summary h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: #4a5568;
}
.submit-summary h3 {
  margin: 0.5rem 0 0.25rem;
  font-size: 0.875rem;
}
.submit-summary p {
  margin: 0 0 0.25rem;
  font-size: 0.875rem;
}
.submit-summary ul {
  margin: 0;
  padding-left: 1.25rem;
}
.submit-summary li {
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
}
.submit-summary__copy-optin {
  margin-top: 0.5rem;
  font-size: 0.875rem;
}
.submit-summary__consent {
  margin-top: 0.25rem;
  font-size: 0.875rem;
}
.submit-summary__consent a {
  color: #1a365d;
}
.submit-summary__device {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.875rem;
  line-height: 1.7;
}
.submit-summary__device:last-child {
  border-bottom: none;
}
.submit-summary__imgs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.25rem;
}
.submit-summary__img-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

/* ---- Image picker ---- */
.img-picker {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.img-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 1px dashed #e2e8f0;
  border-radius: 6px;
  color: #1a365d;
  font-size: 0.875rem;
  padding: 4px 0.5rem;
  cursor: pointer;
  line-height: 1.4;
  align-self: flex-start;
}
.img-add-btn:hover {
  border-color: #1a365d;
  background: rgba(26, 54, 93, 0.04);
}

.img-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.25rem;
}
.img-preview__item {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 6px;
}
.img-preview__thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  display: block;
  cursor: pointer;
}
.img-preview__thumb:hover {
  opacity: 0.85;
}
.img-preview__remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e53e3e;
  color: #fff;
  border: none;
  font-size: 0.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.img-preview__remove:hover {
  background: rgb(211.5068493151, 28.4931506849, 28.4931506849);
}

/* "Lisää koneita" button area below device list */
.device-add-area {
  padding: 0.25rem 0 0.5rem;
}

@keyframes btn-shake {
  0%, 100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-6px);
  }
  40% {
    transform: translateX(6px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(4px);
  }
}
.btn--shake {
  animation: btn-shake 0.5s ease;
}

/* Image modal */
.img-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.img-modal.is-open {
  display: flex;
}
.img-modal__img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 6px;
  object-fit: contain;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  cursor: default;
}
.img-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-modal__close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.listing-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s;
  color: #1a202c;
  animation: card-rise-in 0.42s ease both;
  height: 100%;
}
@media (hover: hover) and (pointer: fine) {
  .listing-card:hover {
    transform: translateY(-6px);
  }
  .listing-card:hover .listing-card__image--default {
    transform: translateY(-2px) scale(1.015);
    filter: saturate(1.06);
  }
  .listing-card:hover .listing-card__screen-text {
    color: #1f2937;
  }
}
.listing-card__link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.listing-card__link:hover {
  text-decoration: none;
}
.listing-card__image {
  height: 164px;
  overflow: hidden;
  background: #f7fafc;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.listing-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.listing-card__image--default {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #eaf2fb;
  background-image: url("../images/laptop.svg"), radial-gradient(circle at 20% 16%, rgba(43, 108, 176, 0.16), rgba(43, 108, 176, 0) 52%), linear-gradient(160deg, #f0f6fd 0%, #e3edf8 58%, #edf4fb 100%);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 102% auto;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.listing-card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a0aec0;
  font-size: 0.875rem;
}
.listing-card__screen-text {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72%;
  max-width: 72%;
  color: #2d3748;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
  padding: 0.25rem 0.5rem;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.01em;
  z-index: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: color 0.35s ease;
  transform: translate(-50%, -52%);
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
.listing-card__default-icon {
  width: 64px;
  height: 44px;
  color: rgba(255, 255, 255, 0.25);
}
.listing-card__title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
}
.listing-card__body {
  padding: 1rem 0.5rem 0.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 96px;
}
.listing-card__name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1a365d;
  line-height: 1.35;
  margin-bottom: 0.1rem;
}
.listing-card__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1a365d;
}
.listing-card__specs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}
.listing-card__spec {
  font-size: 0.72rem;
  line-height: 1.35;
  color: #718096;
}
.listing-card__price {
  font-size: 0.76rem;
  font-weight: 600;
  color: #1a365d;
  margin-top: 0.35rem;
}

@keyframes card-rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.success-card {
  background: #ffffff;
  padding: 3rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.success-card__tracking {
  margin: 2rem 0;
}
.success-card__actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.tracking-code {
  font-size: 2rem;
  font-weight: 700;
  font-family: "Courier New", monospace;
  color: #1a365d;
  background: #f7fafc;
  padding: 1rem 2rem;
  border-radius: 6px;
  display: inline-block;
  letter-spacing: 2px;
}

.status-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}
.status-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.value-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.value-card h3 {
  color: #1a365d;
  margin-bottom: 1rem;
}
.value-card ul {
  list-style: none;
}
.value-card ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e2e8f0;
  padding-left: 1.5rem;
  position: relative;
}
.value-card ul li::before {
  content: "✓";
  color: #38a169;
  font-weight: bold;
  position: absolute;
  left: 0;
}
.value-card ul li:last-child {
  border-bottom: none;
}

.navbar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a365d;
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .navbar__logo:hover {
    text-decoration: none;
    color: #2b6cb0;
  }
}
.navbar__logo-img {
  height: 3rem;
  width: auto;
  display: block;
}
.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.navbar__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #1a365d;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.navbar__toggle--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__toggle--open span:nth-child(2) {
  opacity: 0;
}
.navbar__toggle--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (max-width: 768px) {
  .navbar__toggle {
    display: flex;
  }
}
.navbar__links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.navbar__links a, .navbar__links .navbar__dropdown-toggle {
  color: #4a5568;
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .navbar__links a:hover, .navbar__links .navbar__dropdown-toggle:hover {
    color: #1a365d;
    text-decoration: none;
  }
}
@media (max-width: 768px) {
  .navbar__links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding-top: 1rem;
  }
  .navbar__links--open {
    display: flex;
  }
  .navbar__links a, .navbar__links .navbar__dropdown-toggle {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-bottom: none;
    background: #f7fafc;
  }
}
.navbar__link--active {
  color: #1a365d !important;
  background: rgba(26, 54, 93, 0.06);
}
.navbar__group {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.navbar__group:not(:last-child) {
  margin-right: 0.5rem;
}
@media (max-width: 768px) {
  .navbar__group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .navbar__group:not(:last-child) {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
    margin-right: 0;
  }
}
.navbar__dropdown {
  position: relative;
}
.navbar__dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: inherit;
}
.navbar__dropdown-arrow {
  font-size: 0.7em;
  transition: transform 0.2s;
}
.navbar__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  padding: 0.25rem 0;
  z-index: 200;
}
.navbar__dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .navbar__dropdown-menu a:hover {
    background: #f7fafc;
  }
}
@media (hover: hover) and (pointer: fine) {
  .navbar__dropdown:hover .navbar__dropdown-menu {
    display: block;
  }
  .navbar__dropdown:hover .navbar__dropdown-arrow {
    transform: rotate(180deg);
  }
}
.navbar__dropdown--open .navbar__dropdown-menu {
  display: block;
}
@media (max-width: 768px) {
  .navbar__dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0;
    min-width: 0;
    background: transparent;
  }
  .navbar__dropdown-menu a {
    padding: 0.5rem 1rem;
    border-bottom: none;
    background: #f7fafc;
    white-space: normal;
  }
  .navbar__dropdown-toggle {
    display: none;
  }
  .navbar__dropdown-arrow {
    transform: none;
  }
}
.navbar__cart {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  position: relative;
}
.navbar__cart--animate {
  animation: cart-bounce 1.1s cubic-bezier(0.34, 1.56, 0.64, 1), cart-glow 1.1s ease;
}
.navbar__cart-icon {
  flex-shrink: 0;
  vertical-align: middle;
}
.navbar__group-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a0aec0;
  padding: 0.25rem 0.5rem;
  pointer-events: none;
}
@media (max-width: 768px) {
  .navbar__group-label {
    padding: 0.25rem 1rem;
    font-size: 0.7rem;
  }
}

@keyframes cart-bounce {
  0%, 100% {
    transform: scale(1);
  }
  28% {
    transform: scale(1.24) rotate(-3deg);
  }
  58% {
    transform: scale(0.96) rotate(2deg);
  }
}
@keyframes cart-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(56, 161, 105, 0);
  }
  35% {
    box-shadow: 0 0 0 10px rgba(56, 161, 105, 0.22);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(56, 161, 105, 0);
  }
}
.top-banner {
  background: #1a365d;
  color: #fff;
  text-align: center;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.footer {
  background: #1a202c;
  color: #a0aec0;
  padding: 2rem 0;
  margin-top: 4rem;
}
.footer__inner {
  text-align: center;
}
.footer__inner p {
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
}
.footer__nav a {
  color: #a0aec0;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer__nav a:hover {
  color: #ffffff;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #f7fafc;
  color: #4a5568;
}
.badge--excellent {
  background: #c6f6d5;
  color: #22543d;
}
.badge--good {
  background: #bee3f8;
  color: #2a4365;
}
.badge--fair {
  background: #fefcbf;
  color: #744210;
}
.badge--poor {
  background: #fed7d7;
  color: #742a2a;
}
.badge--submitted {
  background: #e2e8f0;
  color: #4a5568;
}
.badge--approved {
  background: #c6f6d5;
  color: #22543d;
}
.badge--rejected {
  background: #fed7d7;
  color: #742a2a;
}
.badge--published {
  background: #c6f6d5;
  color: #22543d;
}
.badge--sold {
  background: #feebc8;
  color: #7b341e;
}
.badge--delivered {
  background: #b2f5ea;
  color: #234e52;
}
.badge--settled {
  background: #e9d8fd;
  color: #44337a;
}
.badge--in-stock {
  background: #c6f6d5;
  color: #22543d;
}
.badge--success {
  background: #bee3f8;
  color: #2a4365;
}
.badge--lg {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.filter-form {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
@media (max-width: 768px) {
  .filter-form {
    padding: 1rem;
  }
}
.filter-form h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}
.filter-form__field {
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .filter-form__field {
    margin-bottom: 0.5rem;
  }
}
.filter-form__field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #4a5568;
}
.filter-form__field input:not([type=checkbox]),
.filter-form__field select {
  width: 100%;
  height: 38px;
  padding: 0 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.875rem;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  background-color: #ffffff;
}
.filter-form__field input:not([type=checkbox]):focus,
.filter-form__field select:focus {
  outline: none;
  border-color: #2b6cb0;
}
.filter-form__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23718096' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 2rem;
}
.filter-form__field--checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
}
.filter-form__field--checkbox input[type=checkbox] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  accent-color: #1a365d;
  cursor: pointer;
}
.filter-form__field--checkbox label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

.spec-table {
  margin-bottom: 1.5rem;
}
.spec-table th,
.spec-table td {
  padding: 0.5rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}
.spec-table th {
  font-weight: 600;
  color: #4a5568;
  width: 40%;
  font-size: 0.875rem;
}

.timeline {
  margin-bottom: 2rem;
}
.timeline__item {
  display: flex;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e2e8f0;
}
.timeline__item:last-child {
  border-bottom: none;
}
.timeline__date {
  font-size: 0.875rem;
  color: #718096;
  min-width: 120px;
}
.timeline__content {
  font-size: 0.875rem;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.pagination__info {
  color: #718096;
  font-size: 0.875rem;
}

.empty-state {
  text-align: center;
  padding: 4rem;
  color: #718096;
}
.empty-state p {
  margin-bottom: 1.5rem;
}

.hero {
  background: linear-gradient(135deg, #1a365d 0%, #2b6cb0 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}
.hero__title {
  color: #fff;
  font-size: 2.5rem;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}
@media (max-width: 768px) {
  .hero__title {
    font-size: 2rem;
  }
}
@media (max-width: 576px) {
  .hero__title {
    font-size: 1.2rem;
  }
}
.hero__subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__actions .btn--primary {
  background: #fff;
  color: #1a365d;
}
.hero__actions .btn--primary:hover {
  background: rgba(255, 255, 255, 0.9);
}
.hero__actions .btn--secondary {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.hero__actions .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}
.hero__actions .btn--outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.hero__actions .btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.how-it-works {
  background: #ffffff;
  text-align: center;
}

.recommended-strip {
  background: #f7fafc;
}
.recommended-strip__scroller {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-gutter: stable both-edges;
}
.recommended-strip__track {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 248px;
  gap: 0.5rem;
  scroll-snap-type: x proximity;
  width: max-content;
}
.recommended-strip__card {
  width: 248px;
  min-width: 248px;
  scroll-snap-align: start;
}
.recommended-strip .listing-card--compact {
  min-height: auto;
}
.recommended-strip .listing-card--compact .listing-card__image {
  height: 172px;
}
.recommended-strip .listing-card--compact .listing-card__body {
  padding-top: 0.5rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 920px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr 1fr;
    max-width: 600px;
  }
}
@media (max-width: 576px) {
  .steps {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #38a169;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.step h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
.step p {
  font-size: 1rem;
  color: #718096;
}

.value-props__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 768px) {
  .value-props__grid {
    grid-template-columns: 1fr;
  }
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 768px) {
  .trust__grid {
    grid-template-columns: 1fr;
  }
}

.trust__item {
  text-align: center;
}
.trust__item strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #1a365d;
  font-size: 1.125rem;
}
.trust__item p {
  font-size: 1rem;
  color: #718096;
}

.cta-section {
  background: #ffffff;
  text-align: center;
}
.cta-section .hero__actions .btn--primary {
  background: #38a169;
  color: #fff;
}
.cta-section .hero__actions .btn--primary:hover {
  background: #2f855a;
}
.cta-section .hero__actions .btn--secondary {
  border-color: #1a365d;
  color: #1a365d;
}
.cta-section .hero__actions .btn--secondary:hover {
  background: #1a365d;
  color: #fff;
}

.listing-page__layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 768px) {
  .listing-page__layout {
    grid-template-columns: 1fr;
  }
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 768px) {
  .listing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .listing-grid {
    grid-template-columns: 1fr;
  }
}

.listing-detail__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}
@media (max-width: 768px) {
  .listing-detail__layout {
    grid-template-columns: 1fr;
  }
}
.listing-detail__img {
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.listing-detail__no-image {
  background: #f7fafc;
  border-radius: 10px;
  padding: 4rem;
  text-align: center;
  color: #718096;
}
.listing-detail__info {
  position: sticky;
  top: 2rem;
  align-self: start;
}
.listing-detail__info h1 {
  font-size: 2rem;
}
.listing-detail__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.listing-detail__price {
  font-size: 2rem;
  font-weight: 700;
  color: #38a169;
  margin-bottom: 1.5rem;
}
.listing-detail__availability {
  font-size: 0.875rem;
  color: #718096;
  margin-bottom: 0.5rem;
}
.listing-detail__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: stretch;
}
.listing-detail__cart-form {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.listing-detail__qty-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 92px;
}
.listing-detail__qty-label {
  font-size: 0.875rem;
  color: #718096;
  margin: 0;
  line-height: 1.2;
}
.listing-detail__qty-input {
  width: 92px;
  height: 46px;
  padding: 0 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 1rem;
  background: #ffffff;
}
@media (max-width: 576px) {
  .listing-detail__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .listing-detail__cart-form {
    width: 100%;
    justify-content: space-between;
  }
  .listing-detail__actions .btn--lg {
    width: 100%;
    text-align: center;
  }
}

/* ── Image carousel (listing detail) ────────────────────── */
.img-carousel {
  position: relative;
}
.img-carousel__track {
  line-height: 0;
}
.img-carousel__img {
  display: none;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  object-fit: cover;
  max-height: 400px;
}
.img-carousel__img--active {
  display: block;
}
.img-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  border-radius: 6px;
  width: 36px;
  height: 36px;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s;
}
.img-carousel__btn:hover {
  background: rgba(0, 0, 0, 0.65);
}
.img-carousel__btn--prev {
  left: 0.25rem;
}
.img-carousel__btn--next {
  right: 0.25rem;
}
.img-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
}
.img-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e2e8f0;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.15s;
}
.img-carousel__dot--active {
  background: #1a365d;
}
.img-carousel__dot:hover {
  background: #4a5568;
}

.price--original {
  text-decoration: line-through;
  color: #718096;
  font-size: 0.875rem;
}

.process-hero {
  background: linear-gradient(135deg, #1a365d 0%, #2b6cb0 100%);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}
.process-hero h1 {
  color: #fff;
  margin-bottom: 1rem;
}
.process-hero .hero__subtitle {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.125rem;
  opacity: 0.9;
  line-height: 1.7;
}

.process-steps {
  padding: 4rem 0;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
}
.process-step:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.process-step__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #38a169;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-step__content {
  flex: 1;
}
.process-step__content h3 {
  margin-bottom: 0.5rem;
}
.process-step__content p {
  color: #4a5568;
  line-height: 1.7;
}
.process-step__content ul {
  margin-top: 0.5rem;
  list-style: none;
}
.process-step__content ul li {
  padding: 0.25rem 0;
  padding-left: 1.5rem;
  position: relative;
}
.process-step__content ul li::before {
  content: "✓";
  color: #38a169;
  font-weight: bold;
  position: absolute;
  left: 0;
}
.process-step__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}
@media (max-width: 576px) {
  .process-step__details {
    grid-template-columns: 1fr;
  }
}

.process-guarantee {
  background: #ffffff;
  padding: 4rem 0;
}

.profile {
  padding: 4rem 0;
}
.profile h1 {
  margin-bottom: 2rem;
}
.profile__info {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #f7fafc;
  border-radius: 6px;
}
.profile__info p {
  margin-bottom: 0.5rem;
}
.profile__info p:last-child {
  margin-bottom: 0;
}

.seller-dashboard {
  padding: 4rem 0;
}
.seller-dashboard__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.seller-dashboard__header h1 {
  margin-bottom: 0;
}

.seller-detail {
  padding: 4rem 0;
}
.seller-detail__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}
.seller-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .seller-detail__grid {
    grid-template-columns: 1fr;
  }
}
.seller-detail__info h2 {
  margin-bottom: 1rem;
}
.seller-detail__actions {
  margin-top: 1.5rem;
}
.seller-detail__comments h2 {
  margin-bottom: 1rem;
}
.seller-detail__history h2 {
  margin-bottom: 1rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}
.data-table th, .data-table td {
  padding: 0.5rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}
.data-table th {
  background: #f7fafc;
  font-weight: 600;
  font-size: 0.875rem;
  color: #4a5568;
}
.data-table td {
  font-size: 0.875rem;
}
.data-table code {
  background: #f7fafc;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.875rem;
}
.data-table__total-row td {
  border-top: 2px solid #4a5568;
  border-bottom: none;
  background: #f7fafc;
}

.comment {
  padding: 1rem;
  background: #f7fafc;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.comment--admin {
  background: rgb(222.04, 235, 247.16);
  border-left: 3px solid #3182ce;
}
.comment__meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}
.comment__meta time {
  color: #718096;
}
.comment p {
  margin: 0;
}

.comment-form {
  margin-top: 1.5rem;
}
.comment-form textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  margin-bottom: 0.5rem;
  resize: vertical;
}

.status-history {
  list-style: none;
}
.status-history li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.875rem;
}
.status-history li time {
  color: #718096;
  margin-right: 0.5rem;
}

.empty-state {
  text-align: center;
  padding: 4rem 0;
  color: #718096;
}
.empty-state p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.device-form-block {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  background: #ffffff;
}
.device-form-block__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.device-form-block__header h2 {
  margin-bottom: 0;
}

.form-actions--split {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge--status-submitted {
  background: #6c757d;
  color: #fff;
}

.badge--status-approved {
  background: #28a745;
  color: #fff;
}

.badge--status-rejected {
  background: #dc3545;
  color: #fff;
}

.badge--status-shipping_sent {
  background: #17a2b8;
  color: #fff;
}

.badge--status-shipped {
  background: #17a2b8;
  color: #fff;
}

.badge--status-received {
  background: #007bff;
  color: #fff;
}

.badge--status-inspected {
  background: #007bff;
  color: #fff;
}

.badge--status-wiped {
  background: #007bff;
  color: #fff;
}

.badge--status-refurbished {
  background: #007bff;
  color: #fff;
}

.badge--status-published {
  background: #28a745;
  color: #fff;
}

.badge--status-reserved {
  background: #ffc107;
  color: #333;
}

.badge--status-sold {
  background: #fd7e14;
  color: #fff;
}

.badge--status-delivered {
  background: #20c997;
  color: #fff;
}

.badge--status-settled {
  background: #6f42c1;
  color: #fff;
}

.cart-page {
  padding: 4rem 0;
}
.cart-page h1 {
  margin-bottom: 2rem;
}
.cart-page__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}

.cart-qty-form {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.cart-qty-input {
  width: 64px;
  height: 34px;
  padding: 0 0.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.875rem;
  text-align: center;
}

.cart-summary {
  background: #f7fafc;
  padding: 1.5rem;
  border-radius: 6px;
  margin-bottom: 2rem;
}
.cart-summary h2 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.cart-summary ul {
  list-style: none;
}
.cart-summary ul li {
  padding: 0.25rem 0;
  border-bottom: 1px solid #e2e8f0;
}
.cart-summary ul li:last-child {
  border-bottom: none;
}
.cart-summary__edit {
  margin-top: 1rem;
  font-size: 0.875rem;
}
.cart-summary__edit a {
  color: #1a365d;
}

.listing-card {
  position: relative;
}
.listing-card__cart {
  padding: 0.5rem;
  text-align: center;
  border-top: 1px solid #e2e8f0;
}

.btn--danger {
  background: #e53e3e;
  color: #fff;
}
.btn--danger:hover {
  background: rgb(211.5068493151, 28.4931506849, 28.4931506849);
}

.content-page {
  padding: 4rem 0;
}
.content-page__intro {
  font-size: 1.125rem;
  color: #718096;
  margin-bottom: 3rem;
}
.content-page__section {
  margin-bottom: 3rem;
}
.content-page__section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1a365d;
}
.content-page__section p {
  margin-bottom: 1rem;
  line-height: 1.6;
}
.content-page__section ol {
  padding-left: 2rem;
  margin-bottom: 1rem;
}
.content-page__section ol li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.content-page__actions {
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.content-page__meta {
  font-size: 0.875rem;
  color: #718096;
  margin-bottom: 1.5rem;
}
.content-page__body h2 {
  font-size: 1.125rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: #4a5568;
}
.content-page__body h2:first-child {
  margin-top: 0;
}
.content-page__body p, .content-page__body ul, .content-page__body li {
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.content-page__body ul {
  padding-left: 1.4rem;
}
.content-page__body a {
  color: #1a365d;
}
.content-page__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0 1.5rem;
}
.content-page__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin: 0;
}
.content-page__table th, .content-page__table td {
  text-align: left;
  padding: 0.5rem 1rem;
  border: 1px solid #e2e8f0;
  vertical-align: top;
}
.content-page__table th {
  background: #f7fafc;
  font-weight: 600;
}
.content-page__table code {
  font-size: 0.85em;
  background: #f7fafc;
  padding: 0.1em 0.35em;
  border-radius: 3px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
@media (max-width: 576px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-card {
  text-align: center;
}
.team-card__photo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  display: block;
  margin: 0 auto 1rem;
}
.team-card__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a365d;
  margin-bottom: 0.25rem;
}
.team-card__role {
  font-size: 0.875rem;
  font-weight: 600;
  color: #2b6cb0;
  margin-bottom: 0.5rem;
}
.team-card__bio {
  font-size: 0.875rem;
  color: #718096;
  line-height: 1.6;
  margin: 0;
}

.condition-grades {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.condition-grade {
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid #e2e8f0;
}
.condition-grade h2 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
.condition-grade p {
  margin: 0;
  line-height: 1.6;
  color: #718096;
}
.condition-grade--excellent {
  background: rgba(56, 161, 105, 0.06);
  border-left-color: #38a169;
}
.condition-grade--excellent h2 {
  color: #38a169;
}
.condition-grade--good {
  background: rgba(49, 130, 206, 0.06);
  border-left-color: #3182ce;
}
.condition-grade--good h2 {
  color: #3182ce;
}
.condition-grade--fair {
  background: rgba(49, 130, 206, 0.04);
  border-left-color: #3182ce;
}
.condition-grade--fair h2 {
  color: #3182ce;
}

.dev-service-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dev-service-item {
  border-left: 3px solid #2b6cb0;
  padding: 0.5rem 1.5rem;
}
.dev-service-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a365d;
  margin-bottom: 0.25rem;
}
.dev-service-item p {
  margin: 0;
  color: #718096;
  line-height: 1.6;
}

.dev-refs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dev-ref {
  background: #f7fafc;
  border-left: 3px solid #2b6cb0;
  border-radius: 0 6px 6px 0;
  padding: 1rem 1.5rem;
}
.dev-ref strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #1a365d;
}
.dev-ref p {
  margin: 0;
  font-size: 0.875rem;
  color: #718096;
  line-height: 1.6;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}
.faq-item summary {
  padding: 0.5rem 1rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  color: #1a202c;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover {
  color: #1a365d;
}
.faq-item p {
  padding: 0 1rem 0.5rem;
  font-size: 0.875rem;
  color: #718096;
  line-height: 1.6;
  margin: 0;
}
