/* ===== Silver Shop - Product Page Styles ===== */

/* Dynamic price display */
.silver-dynamic-price {
    display: block;
    margin-bottom: 10px;
}

.silver-price-amount {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
}

.silver-price-unit {
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    margin-right: 4px;
}

.silver-price-error {
    color: #cc0000;
    font-size: 14px;
}

/* ===== Tier Pricing Table ===== */
.silver-tier-table-wrapper {
    margin: 16px 0;
    max-width: 400px;
}

.silver-tier-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 10px;
}

.silver-tier-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    margin-bottom: 5px;
}

.silver-tier-table thead {
    background: #000000;
    color: #ffffff;
}

.silver-tier-table thead th {
    padding: 10px 14px;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
}

.silver-tier-table tbody td {
    padding: 10px 14px;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid #e0e0e0;
}

.silver-tier-quantity {
    font-weight: 600;
    color: #333333;
}

.silver-tier-price {
    font-weight: 700;
    color: #000000;
}

/* Active tier highlight */
.silver-tier-row.active-tier {
    background: #f5f5f5;
}

.silver-tier-row.active-tier .silver-tier-quantity,
.silver-tier-row.active-tier .silver-tier-price {
    color: #000000;
}

.silver-tier-row.active-tier .silver-tier-quantity::before {
    content: '◄ ';
    font-size: 10px;
}

/* ===== VAT Notice (inside tier table) ===== */
.silver-vat-notice {
    display: block;
    font-size: 11px;
    color: #999999;
    margin-top: 2px;
    text-align: center;
}

/* ===== Countdown Timer ===== */
.silver-countdown-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

.silver-countdown-wrapper .countdown-circle {
    transform: rotate(-90deg);
}

.silver-countdown-wrapper .countdown-bg {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 2;
}

.silver-countdown-progress {
    fill: none;
    stroke: #B8B8B8;
    stroke-width: 2;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s linear;
}

.silver-countdown-text {
    font-size: 11px;
    font-weight: 400;
    color: #999999;
}

.silver-countdown-num {
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

/* ===== Cart Price Lock Indicator ===== */
.silver-lock-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #666666;
    margin-top: 4px;
}

.silver-lock-indicator.locked {
    color: #2e7d32;
}

.silver-lock-indicator.expired {
    color: #888888;
}

/* ===== Category / Archive Page ===== */
.silver-archive-price {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
}

.silver-archive-price .silver-from-label {
    font-size: 12px;
    font-weight: 400;
    color: #666666;
}

/* ===== Cart Tier Info ===== */
.silver-cart-tier-info {
    margin: 20px 0;
    padding: 16px;
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
}

.silver-cart-tier-info h4 {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 600;
}

.silver-cart-tier-table {
    width: 100%;
    max-width: 400px;
    border-collapse: collapse;
}

.silver-cart-tier-table th,
.silver-cart-tier-table td {
    padding: 8px 12px;
    text-align: center;
    font-size: 13px;
    border-bottom: 1px solid #e0e0e0;
}

.silver-cart-tier-table thead {
    background: #333333;
    color: #ffffff;
}

.silver-cart-tier-table .active-tier {
    background: #e8f5e9;
    font-weight: 700;
}

.silver-cart-quantity-note {
    margin-top: 8px;
    font-size: 12px;
    color: #666666;
}

/* ===== Payment Notices ===== */
.silver-payment-notices {
    margin: 16px 0;
    padding: 12px 16px;
    background: #fff3e0;
    border: 1px solid #ffcc02;
    border-right: 4px solid #ff9800;
}

.silver-payment-notice {
    margin: 4px 0;
    font-size: 13px;
    color: #333333;
}

/* ===== Responsive ===== */
@media screen and (max-width: 768px) {
    .silver-price-amount {
        font-size: 22px;
    }

    .silver-tier-table-wrapper {
        max-width: 100%;
    }

    .silver-tier-table thead th,
    .silver-tier-table tbody td {
        padding: 8px 10px;
        font-size: 12px;
    }
}
