﻿.sterling-content {
    height: calc(95vh - 100px) !important;
     overflow-x: hidden; 
     overflow-y: auto; 
}
.sterling-content-small {
    height: calc(55vh - 100px) !important;
     overflow-x: hidden; 
     overflow-y: auto; 
}

.pieces-wrapper {
    display: flex;
    flex-wrap: nowrap; /* NEVER wrap on mobile */
}

.small-input {
    width: 120px; /* better visual balance */
    height: 38px; /* matches button height */
    font-size: 14px;
    padding: 6px 10px;
}

.small-go-btn {
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
    white-space: nowrap;
}

#aboutThisGuide {
    padding-bottom: 30px;
}

.item-row-grid {
    display: grid;
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto;
    gap: 6px 12px;
    align-items: start;
    border: 1px solid #e0e0e0;
    padding: 10px;
    margin-bottom: 14px;
    border-radius: 4px;
}

.item-qty {
    grid-row: 1 / span 2; /* 👈 spans text + image */
    width: 58px;
    height: 38px;
    text-align: center;
    font-size: 14px;
    align-self: center;

    /* NEW — heavier, visible outline */
    border: 2px solid #0d6efd; /* Bootstrap primary blue */
    border-radius: 6px;
    outline: none;
}

    .item-qty:focus {
        border-color: #0b5ed7; /* darker blue when active */
        box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
    }

.item-text {
    font-size: 14px;
    font-weight: 600;
}

.silver-item-image img {
    width: 120px;
    height: auto;
}

/* bottomsheet footer portion START */
.bottom-sheet-footer {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 15px;
    display: flex;
    justify-content: center; /* Default center for single buttons */
    gap: 15px;
    border-top: 1px solid #eee;
    z-index: 100;
    margin: 0 auto;
}

    /* For dual buttons, verride the spacing to spread them out */
    .bottom-sheet-footer.dual-buttons {
        justify-content: space-between;
    }
.btn-footer-fixed {
    /* These properties force the buttons to work inside the flex footer */
    flex: 1;
    min-width: 0; /* Allows buttons to shrink to fit mobile */
    margin: 0 !important;
    white-space: nowrap;
}
/* Desktop sizing: constrain button width */
@media (min-width: 600px) {
    /* Force the buttons to be centered as a group */
    .bottom-sheet-footer.dual-buttons {
        justify-content: center;
    }

    .btn-footer-fixed {
        flex: 0 1 150px; /* Constrains width */
        max-width: 150px;
    }
}
/* bottomsheet footer portion END */

@media only screen and (max-width: 479px) {
    .wanted-img {
        width: 90%;
    }
}