/* ================================================
   Orient Tech Plugin — Product Card Styles v1.0
   ================================================ */

/* Clickable wrapper */
.otp-card-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  width: 100%;
}

/* Card */
.otp-card {
  max-width: 420px;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 60px rgba(15,23,42,.10);
  transition: transform .2s ease, box-shadow .2s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.otp-card-link:hover .otp-card {
  transform: translateY(-3px);
  box-shadow: 0 22px 70px rgba(15,23,42,.14);
}

/* ── Media ── */
.otp-card__media {
  position: relative;
  background: #f6f7fb;
}
.otp-card__media img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 280px;
}
.otp-card__media .otp-placeholder {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f2f5;
  color: #9ca3af;
  font-size: 13px;
  letter-spacing: .04em;
}
.otp-card__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(17,24,39,.85);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

/* ── Body ── */
.otp-card__body {
  padding: 18px 18px 22px;
}
.otp-card__title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}
.otp-card__desc {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(15,23,42,.70);
}

/* ── Feature list ── */
.otp-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.otp-card__list li {
  position: relative;
  padding-left: 22px;
  margin: 8px 0;
  font-size: 14px;
  color: rgba(15,23,42,.85);
  line-height: 1.5;
}
.otp-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 900;
}

/* ── Dimensions ── */
.otp-card__dims {
  background: #f3f5f6;
  border-radius: 14px;
  padding: 14px;
  margin: 12px 0 14px;
}
.otp-card__dims-title {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(15,23,42,.60);
  margin-bottom: 8px;
}
.otp-card__dims-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  color: rgba(15,23,42,.75);
  border-bottom: 1px solid rgba(15,23,42,.06);
}
.otp-card__dims-row:last-child { border-bottom: none; }
.otp-card__dims-row b {
  font-weight: 800;
  color: rgba(15,23,42,.65);
}

/* ── Ideal for ── */
.otp-card__ideal {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(15,23,42,.70);
}
.otp-card__ideal b {
  color: #0f172a;
  font-weight: 800;
}

/* ── Button ── */
.otp-card__actions { margin-top: 6px; }
.otp-btn {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.otp-btn--outline {
  border: 2px solid var(--otp-accent, #B43041);
  color: var(--otp-accent, #B43041);
  background: #fff;
}
.otp-btn--outline:hover {
  background: var(--otp-accent, #B43041);
  color: #fff;
}
.otp-btn--solid {
  border: 2px solid var(--otp-accent, #B43041);
  background: var(--otp-accent, #B43041);
  color: #fff;
}
.otp-btn--solid:hover {
  opacity: .88;
}

/* ── Full-width variant ── */
.otp-card--fullwidth {
  max-width: 100%;
}
