@font-face {
  font-family: 'wpsm-icons';
  src: url('../font/wpsm-icons.eot?-jgkfsj');
  src: url('../font/wpsm-icons.eot?#iefix-jgkfsj') format('embedded-opentype'),
       url('../font/wpsm-icons.woff?-jgkfsj') format('woff'),
       url('../font/wpsm-icons.ttf?-jgkfsj') format('truetype'),
       url('../font/wpsm-icons.svg?-jgkfsj#wpsm-icons') format('svg');
  font-weight: normal;
  font-style: normal;
}
.wpsm-comptable i.wpsm-table-icon {
  font-family: 'wpsm-icons'; speak: none; font-style: normal;
  font-weight: normal; font-variant: normal; text-transform: none;
  line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.wpsm-icon-heart:before  { content: "\e601"; color: #cc0000;  font-size: 22px; }
.wpsm-icon-star:before   { content: "\e602"; color: #FFBF00;  font-size: 22px; }
.wpsm-icon-star-empty:before { content: "\e607"; color: #FFBF00; font-size: 22px; }
.wpsm-icon-lock:before   { content: "\e600"; font-size: 18px; }
.wpsm-icon-tick:before   { content: "\e603"; color: #27ae60;  font-size: 22px; }
.wpsm-icon-cross:before  { content: "\e604"; color: #cc0000;  font-size: 22px; }
.wpsm-icon-info:before   { content: "\e605"; color: #13B3E3;  font-size: 16px; }
.wpsm-icon-warning:before { content: "\e606"; color: #FF6A00; font-size: 18px; }

/* ── Wrapper ── */
.wpsm-comptable-wrap { margin: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ── Base table ── */
.wpsm-comptable {
  border-collapse: collapse; margin: 0; width: 100%;
  max-width: 100%; border: none;
  font-family: 'Open Sans', sans-serif; font-size: 13px;
}
.wpsm-comptable th,
.wpsm-comptable td { padding: 11px 14px; box-sizing: border-box; vertical-align: middle; }
.wpsm-comptable td {
  background: #fff; border-bottom: 1px solid #f0f0f0;
  color: #222; position: relative;
}
.wpsm-comptable td:first-child { border-left: none; }
.wpsm-comptable tr:nth-child(even) td { background: #fafafa; }
.wpsm-comptable tr:hover td { background: #fff5f5 !important; }
.wpsm-comptable td ul, .wpsm-comptable td ul li { margin: 0; list-style: disc inside none; }
.wpsm-comptable td img { max-width: 250px; max-height: 250px; padding: 10px; }
.wpsm-comptable td .wpsm-button { margin: 6px 0; white-space: nowrap; }
.wpsm-comptable .subheader td { font-weight: 700; background: #f5f5f5; }
.hover-col1 tr td:first-child { background-color: #f8f8f8; min-width: 120px; text-align: left; }

/* ── Header row — RS dark ── */
.wpsm-thead-default th,
.wpsm-thead-black th,
.wpsm-thead-yellow th,
.wpsm-thead-blue th,
.wpsm-thead-red th,
.wpsm-thead-green th,
.wpsm-thead-orange th,
.wpsm-thead-purple th {
  background-color: #1a1a1a !important;
  color: #ffffff !important;
  font-family: 'Oswald', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border: none !important;
  white-space: nowrap;
}

/* ── Price column (5th td) ── */
.wpsm-comptable td:nth-child(5) strong {
  color: #e8152a;
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
}

/* ── RS Buy button inside table ── */
.wpsm-comptable a.rs-buy-btn,
.wpsm-comptable .rs-buy-btn {
  display: inline-block !important;
  background: #e8152a !important;
  color: #fff !important;
  padding: 7px 16px !important;
  border-radius: 4px !important;
  font-family: 'Oswald', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: background 0.15s !important;
  border: none !important;
  cursor: pointer !important;
}
.wpsm-comptable a.rs-buy-btn:hover,
.wpsm-comptable .rs-buy-btn:hover {
  background: #b5101f !important;
  text-decoration: none !important;
  color: #fff !important;
}

/* ── Subheader ── */
.wpsm-comptable .subheader td:first-child,
.hover-col1 .subheader td:first-child { background-color: #f0f0f0; }

/* ── Stack / responsive ── */
.stacktable { width: 100%; }
.wpsm-comptable th.st-head-row {
  background-color: #e8152a !important;
  color: #fff !important;
  border-left-width: 1px;
  font-weight: 700;
  font-family: 'Oswald', sans-serif !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  position: relative;
}
.wpsm-comptable .st-key { width: 48%; text-align: right !important; padding-right: 2%; font-weight: 600; color: #555; }
.wpsm-comptable .st-key.wpsm-spec-heading { text-align: left !important; background-color: #f4f4f4; }
.wpsm-comptable .st-val { width: 48%; padding-left: 2%; text-align: left !important; }
.wpsm-comptable .subheader th.st-head-row { font-weight: 700; background-color: #c0101e !important; }
.wpsm-comptable th.st-head-row-main { display: none; }

/* ── Bar elements ── */
.wpsm-comptable .wpsm-bar,
.wpsm-comptable .wpsm-bar-title span,
.wpsm-comptable .wpsm-bar-bar,
.wpsm-comptable .wpsm-bar-percent { height: 20px; line-height: 20px; }
.wpsm-comptable .wpsm-bar { margin-bottom: 10px; }
.wpsm-comptable .wpsm-bar-title span { padding: 0 12px; }

/* ── Responsive ── */
.stacktable.large-only { display: table; }
.stacktable.small-only { display: none; }

@media (max-width: 800px) {
  .stacktable.large-only { display: none; }
  .stacktable.small-only { display: table; }
  .hover-col1 tr:hover { background-color: #fff5f5; }
  .wpsm-comptable-wrap { border-radius: 0; }
}

/* ── RS section wrapper ── */
.rs-accounts-table-section .wpsm-comptable-wrap {
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  overflow: hidden;
}
