.ram__form {
    position: relative;
    z-index: 1;
    padding-left: 1.25rem;
    padding-right: 1rem;
    text-align: left;
}

.ram__input {
    width: 100%;
}

.ram__input-row {
    position: relative;
    z-index: 1;
    margin-bottom: 0.75rem;
}

.ram__input-row--hidden {
    display: none;
}

.ram__input-row--staggered {
    display: none;
}

.ram__form--show-staggered .ram__input-row--staggered {
    display: block;
}

.ram__input-row--current::before {
    content: '';
    display: block;
    width: 1rem;
    height: 1rem;
    position: absolute;
    top: 50%;
    left: -1.25rem;
    background-image: url('../images/red_bullet.png');
    background-repeat: no-repeat;
    background-size: contain;
}

.ram__input-row--horizontal {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.ram__loading-overlay {
    display: none;
    position: absolute;
    z-index: 5;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.25);
}

.ram__loading-overlay-spinner {
    position: absolute;
    width: 2rem;
    height: 2rem;
    opacity: 60%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ram__label {
    margin-bottom: 0;
}

.ram__button {
    margin: 0;
}

.woocommerce ul.products li.product .ram__shop-loop-item-specs strong {
    display: inline;
}

.ram__shop-loop-item-specs + * {
    margin-top: 1.5rem;
}

.ram__more-details {
    margin-top: 0.75rem;
}

.ram__more-details-content {
    padding: 0.5rem;
    background-color: #eee;
}

.ram__more-details-button {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    min-height: auto;
    margin-bottom: 0.5rem !important;
    padding: 0;
    background-color: transparent;
    color: #888;
    border: none;
    line-height: 1.1;
    font-size: 0.875rem;
}

.ram__more-details .ram__more-details-button {
    margin: 0;
}

.ram__more-details-button::before {
    content: '+';
    display: inline-block;
    width: 1ch;
    margin-right: 0.25rem;
}

.ram__more-details-button[aria-expanded="true"]::before {
    content: '-';
}

.ram__shop-loop-item .quantity.buttons_added {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
}

.ram__shop-loop-item .quantity.spinners-added.buttons_added input.minus,
.ram__shop-loop-item .quantity.spinners-added.buttons_added input.plus {
    width: 36px !important;
    min-width: 36px !important;
    padding: 0 !important;
    border: none !important;
    background: #f5f5f5 !important;
    color: #333 !important;
    font-size: 1.125rem !important;
    font-weight: 600;
    cursor: pointer;
    line-height: 1;
    overflow: visible !important;
}

.ram__shop-loop-item .quantity.spinners-added.buttons_added input.minus:hover,
.ram__shop-loop-item .quantity.spinners-added.buttons_added input.plus:hover {
    background: #e0e0e0 !important;
}

.ram__shop-loop-item .quantity.buttons_added .qty {
    width: 48px !important;
    min-width: 48px !important;
    text-align: center;
    border: none !important;
    border-left: 1px solid #ccc !important;
    border-right: 1px solid #ccc !important;
    -moz-appearance: textfield;
    margin: 0;
    padding: 6px 0;
}

.ram__shop-loop-item .quantity.buttons_added .qty::-webkit-outer-spin-button,
.ram__shop-loop-item .quantity.buttons_added .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
