/* Teknosab Manlift — kasıtlı amatör tema */
.am-body {
  margin: 0;
  padding: 0 0 2rem;
  background-color: #c0c0c0;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='10' height='10' fill='%23b8b8b8'/%3E%3Crect x='10' y='10' width='10' height='10' fill='%23b8b8b8'/%3E%3C/svg%3E");
  background-attachment: scroll;
  font-family: Arial, Helvetica, sans-serif;
  color: #000;
  overflow-x: hidden;
}

.am-main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

.am-topbar {
  background: #000080;
  padding: 0;
  overflow: hidden;
}

.am-marquee {
  display: block;
  color: #ffff00;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  padding: 4px 0;
  white-space: nowrap;
  overflow: hidden;
  will-change: contents;
}

.am-marquee__track {
  display: inline-block;
  white-space: nowrap;
  animation: am-marquee-scroll 32s linear infinite;
}

@keyframes am-marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .am-marquee__track {
    animation: none;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 0.75rem;
  }
}

.am-header {
  background: #ffffff;
  border-bottom: 3px double #000080;
}

.am-nav {
  margin: 0.5rem 0;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.8;
  padding: 0 0.5rem;
}

.am-hr {
  border: none;
  border-top: 2px dashed #999;
  margin: 0 0 1rem;
}

.am-link {
  color: #0000ff;
  text-decoration: underline;
  font-weight: bold;
}

.am-link:visited {
  color: #800080;
}

.am-link:hover {
  color: #ff0000;
  background: #ffff00;
}

.am-link--here {
  color: #ff0000;
  background: #ffff00;
}

.am-link--phone {
  color: #ff0000;
}

.am-title {
  margin: 1rem 0 0.5rem;
}

.am-hero-img {
  max-width: 100%;
  height: auto;
}

.am-btn {
  display: inline-block;
  padding: 6px 12px;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
  border: 2px outset #ccc;
  background: #dddddd;
  color: #000;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
}

.am-btn--small {
  padding: 4px 8px;
  font-size: 11px;
  margin: 2px;
}

.am-btn--big {
  padding: 10px 18px;
  font-size: 14px;
}

.am-btn--green {
  background: #00cc00;
  color: #fff;
  border-color: #009900;
}

.am-btn:hover {
  border-style: inset;
}

.am-hit {
  text-align: center;
  font-size: 11px;
  color: #666;
  font-family: "Courier New", monospace;
  margin-top: 2rem;
  padding: 0 0.75rem;
}

/* Ürün detay */
.am-product {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(260px, 1fr);
  gap: 1.25rem 1.5rem;
  align-items: start;
  width: min(92%, 920px);
  margin: 0 auto 1.5rem;
  padding: 1rem;
  background: #fff;
  border: 2px solid #000080;
  box-sizing: border-box;
}

.am-product__media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border: 3px solid #000080;
  padding: 0.75rem;
  min-height: 280px;
}

.am-product__img {
  width: 100%;
  max-width: 420px;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  background: #fff;
}

.am-product__info {
  min-width: 0;
}

.am-product__specs {
  width: 100%;
  border-collapse: collapse;
}

.am-product__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.am-product__actions .am-btn {
  flex: 1 1 auto;
  min-width: 140px;
}

.am-crumb {
  padding: 0 0.75rem;
  word-break: break-word;
}

/* Teklif modal */
html.up-scroll-lock,
html.up-scroll-lock body {
  overflow: hidden;
}

.am-quote,
.sat-quote.am-quote {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  box-sizing: border-box;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-x pan-y;
}

.am-quote[hidden],
.sat-quote.am-quote[hidden] {
  display: none !important;
}

.am-quote__scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.am-quote__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 400px);
  max-width: 100%;
  max-height: min(90vh, 640px);
  overflow-x: auto;
  overflow-y: auto;
  background: #ffffcc;
  border: 4px ridge #000080;
  padding: 1rem;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-x pan-y;
}

.sat-quote__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.sat-quote__head h2 {
  margin: 0;
  font-size: 1.1rem;
}

.sat-quote__close {
  min-width: 2rem;
  padding: 2px 8px;
  font-size: 1.25rem;
  line-height: 1;
}

.am-quote__panel input,
.am-quote__panel textarea {
  width: 100%;
  box-sizing: border-box;
  border: 2px inset #ccc;
  padding: 4px;
  font-family: Arial, sans-serif;
}

.am-quote__panel label {
  font-size: 13px;
  font-weight: bold;
}

.am-quote__panel p {
  margin: 0 0 0.65rem;
}

.am-products img {
  background: #fff;
}

