/* Matichon Gold Price — Frame overlay layout */

.mt-gold-price-container {
    width: 100%;
    font-family: 'Sarabun', 'Noto Sans Thai', -apple-system, sans-serif;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mt-gold-price {
    position: relative;
    width: 100%;
    max-width: 350px;
    font-family: 'Sarabun', 'Noto Sans Thai', -apple-system, sans-serif;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Frame background image */
.mt-gold-price__frame {
    display: block;
    width: 100%;
    height: auto;
}

/* Date / time overlay */
.mt-gold-price__datetime {
    position: absolute;
    top: 25.1%;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: clamp(10px, 3.6vw, 14px);
    color: #78350f;
    letter-spacing: 0.02em;
    font-family: 'Noto Sans Thai', -apple-system, sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
}

/* Shared price style */
.mt-gold-price__price {
    position: absolute;
    text-align: center;
    font-weight: 900;
    color: #4a3810;
    font-size: clamp(20px, 8vw, 32px);
    line-height: 1;
    width: 40%;
}

/* Bar (ทองแท่ง) prices */
.mt-gold-price__bar-sell {
    top: 51.5%;
    left: 9%;
}

.mt-gold-price__bar-buy {
    top: 51.5%;
    right: 9%;
}

/* Ornament (ทองรูปพรรณ) prices */
.mt-gold-price__orn-sell {
    top: 83%;
    left: 9%;
}

.mt-gold-price__orn-buy {
    top: 83%;
    right: 9%;
}

/* Empty state */
.mt-gold-price--empty {
    max-width: 350px;
    padding: 24px 16px;
    text-align: center;
    color: #9ca3af;
    font-size: 13px;
    background: #faf5e4;
    border: 1px solid #e2c45a;
    border-radius: 4px;
}