/* ======================================================
   Sidebar — STM Big Card (same as Home Tabs big card)
   File: assets/css/sidebar-bigcard.css
   Loads only when sidebar scope + widget active
====================================================== */

/* Big card */
.stm-tabs-bigcard{
  border: 2px solid #ff7a00;
  border-radius: 16px;
  background: #fff;
  padding: 14px;
  position: relative;

  display: flex;
  flex-direction: column;
  height: 100%;

  /* compact bottom space */
  padding-bottom: 10px;
}

/* ======================================================
   TOP RIGHT CHIP (now used for STOCK: in/out)
   NOTE: HOT/SALE/NEW chip removed from PHP
====================================================== */
.stm-tabs-chip{
  position: absolute;
  top: 12px;
  right: 12px;
  left: auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 28px;
  padding: 0 10px;
  min-width: 56px;
  border-radius: 999px;

  font-weight: 1000;
  font-size: 12px;
  line-height: 1;
  border: 0;
}

/* Stock chip colors */
.stm-tabs-chip.stm-chip-instock{
  background:#16a34a;
  color:#ffffff;
}
.stm-tabs-chip.stm-chip-outstock{
  background:#ef4444;
  color:#ffffff;
}

/* ======================================================
   Top left badge
====================================================== */
.stm-tabs-badge-top{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: fit-content;
  max-width: max-content;
  white-space: nowrap;

  font-size: 12px;
  font-weight: 1000;
  line-height: 1;

  height: 28px;
  padding: 0 12px;
  margin: 0 0 12px 2px;

  color: #111827;     /* black text */
  background: #ffffff;
  border: 1px solid #ff7a00;
  border-radius: 25px;
}

/* ======================================================
   Image
====================================================== */
.stm-tabs-art{
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 340px;

  background: #ffffff;
  border-radius: 0;
  overflow: hidden;

  /* title 5px below image */
  margin-bottom: 5px;
}

.stm-tabs-art img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* ======================================================
   Title
====================================================== */
.stm-tabs-bigtitle{
  display: block;
  margin: 0 0 6px;
  padding: 0;

  color: #0a58ca;
  text-decoration: none;
  font-weight: 1000;
  line-height: 1.25;
}

.stm-tabs-bigtitle:hover{
  color: #063a8a;
  text-decoration: underline;
}

/* ======================================================
   Price
   (gap reduced: was 16 -> now 8)
====================================================== */
.stm-tabs-bigprice{
  margin-top: 8px;
  text-align: center;
  font-weight: 1000;
  font-size: 22px;
}

/* ======================================================
   REMOVE old badges area (no label between price & button)
====================================================== */
.stm-tabs-badges,
.stm-tabs-stock,
.stm-tabs-sold{
  display: none !important;
}

/* ======================================================
   CTA
   - price -> button: 8px gap
   - button -> border: 10px gap
====================================================== */
.stm-tabs-cta{
  display: inline-flex;
  width: 100%;
  justify-content: center;
  align-items: center;

  height: 42px;
  border-radius: 12px;
  background: #111827;
  color: #fff;
  text-decoration: none;
  font-weight: 1000;

  margin-top: 8px;
  margin-bottom: 10px;
}

.stm-tabs-cta:hover{
  filter: brightness(.97);
}
