/* =========================================================
   SmartMonitor — LANDSCAPE layout styles
   Minimal compatible stylesheet for current templates/classes
   ========================================================= */

/* scrollbars */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 10px; }

.bg-theme-card { background-color: var(--card-bg); border-radius: var(--border-radius); }
.border-l-accent { border-left: 4px solid var(--accent-color); }
.border-l-transparent { border-left: 4px solid transparent; }
.text-theme-secondary { color: var(--text-secondary); }

/* Media background (saver) */
.media-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  opacity: 0.6;
  z-index: 0;
}

/* old price */
.price-old {
  color: var(--old-price-color, #94a3b8);
  font-size: var(--old-price-size, 0.78rem);
  text-decoration: line-through;
  text-align: right;
  opacity: 0.8;
}

/* price fraction (main total) */
.price-fraction {
  font-size: 0.55em;
  vertical-align: super;
  margin-left: 1px;
  opacity: 0.85;
}

/* =========================
   TICKER
   ========================= */
@keyframes ticker {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.ticker-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: #1e293b;
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 100;
  color: var(--ticker-text);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

.ticker-content {
  display: inline-block;
  padding-left: 100%;
  animation: ticker 20s linear infinite;
}

.ticker-static {
  animation: none !important;
  padding-left: 20px !important;
  white-space: normal;
  display: block;
}

/* =========================
   BADGES SHAPES
   ========================= */
.shape-rounded { border-radius: 4px; }
.shape-pill { border-radius: 9999px; }
.shape-square { border-radius: 0px; }
.shape-tag {
  border-radius: 2px;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 8px 100%, 0 50%);
  padding-left: 12px !important;
}
/* =========================================================
   PRICE LIST LAYOUT STYLES
   ========================================================= */

   .portrait-price-head {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(0,0,0,0.10);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #111;
  }
  
  .portrait-price-title {
    font-weight: 800;
    letter-spacing: 0.3px;
    color: #111;
  }
  
  .portrait-price-body {
    flex: 1;
    overflow: hidden;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  
  .price-grid {
    display: grid;
    grid-template-columns: repeat(var(--price-columns, 3), minmax(0, 1fr));
    gap: var(--price-col-gap, 1px);
    align-items: start;
    min-height: 0;
  }
  
  .price-grid--embedded {
    flex: 1;
    min-height: 0;
    padding: 10px 12px;
  }
  
  .price-col {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255,255,255,0.96);
    min-width: 0;
  }
  
  .price-col-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 12px;
    padding: 8px 10px;
    background: rgba(0,0,0,0.04);
    font-weight: 800;
    font-size: 12px;
    color: #111;
  }
  
  .price-col-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  
  .price-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 12px;
    align-items: baseline;
    padding: 7px 10px;
    border-top: 1px solid rgba(0,0,0,0.06);
    font-size: 12px;
    color: #111;
  }
  
  .price-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #111;
  }
  
  .price-p {
    min-width: 0;
    width: max-content;
    justify-self: end;
    text-align: right;
    white-space: nowrap;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #111;
  }
  
  .price-page-label {
    padding: 8px 2px 0;
    text-align: right;
    font-size: 11px;
    font-weight: 700;
    color: rgba(0,0,0,0.55);
  }
  
  .price-page-label--embedded {
    padding: 0;
    font-size: 10px;
  }
  
  .price-embedded-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(0,0,0,0.10);
    background: #fff;
    color: #111;
  }