/* Multi-Option Product — purchase module. RTL-first. */
.gmop {
    border: 2px solid rgba(35, 25, 55, .55);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    max-width: 820px;
    margin: 0 auto;
    padding: 18px 18px 22px;
    box-sizing: border-box;
}

/* Title */
.gmop__title {
    margin: 0 0 14px;
    text-align: right;
    font-weight: 900;
    font-size: 34px;
    color: #3a2a44;
}

/* Label */
.gmop__label {
    display: block;
    margin: 0 0 8px;
    font-weight: 800;
    text-align: right;
    font-size: 14px;
    color: #3a2a44;
}

/* Dropdown */
.gmop__select {
    width: 100%;
    height: 56px;
    border-radius: 12px;
    border: 1px solid rgba(10, 70, 80, .6);
    padding: 0 14px;
    font-weight: 800;
    font-size: 16px;
    background: #fff;
    color: #3a2a44;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%230a4650' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
    text-align: right;
}

/* Price + Qty row */
.gmop__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 16px 0 18px;
    gap: 14px;
    flex-direction: row-reverse;
}

/* Price */
.gmop__price {
    font-size: 30px;
    font-weight: 900;
    color: #2b3b45;
    direction: rtl;
}

/* Qty spinner */
.gmop__qty {
    display: grid;
    grid-template-columns: 48px 48px;
    grid-template-rows: 1fr 1fr;
    align-items: stretch;
    border: 1px solid rgba(10, 70, 80, .6);
    border-radius: 12px;
    overflow: hidden;
    height: 56px;
}

.gmop__qtyInput {
    grid-column: 1;
    grid-row: 1 / -1;
    width: 48px;
    border: 0;
    border-left: 1px solid rgba(10, 70, 80, .3);
    text-align: center;
    font-weight: 900;
    font-size: 18px;
    color: #2b3b45;
    background: #fff;
    -moz-appearance: textfield;
}

.gmop__qtyInput::-webkit-outer-spin-button,
.gmop__qtyInput::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.gmop__qtyBtn {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: #fff;
    color: #0a4650;
    cursor: pointer;
    padding: 0;
    transition: background .15s ease;
}

.gmop__qtyBtn:hover {
    background: #f0f0f0;
}

.gmop__qtyBtn--up {
    grid-row: 1;
    border-bottom: 1px solid rgba(10, 70, 80, .15);
}

.gmop__qtyBtn--down {
    grid-row: 2;
}

/* Add to cart button */
.gmop__btn {
    width: 100%;
    height: 64px;
    border-radius: 12px;
    background: #f5c86a;
    color: #0b4f60;
    border: 0;
    font-weight: 900;
    font-size: 20px;
    cursor: pointer;
    transition: background .2s ease, transform .15s ease;
}

.gmop__btn:hover {
    background: #f0be52;
    transform: translateY(-1px);
}

.gmop__btn:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
}

/* Editor notice */
.gmop__notice {
    padding: 16px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    text-align: center;
    color: #664d03;
    font-size: 14px;
}

/* Desktop */
@media (min-width: 768px) {
    .gmop {
        padding: 22px 26px 26px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .gmop {
        max-width: 360px;
    }

    .gmop__title {
        text-align: center;
        font-size: 28px;
    }

    .gmop__label {
        text-align: center;
    }

    .gmop__row {
        flex-direction: column;
        align-items: center;
    }

    .gmop__btn {
        height: 56px;
        font-size: 18px;
    }
}