/* Kiralık ürün kartları */
.am-rent-list {
  width: min(95%, 920px);
  margin: 0 auto 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.am-rent-group__title {
  margin: 0 0 0.65rem;
  padding: 0.55rem 0.75rem;
  background: #ff6600;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  border: 1px solid #e55a00;
}

.am-rent-group__link {
  color: #fff;
  text-decoration: none;
}

.am-rent-group__link:hover {
  text-decoration: underline;
  background: transparent;
}

.am-rent-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0.75rem 1rem;
  align-items: start;
  padding: 0.85rem;
  margin-bottom: 0.65rem;
  background: #fff;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.am-rent-card__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  background: #f3f3f3;
  border: 1px solid #999;
  overflow: hidden;
  text-decoration: none;
}

.am-rent-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  display: block;
}

.am-rent-card__noimg {
  font-size: 10px;
  color: #666;
  text-align: center;
  padding: 0.25rem;
}

.am-rent-card__body {
  min-width: 0;
}

.am-rent-card__name {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0000ff;
  text-decoration: underline;
  line-height: 1.25;
  word-break: break-word;
}

.am-rent-card__name:visited {
  color: #800080;
}

.am-rent-card__name:hover {
  color: #ff0000;
  background: #ffff00;
}

.am-rent-card__cat {
  display: inline-block;
  margin: 0.2rem 0 0.55rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8125rem;
  color: #555;
  font-weight: 600;
  text-decoration: underline;
}

.am-rent-card__cat:hover {
  color: #0000ff;
  background: #ffff00;
}

.am-rent-card__specs {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.85rem;
}

.am-rent-card__specs > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 0.45rem;
  align-items: baseline;
  padding: 0.2rem 0;
  border-bottom: 1px dotted #ccc;
  font-size: 0.78rem;
}

.am-rent-card__specs dt {
  margin: 0;
  color: #444;
  font-weight: 400;
}

.am-rent-card__specs dd {
  margin: 0;
  font-weight: 700;
  color: #000;
  text-align: right;
  white-space: nowrap;
}

.am-rent-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.am-brand-home {
  margin: 0.35rem 0 0.75rem;
  padding: 0 0.5rem;
}

.am-brand-home__link {
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: clamp(1.15rem, 4.5vw, 1.65rem);
  font-weight: 900;
  color: #000;
  text-decoration: none;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.am-brand-home__link:hover {
  color: #0000ff;
  text-decoration: underline;
}

.am-welcome,
.am-cats-box,
.am-products {
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

.am-welcome,
.am-cats-box,
.am-products,
.am-main > table {
  width: 100% !important;
  max-width: 95%;
}

@media (max-width: 768px) {
  .am-body {
    background-image: none;
  }

  .am-main {
    padding: 0 0.65rem;
  }

  .am-nav {
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.15rem 0.35rem;
  }

  .am-product {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    margin: 0 0 1.25rem;
    padding: 0.75rem;
    gap: 1rem;
  }

  .am-product__media {
    order: 0;
    min-height: 220px;
    padding: 0.5rem;
  }

  .am-product__img {
    max-width: 100%;
    max-height: 320px;
    width: min(100%, 360px);
  }

  .am-product__info {
    order: 1;
  }

  .am-product__actions {
    flex-direction: column;
  }

  .am-product__actions .am-btn {
    width: 100%;
    min-width: 0;
  }

  .am-rent-list {
    width: 100%;
  }

  .am-rent-card {
    grid-template-columns: 120px 1fr;
    gap: 0.55rem 0.7rem;
    padding: 0.7rem;
  }

  .am-rent-card__thumb {
    width: 120px;
    height: 120px;
  }

  .am-rent-card__name {
    font-size: 0.98rem;
  }

  .am-rent-card__specs {
    display: none;
  }

  .am-rent-card__cat {
    margin-bottom: 0.7rem;
  }

  .am-rent-card__actions {
    flex-direction: column;
  }

  .am-rent-card__actions .am-btn {
    width: 100%;
    text-align: center;
  }

  .am-quote,
  .sat-quote.am-quote {
    align-items: flex-start;
    padding: 0.5rem;
    overflow: auto;
  }

  .am-quote__panel {
    width: 100%;
    max-width: 100%;
    max-height: none;
    margin: 0.5rem auto 1.5rem;
    overflow: auto;
    touch-action: pan-x pan-y;
  }

  .am-quote__panel input,
  .am-quote__panel textarea {
    font-size: 16px;
    max-width: 100%;
  }

  .am-welcome,
  .am-cats-box,
  .am-main > table {
    max-width: 100%;
  }

  .am-hero-img {
    width: 100% !important;
    height: auto;
  }

  .am-btn--big {
    padding: 12px 16px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .am-header font[size="6"] {
    font-size: 1.35rem !important;
  }

  .am-product__media {
    min-height: 200px;
  }

  .am-product__img {
    max-height: 280px;
  }
}
